|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Node
The general interface of the node.
| Method Summary | |
|---|---|
Node |
getChild(int i)
Get the child specified with the index. |
int |
getChildCount()
Get the number of children nodes. |
int |
getIndex(Node node)
Get the index of the child. |
java.lang.Object[] |
getPath()
Get the path to the node. |
boolean |
isLeaf()
Check if the node is a leaf. |
| Method Detail |
|---|
int getChildCount()
Node getChild(int i)
i - The index of the child to get
boolean isLeaf()
true if the node if a leaf, false otherwise.java.lang.Object[] getPath()
int getIndex(Node node)
-1 is
returned.
node - -
the node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||