|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.custom.tree2.TreeNodeBase
| Constructor Summary | |
TreeNodeBase()
|
|
TreeNodeBase(java.lang.String type,
java.lang.String description,
boolean leaf)
|
|
TreeNodeBase(java.lang.String type,
java.lang.String description,
java.lang.String identifier,
boolean leaf)
|
|
| Method Summary | |
int |
compareTo(java.lang.Object obj)
|
int |
getChildCount()
Gets the number of children this node has. |
java.util.List |
getChildren()
|
java.lang.String |
getDescription()
|
java.lang.String |
getIdentifier()
Gets the identifier asociated with the TreeNode. |
java.lang.String |
getType()
Gets the type of TreeNode. |
boolean |
isLeaf()
|
void |
setDescription(java.lang.String description)
|
void |
setIdentifier(java.lang.String identifier)
Sets the identifier associated with the TreeNode. |
void |
setLeaf(boolean leaf)
|
void |
setType(java.lang.String type)
Sets the type of TreeNode. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeNodeBase()
public TreeNodeBase(java.lang.String type,
java.lang.String description,
boolean leaf)
public TreeNodeBase(java.lang.String type,
java.lang.String description,
java.lang.String identifier,
boolean leaf)
| Method Detail |
public boolean isLeaf()
isLeaf in interface TreeNodepublic void setLeaf(boolean leaf)
setLeaf in interface TreeNodepublic java.util.List getChildren()
getChildren in interface TreeNodepublic java.lang.String getType()
TreeNodeTreeNode.
getType in interface TreeNodepublic void setType(java.lang.String type)
TreeNodeTreeNode.
setType in interface TreeNodetype - The node typepublic void setDescription(java.lang.String description)
setDescription in interface TreeNodepublic java.lang.String getDescription()
getDescription in interface TreeNodepublic void setIdentifier(java.lang.String identifier)
TreeNodeTreeNode.
setIdentifier in interface TreeNodeidentifier - The identifierpublic java.lang.String getIdentifier()
TreeNodeTreeNode.
getIdentifier in interface TreeNodepublic int getChildCount()
TreeNode
getChildCount in interface TreeNodepublic int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||