|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A mutable PolyTreeNode. Nodes can be added or removed, from parent and child lists.
DefaultPolyTreeNode
Method Summary | |
void |
insertChild(PolyTreeNode newNode,
int index)
Insert a new child at passed index. |
void |
insertParent(PolyTreeNode newNode,
int index)
Insert a new parent at passed index. |
void |
removeChild(int index)
Remove the passed index from children list |
void |
removeParent(int index)
Remove the passed index from parent list |
void |
setUserObject(java.lang.Object userObject)
Set an userObject, a File or Document or whatever. |
Methods inherited from interface fri.gui.swing.polytreetable.PolyTreeNode |
children, getAllowsChildren, getAllowsParents, getChildAt, getChildCount, getChildIndex, getParentAt, getParentCount, getParentIndex, getUserObject, isChildLeaf, isParentLeaf, parents |
Method Detail |
public void removeParent(int index)
public void insertParent(PolyTreeNode newNode, int index)
public void removeChild(int index)
public void insertChild(PolyTreeNode newNode, int index)
public void setUserObject(java.lang.Object userObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |