org.apache.myfaces.custom.tree2

Class TreeNodeBase

public class TreeNodeBase extends Object implements TreeNode, Comparable

Constructor Summary
TreeNodeBase()
TreeNodeBase(String type, String description, boolean leaf)
TreeNodeBase(String type, String description, String identifier, boolean leaf)
Method Summary
intcompareTo(Object obj)
intgetChildCount()
ListgetChildren()
StringgetDescription()
StringgetIdentifier()
StringgetType()
booleanisLeaf()
voidsetDescription(String description)
voidsetIdentifier(String identifier)
voidsetLeaf(boolean leaf)
voidsetType(String type)

Constructor Detail

TreeNodeBase

public TreeNodeBase()

TreeNodeBase

public TreeNodeBase(String type, String description, boolean leaf)

TreeNodeBase

public TreeNodeBase(String type, String description, String identifier, boolean leaf)

Method Detail

compareTo

public int compareTo(Object obj)

getChildCount

public int getChildCount()

getChildren

public List getChildren()

getDescription

public String getDescription()

getIdentifier

public String getIdentifier()

getType

public String getType()

isLeaf

public boolean isLeaf()

setDescription

public void setDescription(String description)

setIdentifier

public void setIdentifier(String identifier)

setLeaf

public void setLeaf(boolean leaf)

setType

public void setType(String type)