org.apache.myfaces.custom.tree
public interface TreeNode
Version: $Revision: 169651 $ $Date: 2005-05-11 18:14:23 +0200 (Wed, 11 May 2005) $
Method Summary | |
---|---|
Iterator | children()
Answer the children of the receiver. |
boolean | getAllowsChildren()
Answer true if this node allows children. |
TreeNode | getChildAt(int childIndex)
Answer the child at the given index. |
int | getChildCount()
Answer the number of children this node contains. |
int | getIndex(TreeNode node)
Answer the index of the given node in this node's children. |
TreeNode | getParent()
Answer the parent of this node. |
Object | getUserObject() |
boolean | isLeaf()
Answer true if this is a leaf node. |
Returns: Gets the user object of this node.