Package VASSAL.configure
Class ConfigureTree.AddAction
java.lang.Object
javax.swing.AbstractAction
VASSAL.configure.ConfigureTree.AddAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Direct Known Subclasses:
ConfigureTree.ImportAction
- Enclosing class:
ConfigureTree
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields 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
ConstructorDescriptionAddAction
(Configurable target, Class<? extends Buildable> newConfig, String name, int index, Configurable duplicate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
doIt
(Configurable child) protected Configurable
getChild()
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
target
-
-
Constructor Details
-
AddAction
public AddAction(Configurable target, Class<? extends Buildable> newConfig, String name, int index, Configurable duplicate)
-
-
Method Details
-
getChild
-
doIt
-
actionPerformed
-