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