Package net.anwiba.commons.swing.action
Class ConfigurableAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- net.anwiba.commons.swing.action.AbstractCustomizedAction
-
- net.anwiba.commons.swing.action.ConfigurableAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class ConfigurableAction extends AbstractCustomizedAction
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurableAction(IActionConfiguration configuration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurableActionBuilderbuilder()protected voidexecute(java.awt.Component componment, java.awt.event.ActionEvent event)voidsetEnabled(boolean newValue)-
Methods inherited from class net.anwiba.commons.swing.action.AbstractCustomizedAction
actionPerformed
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener
-
-
-
-
Constructor Detail
-
ConfigurableAction
public ConfigurableAction(IActionConfiguration configuration)
-
-
Method Detail
-
builder
public static ConfigurableActionBuilder builder()
-
setEnabled
public void setEnabled(boolean newValue)
- Specified by:
setEnabledin interfacejavax.swing.Action- Overrides:
setEnabledin classjavax.swing.AbstractAction
-
execute
protected void execute(java.awt.Component componment, java.awt.event.ActionEvent event)- Specified by:
executein classAbstractCustomizedAction
-
-