|
.useful Home Page | |||||||||
PREV NEXT | FRAMES NO FRAMES |
java.util.Arrays
class.newChild
from its parent and makes it a child of
this node by adding it to this node's child array in a sorted order.
Comparator
by which the list is ordered.
newChild
from its present parent (if it has a
parent), sets the child's parent to this node, adds the child to this
node's child array at index childIndex
, fires a
nodesWereInserted
event, and then adds itself as a
TreeModelListener
to newChild
.
MouseAdaptedTree
which displays the
root node -- the tree is created using the specified data model.
MouseAdaptedTree
with the specified
TreeNode
as its root, which displays the root node.
MouseAdaptedTree
with the specified
TreeNode
as its root, which displays the root node and
which decides whether a node is a leaf node in the specified manner.
SortedTreeNode
that has no parent and no
children, but which allows children.
SortedTreeNode
node with no parent, no children,
but which allows children, and initializes it with the specified user
object.
SortedTreeNode
with no parent, no children,
initialized with the specified user object, and that allows children only
if specified.
SortedTreeNode
node with no parent, no children,
but which allows children, initializes it with the specified user object,
and sets the comparator by which its children are ordered.
SortedTreeNode
with no parent, no children,
initialized with the specified user object, that allows children only if
specified, and sets the comparator by which its children are ordered.
newComparator
, and
re-sorts children.
root
.
userObject
.
|
© 2004 .useful community | |||||||||
PREV NEXT | FRAMES NO FRAMES |