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, lastValueFields inherited from interface de.grogra.pf.ui.Widget
WIDGET_VALUE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckForChange(Object value) Returns a name which can be used in the graphical user interface to represent this command.voidPerforms the actions of this command.voidprotected voidsetComponentValue(Object value) voidsetEnabled(boolean enabled) voidupdateValue(Object value) Methods inherited from class de.grogra.pf.ui.util.WidgetBase
setConversionMethods 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:
checkForChangein classWidgetBase
-
setButton
-
setComponentValue
- Specified by:
setComponentValuein classWidgetBase
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfaceWidget
-
updateValue
- Specified by:
updateValuein interfaceWidget
-
getComponent
- Specified by:
getComponentin interfaceComponentWrapper
-
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.
-