API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.tree. MutableTreeNode View Source
Author(s)
Rob Davis
Scott Violet
Since
Version
1.12 11/17/05
Serial
Hierarchy
 TreeNode
      MutableTreeNode
Subinterfaces
Description
public interface MutableTreeNode
  Defines the requirements for a tree node object that can change -- by adding or removing child nodes, or by changing the contents of a user object stored in the node.
See also:    DefaultMutableTreeNode JTree
Methods
Hide/Show inherited methods
public void insert (MutableTreeNode child, int index)
  Adds child to the receiver at index.
public void remove (int index)
Removes the child at index from the receiver.
public void remove (MutableTreeNode node)
  Removes node from the receiver.
public void removeFromParent ()
Removes the receiver from its parent.
public void setParent (MutableTreeNode newParent)
Sets the parent of the receiver to newParent.
public void setUserObject (Object object)
Resets the user object of the receiver to object.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar