javax.swing.tree.MutableTreeNode |
![]() |
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.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds
child to the receiver at index . | |||||||||||
Removes the child at
index from the receiver. | |||||||||||
Removes
node from the receiver. | |||||||||||
Removes the receiver from its parent.
| |||||||||||
Sets the parent of the receiver to
newParent . | |||||||||||
Resets the user object of the receiver to
object . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds child
to the receiver at index
.
child
will be messaged with setParent
.
Removes the child at index
from the receiver.
Removes node
from the receiver. setParent
will be messaged on node
.
Removes the receiver from its parent.
Sets the parent of the receiver to newParent
.
Resets the user object of the receiver to object
.