| Constructor and Description |
|---|
AbstractTreeNodeBase(T dad) |
AbstractTreeNodeBase(T dad,
List<T> children) |
| 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.
|
protected List<T> |
getChildList() |
T |
getParent() |
boolean |
hasChildren()
If possible this should quickly decide if this node has children or not.
|
abstract List<T> |
loadChildren() |
protected void |
setChildList(List<T> childList) |
void |
setParent(T parent) |
public AbstractTreeNodeBase(T dad)
public void setParent(T parent)
public T getChild(int index) throws Exception
ITreeNodepublic int getChildCount()
throws Exception
ITreeNodepublic boolean hasChildren()
throws Exception
ITreeNodeCopyright © 2017 etc.to. All rights reserved.