java.lang.Object
de.grogra.pf.ui.util.WidgetSupport
de.grogra.pf.ui.util.WidgetBase
de.grogra.pf.ui.util.ButtonWidget
- All Implemented Interfaces:
Command
,ComponentWrapper
,Widget
,Disposable
-
Field Summary
Fields inherited from class de.grogra.pf.ui.util.WidgetBase
conversion, lastValue
Fields inherited from interface de.grogra.pf.ui.Widget
WIDGET_VALUE_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkForChange
(Object value) Returns a name which can be used in the graphical user interface to represent this command.void
Performs the actions of this command.void
protected void
setComponentValue
(Object value) void
setEnabled
(boolean enabled) void
updateValue
(Object value) Methods inherited from class de.grogra.pf.ui.util.WidgetBase
setConversion
Methods inherited from class de.grogra.pf.ui.util.WidgetSupport
addPropertyChangeListener, addVetoableChangeListener, convert, dispose, disposeImpl, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, installListener, removePropertyChangeListener, removeVetoableChangeListener
-
Constructor Details
-
ButtonWidget
-
-
Method Details
-
getProperty
-
checkForChange
- Overrides:
checkForChange
in classWidgetBase
-
setButton
-
setComponentValue
- Specified by:
setComponentValue
in classWidgetBase
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabled
in interfaceWidget
-
updateValue
- Specified by:
updateValue
in interfaceWidget
-
getComponent
- Specified by:
getComponent
in interfaceComponentWrapper
-
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.
-