public interface TreeNode
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
children()
Returns the children of the receiver as an Enumeration.
|
boolean |
getAllowsChildren()
Returns true if this TreeNode allows children.
|
TreeNode |
getChildAt(int childIndex)
Returns the child TreeNode at index childIndex.
|
int |
getChildCount()
Returns the number of children TreeNodes the TreeNode contains.
|
TreeNode |
getParent()
Returns the parent TreeNode of this TreeNode.
|
boolean |
isLeaf()
Returns true if this TreeNode is a leaf.
|
TreeNode getChildAt(int childIndex)
int getChildCount()
TreeNode getParent()
boolean getAllowsChildren()
boolean isLeaf()
java.util.Enumeration children()