|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Data model for the nodes of a tree
Method Summary | |
void |
addChild(TreeNodeDataModel child)
Adds a new node to the child list Note: This method will also set the parent link of the new child node to this |
TreeNodeDataModel |
getChild(int index)
Returns the node for the specified index |
int |
size()
Returns the number of children for this node return -2 when the node has children but the user is not allowed to open the node. |
Methods inherited from interface com.cc.framework.ui.model.TreeNodeDataModel |
getParent, getParentKey, getUniqueKey, setParent |
Method Detail |
public TreeNodeDataModel getChild(int index)
index
- The zero based index
public void addChild(TreeNodeDataModel child)
Note: This method will also set the parent link of the new child
node to this
child
- Child nodepublic int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |