public interface TreeState
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
collapsePath(java.lang.String[] nodePath)
Collapse the complete path specified.
|
void |
expandPath(java.lang.String[] nodePath)
Expand the complete path specified.
|
boolean |
isNodeExpanded(java.lang.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(java.lang.String nodeId)
Toggle the expanded state of the specified
TreeNode. |
boolean isNodeExpanded(java.lang.String nodeId)
TreeNode is expanded.nodeId - The id of the node in question.void toggleExpanded(java.lang.String nodeId)
TreeNode.nodeId - The id of the node whose expanded state should be toggled.void expandPath(java.lang.String[] nodePath)
nodePath - The path to be expanded.void collapsePath(java.lang.String[] nodePath)
nodePath - The path to be collapsed.boolean isTransient()
void setTransient(boolean trans)
trans - boolean