public interface MutableTreeNode extends TreeNode
Modifier and Type | Method and Description |
---|---|
void |
addChild(MutableTreeNode child)
Add a child to this TreeNode at the end of the child list.
|
void |
insertChild(MutableTreeNode child,
int index)
Insert a child at the specified index.
|
void |
removeChild(MutableTreeNode child)
Remove a child from this TreeNode.
|
void |
setParent(TreeNode parent)
Set the parent of this TreeNode.
|
canExpand, collapse, expand, getChild, getChildCount, getChildren, getParent, indexOfChild, isLeaf
void setParent(TreeNode parent)
void insertChild(MutableTreeNode child, int index)
void addChild(MutableTreeNode child)
void removeChild(MutableTreeNode child)