public interface MutableTreeNode extends TreeNode
| Modifier and Type | Method and Description |
|---|---|
void |
insert(MutableTreeNode child)
Add the given child to the children of this node.
|
void |
insert(MutableTreeNode child,
int index)
Add the given child to the children of this node at index.
|
void |
remove(int index)
Remove the child at the given index.
|
void |
remove(MutableTreeNode node)
Remove the given node.
|
void |
removeFromParent()
Remove this node from its parent.
|
void |
setParent(MutableTreeNode parent)
Set the parent node.
|
void |
setUserObject(java.lang.Object object)
Sets the user object of this node.
|
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, getUserObject, isLeafvoid insert(MutableTreeNode child)
void insert(MutableTreeNode child, int index)
void remove(int index)
void remove(MutableTreeNode node)
void setUserObject(java.lang.Object object)
void removeFromParent()
void setParent(MutableTreeNode parent)