Uses of Class
dsto.dfc.swing.commands.CommandViewNode

Packages that use CommandViewNode
dsto.dfc.swing.commands Framework for defining and presenting user commands in a UI. 
 

Uses of CommandViewNode in dsto.dfc.swing.commands
 

Methods in dsto.dfc.swing.commands that return CommandViewNode
 CommandViewNode CommandViewNode.findChild(String childName)
          Find a child with a matching logical name.
 CommandViewNode CommandViewNode.findRoot()
          Find the root for this node.
 CommandViewNode CommandViewNode.followNamePath(CommandViewNode node)
          Find the equivalent node in this tree for a node in another tree.
 CommandViewNode CommandViewNode.getChild(int index)
          Get the child at a given index.
 CommandViewNode CommandViewNodeEvent.getNode()
           
 CommandViewNode CommandViewNode.getParent()
          The node's parent.
 CommandViewNode CommandViewNodeEvent.getSourceNode()
           
 CommandViewNode CommandView.getTreeRoot()
          The root of the merged command tree.
protected  CommandViewNode CommandView.makeVine(String group)
           
protected  CommandViewNode CommandView.makeVine(String group, Command command)
          Make a vine (tree where all nodes have at most one child) from a command.
 CommandViewNode CommandViewNode.mergeChild(CommandViewNode refNode, int majorIndex, int minorIndex)
          Merge a reference subnode as a child of this node.
 CommandViewNode CommandViewNode.remergeMinorIndex(CommandViewNode refNode, int newMinorIndex)
          'Remerge' an already exisiting subnode reference with a new minor index.
 CommandViewNode CommandViewNode.unmergeChild(CommandViewNode refNode)
          Reverse the effect of mergeChild().
 

Methods in dsto.dfc.swing.commands with parameters of type CommandViewNode
protected  void CommandView.activateSubtree(CommandViewNode root, CommandViewNode subRoot)
           
protected  void CommandView.addEntry(Object entry, CommandViewNode rootNode, int index)
           
 CommandViewNode CommandViewNode.followNamePath(CommandViewNode node)
          Find the equivalent node in this tree for a node in another tree.
protected  int CommandView.getMajorIndex(CommandViewNode node)
          Get the index associated with a node of a subtree contained in this view.
static void CommandMenus.makePopupMenu(JPopupMenu menu, CommandView commandView, CommandViewNode node)
           
protected  void CommandView.merge(CommandViewNode parent, CommandViewNode subtreeNode, int majorIndex)
          Merge (mount) a subtree node and all its children onto a node of this tree.
 CommandViewNode CommandViewNode.mergeChild(CommandViewNode refNode, int majorIndex, int minorIndex)
          Merge a reference subnode as a child of this node.
protected  void CommandViewTreeModel.registerListener(CommandViewNode node)
           
protected  void CommandView.remergeMinorIndex(CommandViewNode parent, CommandViewNode subtreeNode)
          Remerge a subtree node and all its children with a changed minor index.
 CommandViewNode CommandViewNode.remergeMinorIndex(CommandViewNode refNode, int newMinorIndex)
          'Remerge' an already exisiting subnode reference with a new minor index.
protected  void CommandView.shiftMajorIndexes(CommandViewNode node, int startIndex, int delta)
          Shift all the major indicies of nodes of a tree by a given amount.
protected  void CommandView.unmerge(CommandViewNode parent, CommandViewNode subtreeNode)
          Reverse the effect of merge ().
 CommandViewNode CommandViewNode.unmergeChild(CommandViewNode refNode)
          Reverse the effect of mergeChild().
protected  void CommandViewTreeModel.unregisterListener(CommandViewNode node)
           
 

Constructors in dsto.dfc.swing.commands with parameters of type CommandViewNode
CommandMenuButton(CommandView commandView, CommandViewNode node)
          Construct the CommandMenuButton given a CommandView tree, and CommandViewNode to start from.
CommandViewNode(CommandViewNode parent, Command command)
          Create a node with a given name and an associated command.
CommandViewNode(CommandViewNode parent, String name)
          Create a node with a given name and no associated command.
CommandViewNodeEvent(CommandViewNode source, Command oldCommand, Command newCommand)
           
CommandViewNodeEvent(CommandViewNode source, CommandViewNode node)
           
CommandViewNodeEvent(CommandViewNode source, CommandViewNode node, int newIndex)
           
CommandViewNodeEvent(CommandViewNode source, CommandViewNode node, int oldIndex, int newIndex)
           
CommandViewTreeModel(CommandViewNode root)
           
 



Copyright © 2008 Commonwealth of Australia