Java Platform 1.2
Beta 4

Uses of Class
com.sun.java.swing.tree.DefaultMutableTreeNode

Packages that use DefaultMutableTreeNode
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.tree Provides classes and interfaces for dealing with java.awt.swing. 
 

Uses of DefaultMutableTreeNode in com.sun.java.swing
 

Subclasses of DefaultMutableTreeNode in com.sun.java.swing
static  JTree.DynamicUtilTreeNode
          DynamicUtilTreeNode can wrap vectors/hashtables/arrays/strings and create the appropriate children tree nodes as necessary.
 

Methods in com.sun.java.swing with parameters of type DefaultMutableTreeNode
static void JTree.DynamicUtilTreeNode.createChildren(DefaultMutableTreeNode parent, Object children)
          Adds to parent all the children in children.
 

Uses of DefaultMutableTreeNode in com.sun.java.swing.tree
 

Methods in com.sun.java.swing.tree that return DefaultMutableTreeNode
 DefaultMutableTreeNode DefaultMutableTreeNode.getNextNode()
          Returns the node that follows this node in a preorder traversal of this node's tree.
 DefaultMutableTreeNode DefaultMutableTreeNode.getPreviousNode()
          Returns the node that precedes this node in a preorder traversal of this node's tree.
 DefaultMutableTreeNode DefaultMutableTreeNode.getNextSibling()
          Returns the next sibling of this node in the parent's children array.
 DefaultMutableTreeNode DefaultMutableTreeNode.getPreviousSibling()
          Returns the previous sibling of this node in the parent's children array.
 DefaultMutableTreeNode DefaultMutableTreeNode.getFirstLeaf()
          Finds and returns the first leaf that is a descendant of this node -- either this node or its first child's first leaf.
 DefaultMutableTreeNode DefaultMutableTreeNode.getLastLeaf()
          Finds and returns the last leaf that is a descendant of this node -- either this node or its last child's last leaf.
 DefaultMutableTreeNode DefaultMutableTreeNode.getNextLeaf()
          Returns the leaf after this node or null if this node is the last leaf in the tree.
 DefaultMutableTreeNode DefaultMutableTreeNode.getPreviousLeaf()
          Returns the leaf before this node or null if this node is the first leaf in the tree.
 

Methods in com.sun.java.swing.tree with parameters of type DefaultMutableTreeNode
 boolean DefaultMutableTreeNode.isNodeDescendant(DefaultMutableTreeNode anotherNode)
          Returns true if anotherNode is a descendant of this node -- if it is this node, one of this node's children, or a descendant of one of this node's children.
 TreeNode DefaultMutableTreeNode.getSharedAncestor(DefaultMutableTreeNode aNode)
          Returns the nearest common ancestor to this node and aNode.
 boolean DefaultMutableTreeNode.isNodeRelated(DefaultMutableTreeNode aNode)
          Returns true if and only if aNode is in the same tree as this node.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.