|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITreeNode<T extends ITreeNode<T>>
Can be used to implement whatever's needed for a ITreeModel.
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean hasChildren() throws java.lang.Exception
item
-
java.lang.Exception
int getChildCount() throws java.lang.Exception
item
-
java.lang.Exception
T getChild(int index) throws java.lang.Exception
parent
- index
-
java.lang.Exception
T getParent() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |