|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMutableTreeNode
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.
DefaultMutableTreeNode
,
JTree
Method Summary | |
---|---|
void |
insert(Collection colChildren)
Adds collection of children to the receiver. |
void |
remove(IMutableTreeNode node)
Removes node from the receiver. |
void |
removeFromParent()
Removes the receiver from its parent. |
void |
setParent(IMutableTreeNode newParent)
Sets the parent of the receiver to newParent . |
Methods inherited from interface org.apache.tapestry.contrib.tree.model.ITreeNode |
---|
containsChild, getAllowsChildren, getChildCount, getChildren, getParent, isLeaf |
Method Detail |
---|
void insert(Collection colChildren)
children
to the receiver.
Child
will be messaged with setParent
.
void remove(IMutableTreeNode node)
node
from the receiver. setParent
will be messaged on node
.
void removeFromParent()
void setParent(IMutableTreeNode newParent)
newParent
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |