| Package | org.aswing.tree |
| Interface | public interface TreeNode |
| Subinterfaces | MutableTreeNode |
See also
| Method | Defined by | ||
|---|---|---|---|
|
children():Array
Returns the children of the receiver as an
Enumeration. | TreeNode | ||
|
getAllowsChildren():Boolean
Returns true if the receiver allows children.
| TreeNode | ||
|
getChildAt(childIndex:int):TreeNode
Returns the child
TreeNode at index
childIndex. | TreeNode | ||
|
getChildCount():int
Returns the number of children
TreeNodes the receiver
contains. | TreeNode | ||
|
Returns the index of
node in the receivers children. | TreeNode | ||
|
Returns the parent
TreeNode of the receiver. | TreeNode | ||
|
isLeaf():Boolean
Returns true if the receiver is a leaf.
| TreeNode | ||
| children | () | method |
public function children():Array
Returns the children of the receiver as an Enumeration.
Array |
| getAllowsChildren | () | method |
public function getAllowsChildren():BooleanReturns true if the receiver allows children.
ReturnsBoolean |
| getChildAt | () | method |
public function getChildAt(childIndex:int):TreeNode
Returns the child TreeNode at index
childIndex.
childIndex:int |
TreeNode |
| getChildCount | () | method |
public function getChildCount():int
Returns the number of children TreeNodes the receiver
contains.
int |
| getIndex | () | method |
public function getIndex(node:TreeNode):int
Returns the index of node in the receivers children.
If the receiver does not contain node, -1 will be
returned.
node:TreeNode |
int |
| getParent | () | method |
| isLeaf | () | method |
public function isLeaf():BooleanReturns true if the receiver is a leaf.
ReturnsBoolean |