public interface ITreeNode<T extends ITreeNode<T>>
| Modifier and Type | Method and Description |
|---|---|
T |
getChild(int index)
Returns the nth child in the parent's list.
|
int |
getChildCount()
Returns the #of children for this object.
|
T |
getParent() |
boolean |
hasChildren()
If possible this should quickly decide if this node has children or not.
|
boolean hasChildren()
throws Exception
item - Exceptionint getChildCount()
throws Exception
item - ExceptionT getChild(int index) throws Exception
parent - index - ExceptionCopyright © 2017 etc.to. All rights reserved.