FileDocCategorySizeDatePackage
MutableTreeNode.javaAPI DocJaudiotagger 2.0.41451Wed Mar 30 16:11:42 BST 2011org.jaudiotagger.utils.tree

MutableTreeNode

public interface MutableTreeNode implements TreeNode
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
DefaultMutableTreeNode
see
javax.swing.JTree
version
1.13 03/23/10
author
Rob Davis
author
Scott Violet

Fields Summary
Constructors Summary
Methods Summary
public voidinsert(org.jaudiotagger.utils.tree.MutableTreeNode child, int index)
Adds child to the receiver at index. child will be messaged with setParent.

public voidremove(int index)
Removes the child at index from the receiver.

public voidremove(org.jaudiotagger.utils.tree.MutableTreeNode node)
Removes node from the receiver. setParent will be messaged on node.

public voidremoveFromParent()
Removes the receiver from its parent.

public voidsetParent(org.jaudiotagger.utils.tree.MutableTreeNode newParent)
Sets the parent of the receiver to newParent.

public voidsetUserObject(java.lang.Object object)
Resets the user object of the receiver to object.