|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
boolean |
canExpand()
Returns whether this node is expandable. |
boolean |
collapse()
Tell it that it can release its children. |
boolean |
expand()
Tell it to expand (ie gather its children). |
TreeNode |
getChild(int index)
Get the child at the specified index. |
int |
getChildCount()
Get the number of children that this object has. |
Iterator |
getChildren()
Get an Iterator for the children. |
TreeNode |
getParent()
Get the parent of this object. |
int |
indexOfChild(TreeNode child)
Return the index of the specified child. |
boolean |
isLeaf()
Returns whether this is a node or leaf. |
| Method Detail |
public TreeNode getParent()
public TreeNode getChild(int index)
public int getChildCount()
public Iterator getChildren()
public int indexOfChild(TreeNode child)
public boolean canExpand()
public boolean expand()
public boolean collapse()
public boolean isLeaf()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||