org.apache.myfaces.custom.tree2
public interface TreeState extends Serializable
Method Summary | |
---|---|
void | collapsePath(String[] nodePath)
Collapse the complete path specified. |
void | expandPath(String[] nodePath)
Expand the complete path specified. |
boolean | isNodeExpanded(String nodeId)
Indicates whether or not the specified TreeNode is expanded.
|
boolean | isTransient()
Getter for transient property. |
void | setTransient(boolean trans)
Setter for transient property |
void | toggleExpanded(String nodeId)
Toggle the expanded state of the specified TreeNode. |
Parameters: nodePath The path to be collapsed.
Parameters: nodePath The path to be expanded.
Parameters: nodeId The id of the node in question.
Returns: If the node is expanded.
Returns: boolean
Parameters: trans boolean
Parameters: nodeId The id of the node whose expanded state should be toggled.