| 
 | ||||||||||
| 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(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 TreeNodeis 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. | 
| 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(String nodeId)
TreeStateTreeNode is expanded.
isNodeExpanded in interface TreeStatenodeId - The id of the node in question.
public void toggleExpanded(String nodeId)
TreeStateTreeNode.
toggleExpanded in interface TreeStatenodeId - The id of the node whose expanded state should be toggled.public boolean isTransient()
TreeState
isTransient in interface TreeStatepublic void setTransient(boolean trans)
TreeState
setTransient in interface TreeStatetrans - booleanpublic void expandPath(String[] nodePath)
TreeState
expandPath in interface TreeStatenodePath - The path to be expanded.public void collapsePath(String[] nodePath)
TreeState
collapsePath in interface TreeStatenodePath - The path to be collapsed.public void setSelected(String nodeId)
TreeState
setSelected in interface TreeStatenodeId - The id of the currently selected nodepublic boolean isSelected(String nodeId)
TreeState
isSelected in interface TreeStatenodeId - String
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||