|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zul.SimpleTreeNode
public class SimpleTreeNode
The treenode for SimpleTreeModel
Note: It assumes the content is immutable
| Constructor Summary | |
|---|---|
SimpleTreeNode(java.lang.Object data,
java.util.List children)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
getChildAt(int childIndex)
Returns the child SimpleTreeNode at index childIndex. |
int |
getChildCount()
Returns the number of children SimpleTreeNodes the receiver contains. |
java.util.List |
getChildren()
Return children of the receiver |
java.lang.Object |
getData()
Return data of the receiver |
boolean |
isLeaf()
Returns true if the receiver is a leaf. |
java.lang.String |
toString()
Return data.toString(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleTreeNode(java.lang.Object data,
java.util.List children)
data - data of the receiverchildren - children of the receiver
SimpleTreeNode can be contained in The List children| Method Detail |
|---|
public java.lang.Object getData()
public java.util.List getChildren()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isLeaf()
public java.lang.Object getChildAt(int childIndex)
public int getChildCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||