|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.tobago.model.SelectedState
public class SelectedState
Manages the selected tree paths of a tree.
Constructor Summary | |
---|---|
SelectedState()
|
Method Summary | |
---|---|
void |
clear()
Clears the selected state, so that no TreePath is selected. |
void |
clearAndSelect(TreePath path)
Set the selected path and remove all prior selections. |
boolean |
isSelected(TreePath path)
Checks if the given is selected. |
void |
select(TreePath path)
Select the given path. |
void |
select(TreePath path,
boolean selected)
Set the selection state of the given path |
void |
unselect(TreePath path)
Unselect the given path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectedState()
Method Detail |
---|
public boolean isSelected(TreePath path)
public void select(TreePath path)
public void unselect(TreePath path)
public void clearAndSelect(TreePath path)
public void clear()
public void select(TreePath path, boolean selected)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |