Package org.apache.myfaces.tobago.model
Klasse SelectedState
java.lang.Object
org.apache.myfaces.tobago.model.SelectedState
- Alle implementierten Schnittstellen:
- Serializable
Manages the selected tree paths of a tree.
- Siehe auch:
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungvoidclear()Clears the selected state, so that no TreePath is selected.voidclearAndSelect(TreePath path) Set the selected path and remove all prior selections.booleanisAncestorOfSelected(TreePath ancestorPath) Checks if the given path is an ancestor of a selected node.booleanisSelected(TreePath path) Checks if the given path is selected.voidSelect the given path.voidSet the selection state of the given pathtoString()voidUnselect the given path.
- 
Konstruktordetails- 
SelectedStatepublic SelectedState()
 
- 
- 
Methodendetails- 
isSelectedChecks if the given path is selected.
- 
isAncestorOfSelectedChecks if the given path is an ancestor of a selected node.
- 
selectSelect the given path.
- 
unselectUnselect the given path.
- 
clearAndSelectSet the selected path and remove all prior selections. This is useful for "single selection" mode.
- 
clearpublic void clear()Clears the selected state, so that no TreePath is selected.
- 
selectSet the selection state of the given path
- 
toString
 
-