Example usage for Java javax.swing.tree MutableTreeNode fields, constructors, methods, implement or subclass
The text is from its open source code.
TreeNode | getChildAt(int childIndex) Returns the child TreeNode at index childIndex . |
int | getChildCount() Returns the number of children TreeNode s the receiver contains. |
int | getIndex(TreeNode node) Returns the index of node in the receivers children. |
TreeNode | getParent() Returns the parent TreeNode of the receiver. |
void | insert(MutableTreeNode child, int index) Adds child to the receiver at index . |
void | remove(int index) Removes the child at index from the receiver. |
void | remove(MutableTreeNode node) Removes node from the receiver. |
void | setParent(MutableTreeNode newParent) Sets the parent of the receiver to newParent . |
String | toString() Returns a string representation of the object. |