java.lang.Object
javax.swing.AbstractAction
net.anwiba.commons.swing.action.AbstractCustomizedAction
net.anwiba.commons.swing.action.ConfigurableAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurableActionBuilderbuilder()protected voidexecute(Component componment, ActionEvent event) voidsetEnabled(boolean newValue) Methods inherited from class net.anwiba.commons.swing.action.AbstractCustomizedAction
actionPerformedMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener
-
Constructor Details
-
ConfigurableAction
-
-
Method Details
-
builder
-
setEnabled
public void setEnabled(boolean newValue) - Specified by:
setEnabledin interfaceAction- Overrides:
setEnabledin classAbstractAction
-
execute
- Specified by:
executein classAbstractCustomizedAction
-