- getData
Returns the application-specific data of this node.
- getParent
Returns the parent TreeNode of this node.
- add
Adds a child to this node at the end.
- clone
Clones the tree node.Notes: * It is a deep clone, i.e., all descendant are cloned.
* If the impleme
- getChildAt
Returns the child TreeNode at indexchildIndex.
- getChildCount
Returns the number of children TreeNodes this node contains.
- getIndex
Returns the index of node in this node's children. If this node does not contain
node, -1 will be r
- isLeaf
Returns true if this node is a leaf. Notice that not all non-leaf nodes have
children. In file-syste
- remove
Removes the child from this node.
- setModel
Sets the tree model it belongs to. It can be called only if this node is a root.
If a node has a par