Class AddToTree

    • Constructor Detail

      • AddToTree

        public AddToTree()
    • Method Detail

      • getActionNames

        public Set<String> getActionNames()
        Gets the Set of actions this Command class responds to.
        Specified by:
        getActionNames in interface Command
        Returns:
        the ActionNames value
      • doAction

        public void doAction​(ActionEvent e)
        Adds the specified class to the current node of the tree.
        Specified by:
        doAction in interface Command