|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeState
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 |
isSelected(String nodeId)
Indicates whether or not the specified node is selected. |
boolean |
isTransient()
Getter for transient property. |
void |
setSelected(String nodeId)
Sets the id of the currently selected node |
void |
setTransient(boolean trans)
Setter for transient property |
void |
toggleExpanded(String nodeId)
Toggle the expanded state of the specified TreeNode . |
Method Detail |
---|
boolean isNodeExpanded(String nodeId)
TreeNode
is expanded.
nodeId
- The id of the node in question.
void toggleExpanded(String nodeId)
TreeNode
.
nodeId
- The id of the node whose expanded state should be toggled.void expandPath(String[] nodePath)
nodePath
- The path to be expanded.void collapsePath(String[] nodePath)
nodePath
- The path to be collapsed.boolean isTransient()
void setTransient(boolean trans)
trans
- booleanvoid setSelected(String nodeId)
nodeId
- The id of the currently selected nodeboolean isSelected(String nodeId)
nodeId
- String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |