public class TreeStateBase extends java.lang.Object implements TreeState
| Constructor and Description |
|---|
TreeStateBase() |
| 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. |
public boolean isNodeExpanded(java.lang.String nodeId)
TreeStateTreeNode is expanded.isNodeExpanded in interface TreeStatenodeId - The id of the node in question.public void toggleExpanded(java.lang.String nodeId)
TreeStateTreeNode.toggleExpanded in interface TreeStatenodeId - The id of the node whose expanded state should be toggled.public boolean isTransient()
TreeStateisTransient in interface TreeStatepublic void setTransient(boolean trans)
TreeStatesetTransient in interface TreeStatetrans - booleanpublic void expandPath(java.lang.String[] nodePath)
TreeStateexpandPath in interface TreeStatenodePath - The path to be expanded.public void collapsePath(java.lang.String[] nodePath)
TreeStatecollapsePath in interface TreeStatenodePath - The path to be collapsed.