org.apache.myfaces.custom.tree2
public interface TreeNode extends Serializable
Version: $Revision: 201538 $ $Date: 2005-06-24 03:51:06 +0200 (Fri, 24 Jun 2005) $
Method Summary | |
---|---|
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. |
Returns: the number of children
Returns: the identifier
Returns: The node type
Parameters: identifier The identifier
Parameters: type The node type