|
||||||||||
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 TreeNode
public void setLeaf(boolean leaf)
setLeaf
in interface TreeNode
public List getChildren()
getChildren
in interface TreeNode
public String getType()
TreeNode
TreeNode
.
getType
in interface TreeNode
public void setType(String type)
TreeNode
TreeNode
.
setType
in interface TreeNode
type
- The node typepublic void setDescription(String description)
setDescription
in interface TreeNode
public String getDescription()
getDescription
in interface TreeNode
public void setIdentifier(String identifier)
TreeNode
TreeNode
.
setIdentifier
in interface TreeNode
identifier
- The identifierpublic String getIdentifier()
TreeNode
TreeNode
.
getIdentifier
in interface TreeNode
public int getChildCount()
TreeNode
getChildCount
in interface TreeNode
public int compareTo(Object obj)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |