|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MutableTreeNode | |
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 MutableTreeNode in com.sun.java.swing |
Classes in com.sun.java.swing that implement MutableTreeNode | |
static | JTree.DynamicUtilTreeNode
DynamicUtilTreeNode can wrap vectors/hashtables/arrays/strings and create the appropriate children tree nodes as necessary. |
Uses of MutableTreeNode in com.sun.java.swing.tree |
Classes in com.sun.java.swing.tree that implement MutableTreeNode | |
DefaultMutableTreeNode
A DefaultMutableTreeNode is a general-purpose node in a tree data
structure. |
Fields in com.sun.java.swing.tree declared as MutableTreeNode | |
protected MutableTreeNode | DefaultMutableTreeNode.parent
this node's parent, or null if this node has no parent |
Methods in com.sun.java.swing.tree with parameters of type MutableTreeNode | |
void | DefaultMutableTreeNode.insert(MutableTreeNode newChild,
int childIndex)
Removes newChild from its present parent (if it has a
parent), sets the child's parent to this node, and then adds the child
to this node's child array at index childIndex .
|
void | DefaultMutableTreeNode.setParent(MutableTreeNode newParent)
Sets this node's parent to newParent but does not
change the parent's child array. |
void | DefaultMutableTreeNode.remove(MutableTreeNode aChild)
Removes aChild from this node's child array, giving it a
null parent. |
void | DefaultMutableTreeNode.add(MutableTreeNode newChild)
Removes newChild from its parent and makes it a child of
this node by adding it to the end of this node's child array. |
void | DefaultTreeModel.insertNodeInto(MutableTreeNode newChild,
MutableTreeNode parent,
int index)
Invoked this to insert newChild at location index in parents children. |
void | DefaultTreeModel.removeNodeFromParent(MutableTreeNode node)
Message this to remove node from its parent. |
void | MutableTreeNode.insert(MutableTreeNode child,
int index)
Adds child to the receiver at index .
|
void | MutableTreeNode.remove(MutableTreeNode node)
Removes node from the receiver. |
void | MutableTreeNode.setParent(MutableTreeNode newParent)
Sets the parent of the receiver to newParent . |
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |