DefaultMutableTreeNode
, javax.swing.JTree
Modifier and Type | Method and Description |
---|---|
public void | insert(MutableTreeNode
node to be added child, int index of the receiver index)Adds |
public void | |
public void | |
public void | |
public void | setParent(MutableTreeNode
node to be set as parent of the receiver newParent)Sets the parent of the receiver to |
public void | setUserObject(Object
object to be set as a receiver object)Resets the user object of the receiver to |
insert | back to summary |
---|---|
public void insert(MutableTreeNode child, int index) Adds
|
remove | back to summary |
---|---|
public void remove(int index) Removes the child at
|
remove | back to summary |
---|---|
public void remove(MutableTreeNode node) Removes
|
removeFromParent | back to summary |
---|---|
public void removeFromParent() Removes the receiver from its parent. |
setParent | back to summary |
---|---|
public void setParent(MutableTreeNode newParent) Sets the parent of the receiver to
|
setUserObject | back to summary |
---|---|
public void setUserObject(Object object) Resets the user object of the receiver to
|