Class AddNode<T extends Node>
java.lang.Object
javax.swing.AbstractAction
com.marginallyclever.ro3.apps.actions.AddNode<T>
- Type Parameters:
T
- the type ofNode
to add
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
AddNode
is an AbstractAction
to add a new instance of a Node
to every selected branch of the
tree. It will ask the user which type of Node
to add, then create an
AddNode
command to add the new Node
.- See Also:
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when an action occurs.Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
AddNode
public AddNode()
-
-
Method Details
-
actionPerformed
Invoked when an action occurs.- Parameters:
e
- the event to be processed
-