| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TreeNode
Defines the requirements for an object that can be used as a tree node for
 HtmlTree. (inspired by javax.swing.tree.TreeNode).
| 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. | 
| Method Detail | 
|---|
Object getUserObject()
TreeNode getChildAt(int childIndex)
int getChildCount()
TreeNode getParent()
int getIndex(TreeNode node)
boolean getAllowsChildren()
boolean isLeaf()
Iterator children()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||