|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the node type.public interface TreeNode<T>
A TreeNode interface should be implemented by any tree like
structured node.
| Method Summary | |
|---|---|
void |
addChild(TreeNode<T> child)
Add the given child to the node. |
void |
setData(T data)
Set the data to this node. |
void |
setParent(TreeNode<T> parent)
Set the parent node. |
| Methods inherited from interface org.expasy.jpl.commons.collection.tree.TreeView |
|---|
getChildAt, getChildren, getData, getLeaves, getNodes, getNumberOfChildren, getParent, isLeave, isRoot |
| Method Detail |
|---|
void setParent(TreeNode<T> parent)
void addChild(TreeNode<T> child)
void setData(T data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||