|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrTreeStateProvider
A tree state provider is a representation of the current state of the tree component.
This provider handles the expand/collapse state and the current selection.
IlrTreeController.getTreeStateProvider()
Method Summary | |
---|---|
void |
collapseNode(String nodeId)
Collapses the node with a given ID. |
void |
expandNode(String nodeId)
Expands the node with a given ID. |
String |
getSelectedNodeId()
Returns the ID of the currently selected node. |
boolean |
isExpanded(String nodeId)
Indicates if a node with a given ID is expanded or collapsed. |
boolean |
isSelected(String nodeId)
Indicates if the node with a given ID is selected. |
void |
reset()
Resets the state of the tree component. |
void |
selectNode(String nodeId)
Selects the node with a given ID. |
Method Detail |
---|
boolean isExpanded(String nodeId)
nodeId
- The ID of the node.
true
if the node with a given ID is expanded, and false
otherwise.void expandNode(String nodeId)
nodeId
- The ID of the node.void collapseNode(String nodeId)
nodeId
- The ID of the node.String getSelectedNodeId()
null
if no node is selected.selectNode(String)
void selectNode(String nodeId)
nodeId
- The ID of the node.getSelectedNodeId()
boolean isSelected(String nodeId)
nodeId
- The ID of the node.
true
if the node with a given ID is selected, and false
otherwise.selectNode(String)
void reset()
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |