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übersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
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
isAncestorOfSelected
(TreePath ancestorPath) Checks if the given path is an ancestor of a selected node.boolean
isSelected
(TreePath path) Checks if the given path is selected.void
Select the given path.void
Set the selection state of the given pathtoString()
void
Unselect the given path.
-
Konstruktordetails
-
SelectedState
public SelectedState()
-
-
Methodendetails
-
isSelected
Checks if the given path is selected. -
isAncestorOfSelected
Checks if the given path is an ancestor of a selected node. -
select
Select the given path. -
unselect
Unselect the given path. -
clearAndSelect
Set the selected path and remove all prior selections. This is useful for "single selection" mode. -
clear
public void clear()Clears the selected state, so that no TreePath is selected. -
select
Set the selection state of the given path -
toString
-