|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.util.swing.action.injection.InjectedCommand com.levigo.util.swing.action.AbstractContextCommand com.levigo.jadice.swing.commands.AbstractPageViewCommand
public abstract class AbstractPageViewCommand
Abstract superclass for commands which are functional just in conjunction
with a PageView
instance. All of them can use the same accessor and
checking methods.
To work properly there must be at least one PageView
instance as
Context
object.
Constructor Summary | |
---|---|
AbstractPageViewCommand()
|
Method Summary | |
---|---|
protected boolean |
canExecute()
Subclasses may override this method to perform argument validation beyond the validation that happens automatically during the injection phase. |
protected PageView |
getPageView()
Returns the page view. |
void |
propertyChange(PropertyChangeEvent evt)
|
void |
setPageView(PageView pageView)
Deprecated. Will be used by injection exclusively. |
Methods inherited from class com.levigo.util.swing.action.AbstractContextCommand |
---|
getContext, propagateContextChange, setContext |
Methods inherited from class com.levigo.util.swing.action.injection.InjectedCommand |
---|
canExecute, execute, execute, getKey, isAvailable, isSelected, isSelected, setKey |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractPageViewCommand()
Method Detail |
---|
protected boolean canExecute()
InjectedCommand
Argument
annotations and the
arguments have been injected.
canExecute
in class InjectedCommand
true
if the command can/may be executed in the current context,
false
otherwise.public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
protected PageView getPageView()
public void setPageView(PageView pageView)
Developers should not invoke this method in any direct way.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2017 levigo holding gmbh. All rights reserved. |