All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sun.java.swing.tree.MutableTreeNode

public interface MutableTreeNode
extends TreeNode

Method Index

 o insert(MutableTreeNode, int)
Adds child to the receiver at index.
 o remove(int)
Removes the child at index from the receiver.
 o remove(MutableTreeNode)
Removes node from the receiver.
 o removeFromParent()
Removes the receiver from its parent.
 o setParent(MutableTreeNode)
Sets the parent of the receiver to newParent.
 o setUserObject(Object)
Resets the user object of the receiver to object.

Methods

 o insert
 public abstract void insert(MutableTreeNode child,
                             int index)
Adds child to the receiver at index. child will be messaged with setParent.

 o remove
 public abstract void remove(int index)
Removes the child at index from the receiver.

 o remove
 public abstract void remove(MutableTreeNode node)
Removes node from the receiver. setParent will be messaged on node.

 o setUserObject
 public abstract void setUserObject(Object object)
Resets the user object of the receiver to object.

 o removeFromParent
 public abstract void removeFromParent()
Removes the receiver from its parent.

 o setParent
 public abstract void setParent(MutableTreeNode newParent)
Sets the parent of the receiver to newParent.


All Packages  Class Hierarchy  This Package  Previous  Next  Index