| java.lang.Object org.zkoss.zul.SimpleTreeNode
SimpleTreeNode | public class SimpleTreeNode (Code) | | The treenode for
SimpleTreeModel Note: It assumes the content is immutable
author: Jeff since: ZK 3.0.0 |
SimpleTreeNode | public SimpleTreeNode(Object data, List children)(Code) | | Constructor
Parameters: data - data of the receiver Parameters: children - children of the receiver Notice: Only SimpleTreeNode can be contained in The List children |
getChildAt | public Object getChildAt(int childIndex)(Code) | | Returns the child SimpleTreeNode at index childIndex.
the child SimpleTreeNode at index childIndex. |
getChildCount | public int getChildCount()(Code) | | Returns the number of children SimpleTreeNodes the receiver contains.
the number of children SimpleTreeNodes the receiver contains. |
getChildren | public List getChildren()(Code) | | Return children of the receiver
children of the receiver |
getData | public Object getData()(Code) | | Return data of the receiver
data of the receiver |
isLeaf | public boolean isLeaf()(Code) | | Returns true if the receiver is a leaf.
true if the receiver is a leaf. |
toString | public String toString()(Code) | | Return data.toString(). If data is null, return String "Data is null"
data.toString(). If data is null, return String "Data is null" |
|
|