java.lang.Object
javax.swing.AbstractAction
com.marginallyclever.ro3.apps.actions.AddNode<T>
Type Parameters:
T - the type of Node to add
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class AddNode<T extends Node> extends AbstractAction
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:
  • Constructor Details

    • AddNode

      public AddNode()
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Invoked when an action occurs.
      Parameters:
      e - the event to be processed