Class AddToTree

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      AddToTree()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Set<String> getActionNames() Gets the Set of actions this Command class responds to.
      void doAction(ActionEvent e) Adds the specified class to the current node of the tree.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AddToTree

        AddToTree()
    • Method Detail

      • getActionNames

         Set<String> getActionNames()

        Gets the Set of actions this Command class responds to.

        Returns:

        the ActionNames value

      • doAction

         void doAction(ActionEvent e)

        Adds the specified class to the current node of the tree.