|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.custom.tree2.TreeStateBase
public class TreeStateBase
Constructor Summary | |
---|---|
TreeStateBase()
|
Method Summary | |
---|---|
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 |
isSelected(java.lang.String nodeId)
Indicates whether or not the specified node is selected. |
boolean |
isTransient()
Getter for transient property. |
void |
setSelected(java.lang.String nodeId)
Sets the id of the currently selected node |
void |
setTransient(boolean trans)
Setter for transient property |
void |
toggleExpanded(java.lang.String nodeId)
Toggle the expanded state of the specified TreeNode . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeStateBase()
Method Detail |
---|
public boolean isNodeExpanded(java.lang.String nodeId)
TreeState
TreeNode
is expanded.
isNodeExpanded
in interface TreeState
nodeId
- The id of the node in question.
public void toggleExpanded(java.lang.String nodeId)
TreeState
TreeNode
.
toggleExpanded
in interface TreeState
nodeId
- The id of the node whose expanded state should be toggled.public boolean isTransient()
TreeState
isTransient
in interface TreeState
public void setTransient(boolean trans)
TreeState
setTransient
in interface TreeState
trans
- booleanpublic void expandPath(java.lang.String[] nodePath)
TreeState
expandPath
in interface TreeState
nodePath
- The path to be expanded.public void collapsePath(java.lang.String[] nodePath)
TreeState
collapsePath
in interface TreeState
nodePath
- The path to be collapsed.public void setSelected(java.lang.String nodeId)
TreeState
setSelected
in interface TreeState
nodeId
- The id of the currently selected nodepublic boolean isSelected(java.lang.String nodeId)
TreeState
isSelected
in interface TreeState
nodeId
- String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |