Uses of Interface
javax.swing.tree.MutableTreeNode
Packages that use MutableTreeNode
包
描述
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interfaces for dealing with
javax.swing.JTree
.-
Uses of MutableTreeNode in javax.swing
Classes in javax.swing that implement MutableTreeNode修饰符和类Class描述static class
DynamicUtilTreeNode
can wrap vectors/hashtables/arrays/strings and create the appropriate children tree nodes as necessary. -
Uses of MutableTreeNode in javax.swing.tree
Classes in javax.swing.tree that implement MutableTreeNode修饰符和类Class描述class
ADefaultMutableTreeNode
is a general-purpose node in a tree data structure.Fields in javax.swing.tree declared as MutableTreeNode修饰符和类Field描述protected MutableTreeNode
DefaultMutableTreeNode.parent
this node's parent, or null if this node has no parentMethods in javax.swing.tree with parameters of type MutableTreeNode修饰符和类方法描述void
DefaultMutableTreeNode.add
(MutableTreeNode newChild) RemovesnewChild
from its parent and makes it a child of this node by adding it to the end of this node's child array.void
DefaultMutableTreeNode.insert
(MutableTreeNode newChild, int childIndex) RemovesnewChild
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 indexchildIndex
.void
MutableTreeNode.insert
(MutableTreeNode child, int index) Addschild
to the receiver atindex
.void
DefaultTreeModel.insertNodeInto
(MutableTreeNode newChild, MutableTreeNode parent, int index) Invoked this to insert newChild at location index in parents children.void
DefaultMutableTreeNode.remove
(MutableTreeNode aChild) RemovesaChild
from this node's child array, giving it a null parent.void
MutableTreeNode.remove
(MutableTreeNode node) Removesnode
from the receiver.void
DefaultTreeModel.removeNodeFromParent
(MutableTreeNode node) Message this to remove node from its parent.void
DefaultMutableTreeNode.setParent
(MutableTreeNode newParent) Sets this node's parent tonewParent
but does not change the parent's child array.void
MutableTreeNode.setParent
(MutableTreeNode newParent) Sets the parent of the receiver tonewParent
.