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
-
Method Summary
Modifier and TypeMethodDescriptionReturns a name which can be used in the graphical user interface to represent this command.protected void
installListener
(boolean hasListeners) void
void
Performs the actions of this command.void
setEnabled
(boolean enabled) void
updateValue
(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:
setEnabled
in interfaceWidget
-
updateValue
- Specified by:
updateValue
in interfaceWidget
-
getCurrentValue
-
installListener
protected void installListener(boolean hasListeners) - Overrides:
installListener
in classWidgetSupport
-
getComponent
- Specified by:
getComponent
in interfaceComponentWrapper
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
getCommandName
Description copied from interface:Command
Returns a name which can be used in the graphical user interface to represent this command.- Specified by:
getCommandName
in interfaceCommand
- Returns:
- this commands's name
-
run
Description copied from interface:Command
Performs the actions of this command. This method is invoked by theJobManager
after the command has been submitted to the job manager by one ofexecute
,runAt
, orrunLater
-methods. The argumentsinfo
andcontext
are the arguments which have been provided as arguments to theJobManager
-methods.
-