All Packages Class Hierarchy This Package Previous Next Index
Interface com.sun.java.swing.tree.MutableTreeNode
- public interface MutableTreeNode
- extends TreeNode
-
insert(MutableTreeNode, int)
- Adds
child to the receiver at index.
-
remove(int)
- Removes the child at
index from the receiver.
-
remove(MutableTreeNode)
- Removes
node from the receiver.
-
removeFromParent()
- Removes the receiver from its parent.
-
setParent(MutableTreeNode)
- Sets the parent of the receiver to
newParent.
-
setUserObject(Object)
- Resets the user object of the receiver to
object.
insert
public abstract void insert(MutableTreeNode child,
int index)
- Adds
child to the receiver at index.
child will be messaged with setParent.
remove
public abstract void remove(int index)
- Removes the child at
index from the receiver.
remove
public abstract void remove(MutableTreeNode node)
- Removes
node from the receiver. setParent
will be messaged on node.
setUserObject
public abstract void setUserObject(Object object)
- Resets the user object of the receiver to
object.
removeFromParent
public abstract void removeFromParent()
- Removes the receiver from its parent.
setParent
public abstract void setParent(MutableTreeNode newParent)
- Sets the parent of the receiver to
newParent.
All Packages Class Hierarchy This Package Previous Next Index