java.lang.Object
de.grogra.pf.ui.util.WidgetSupport
de.grogra.pf.ui.util.WidgetAdapter
- All Implemented Interfaces:
Command,ComponentWrapper,Widget,Disposable,PropertyChangeListener,EventListener
-
Field Summary
Fields inherited from interface de.grogra.pf.ui.Widget
WIDGET_VALUE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a name which can be used in the graphical user interface to represent this command.protected voidinstallListener(boolean hasListeners) voidvoidPerforms the actions of this command.voidsetEnabled(boolean enabled) voidupdateValue(Object value) Methods inherited from class de.grogra.pf.ui.util.WidgetSupport
addPropertyChangeListener, addVetoableChangeListener, convert, dispose, disposeImpl, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, removePropertyChangeListener, removeVetoableChangeListener
-
Constructor Details
-
WidgetAdapter
-
-
Method Details
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfaceWidget
-
updateValue
- Specified by:
updateValuein interfaceWidget
-
getCurrentValue
-
installListener
protected void installListener(boolean hasListeners) - Overrides:
installListenerin classWidgetSupport
-
getComponent
- Specified by:
getComponentin interfaceComponentWrapper
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
getCommandName
Description copied from interface:CommandReturns a name which can be used in the graphical user interface to represent this command.- Specified by:
getCommandNamein interfaceCommand- Returns:
- this commands's name
-
run
Description copied from interface:CommandPerforms the actions of this command. This method is invoked by theJobManagerafter the command has been submitted to the job manager by one ofexecute,runAt, orrunLater-methods. The argumentsinfoandcontextare the arguments which have been provided as arguments to theJobManager-methods.
-