EchoPoint API - 3.0.0b5
App Webcontainer

Uses of Interface
echopoint.tree.TreeNode

Packages that use TreeNode
echopoint.tree Default tree model and nodes based on the original EchoPointNG implementation. 
 

Uses of TreeNode in echopoint.tree
 

Subinterfaces of TreeNode in echopoint.tree
 interface MutableTreeNode<M>
          Defines the requirements for a tree node object that can change -- by adding or removing child nodes, or by changing the contents of a user object stored in the node.
 

Classes in echopoint.tree that implement TreeNode
 class DefaultMutableTreeNode<M>
          A DefaultMutableTreeNode is a general-purpose node in a tree data structure.
 

Fields in echopoint.tree declared as TreeNode
protected  TreeNode PostorderEnumeration.root
           
protected  TreeNode DefaultTreeModel.root
          Root of the tree.
 

Fields in echopoint.tree with type parameters of type TreeNode
protected  Enumeration<TreeNode> PostorderEnumeration.children
           
protected  Vector<TreeNode> DefaultMutableTreeNode.children
          Array of children, may be null if this node has no children
static Enumeration<TreeNode> DefaultMutableTreeNode.EMPTY_ENUMERATION
          An enumeration that is always empty.
protected  Queue<Enumeration<TreeNode>> BreadthFirstEnumeration.queue
           
protected  Stack<Enumeration<TreeNode>> PreorderEnumeration.stack
           
protected  Stack<TreeNode> PathBetweenNodesEnumeration.stack
           
protected  Enumeration<TreeNode> PostorderEnumeration.subtree
           
 

Methods in echopoint.tree that return TreeNode
 TreeNode DefaultMutableTreeNode.getChildAfter(TreeNode aChild)
          Returns the child in this node's child array that immediately follows aChild, which must be a child of this node.
 TreeNode TreeNode.getChildAt(int childIndex)
          Returns the child TreeNode at index childIndex.
 TreeNode DefaultMutableTreeNode.getChildAt(int index)
          Returns the child at the specified index in this node's child array.
 TreeNode DefaultMutableTreeNode.getChildBefore(TreeNode aChild)
          Returns the child in this node's child array that immediately precedes aChild, which must be a child of this node.
 TreeNode DefaultMutableTreeNode.getFirstChild()
          Returns this node's first child.
 TreeNode DefaultMutableTreeNode.getLastChild()
          Returns this node's last child.
 TreeNode TreeNode.getParent()
           
 TreeNode DefaultMutableTreeNode.getParent()
          Returns this node's parent or null if this node has no parent.
 TreeNode[] DefaultMutableTreeNode.getPath()
          Returns the path from the root, to get to this node.
protected  TreeNode[] DefaultMutableTreeNode.getPathToRoot(TreeNode aNode, int depth)
          Builds the parents of node up to and including the root node, where the original node is the last element in the returned array.
 TreeNode DefaultMutableTreeNode.getRoot()
          Returns the root of the tree that contains this node.
 TreeNode DefaultMutableTreeNode.getSharedAncestor(DefaultMutableTreeNode aNode)
          Returns the nearest common ancestor to this node and aNode.
 TreeNode PreorderEnumeration.nextElement()
          
 TreeNode PostorderEnumeration.nextElement()
          
 TreeNode PathBetweenNodesEnumeration.nextElement()
          
 TreeNode BreadthFirstEnumeration.nextElement()
          
 

Methods in echopoint.tree that return types with arguments of type TreeNode
 Enumeration<TreeNode> DefaultMutableTreeNode.breadthFirstEnumeration()
          Creates and returns an enumeration that traverses the subtree rooted at this node in breadth-first order.
 Enumeration<TreeNode> TreeNode.children()
           
 Enumeration<TreeNode> DefaultMutableTreeNode.children()
          Creates and returns a forward-order enumeration of this node's children.
 Enumeration<TreeNode> DefaultMutableTreeNode.depthFirstEnumeration()
          Creates and returns an enumeration that traverses the subtree rooted at this node in depth-first order.
 Enumeration<TreeNode> DefaultMutableTreeNode.pathFromAncestorEnumeration(TreeNode ancestor)
          Creates and returns an enumeration that follows the path from ancestor to this node.
 Enumeration<TreeNode> DefaultMutableTreeNode.postorderEnumeration()
          Creates and returns an enumeration that traverses the subtree rooted at this node in postorder.
 Enumeration<TreeNode> DefaultMutableTreeNode.preorderEnumeration()
          Creates and returns an enumeration that traverses the subtree rooted at this node in preorder.
 

Methods in echopoint.tree with parameters of type TreeNode
 TreeNode DefaultMutableTreeNode.getChildAfter(TreeNode aChild)
          Returns the child in this node's child array that immediately follows aChild, which must be a child of this node.
 TreeNode DefaultMutableTreeNode.getChildBefore(TreeNode aChild)
          Returns the child in this node's child array that immediately precedes aChild, which must be a child of this node.
 int TreeNode.getIndex(TreeNode node)
          Returns the index of node in the receivers children.
 int DefaultMutableTreeNode.getIndex(TreeNode aChild)
          Returns the index of the specified child in this node's child array.
protected  TreeNode[] DefaultMutableTreeNode.getPathToRoot(TreeNode aNode, int depth)
          Builds the parents of node up to and including the root node, where the original node is the last element in the returned array.
 boolean DefaultMutableTreeNode.isNodeAncestor(TreeNode anotherNode)
          Returns true if anotherNode is an ancestor of this node -- if it is this node, this node's parent, or an ancestor of this node's parent.
 boolean DefaultMutableTreeNode.isNodeChild(TreeNode aNode)
          Returns true if aNode is a child of this node.
 boolean DefaultMutableTreeNode.isNodeSibling(TreeNode anotherNode)
          Returns true if anotherNode is a sibling of (has the same parent as) this node.
 Enumeration<TreeNode> DefaultMutableTreeNode.pathFromAncestorEnumeration(TreeNode ancestor)
          Creates and returns an enumeration that follows the path from ancestor to this node.
 

Constructors in echopoint.tree with parameters of type TreeNode
BreadthFirstEnumeration(TreeNode rootNode)
          Create a new enumeration for the specified tree node.
DefaultTreeModel(TreeNode root)
          Creates a tree with the specified root node.
PathBetweenNodesEnumeration(TreeNode ancestor, TreeNode descendant)
          Create a new enumeration from the specified ancestor the destination.
PostorderEnumeration(TreeNode rootNode)
          Create a new enumeration for the specified node.
PreorderEnumeration(TreeNode rootNode)
          Create a new enumeration for the specified node.
 


EchoPoint API - 3.0.0b5
App Webcontainer