Interface SelectionModel.Multi<T>
-
- Type Parameters:
T
- type parameter corresponding with Grid row type
- All Superinterfaces:
SelectionModel<T>
- All Known Subinterfaces:
SelectionModel.Multi.Batched<T>
- All Known Implementing Classes:
MultiSelectionModelConnector.MultiSelectionModel
,SelectionModelMulti
- Enclosing interface:
- SelectionModel<T>
public static interface SelectionModel.Multi<T> extends SelectionModel<T>
Selection model that allows for several rows to be selected at once.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SelectionModel.Multi.Batched<T>
A multi selection model that can send selections and deselections in a batch, instead of committing them one-by-one.-
Nested classes/interfaces inherited from interface com.vaadin.client.widget.grid.selection.SelectionModel
SelectionModel.Multi<T>, SelectionModel.None<T>, SelectionModel.Single<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
deselect(Collection<T> rows)
Deselect all rows in aCollection
.boolean
deselect(T... rows)
Deselects one or more rows.boolean
deselectAll()
De-selects all rows.boolean
select(Collection<T> rows)
Select all rows in aCollection
.boolean
select(T... rows)
Selects one or more rows.-
Methods inherited from interface com.vaadin.client.widget.grid.selection.SelectionModel
getSelectedRows, getSelectionColumnRenderer, isSelected, reset, setGrid
-
-
-
-
Method Detail
-
select
boolean select(T... rows)
Selects one or more rows.- Parameters:
rows
-Grid
row objects- Returns:
- true, if the set of selected rows was changed.
-
deselect
boolean deselect(T... rows)
Deselects one or more rows.- Parameters:
rows
- Grid row objects- Returns:
- true, if the set of selected rows was changed.
-
deselectAll
boolean deselectAll()
De-selects all rows.- Returns:
- true, if any row was previously selected.
-
select
boolean select(Collection<T> rows)
Select all rows in aCollection
.- Parameters:
rows
- a collection of Grid row objects- Returns:
- true, if the set of selected rows was changed.
-
deselect
boolean deselect(Collection<T> rows)
Deselect all rows in aCollection
.- Parameters:
rows
- a collection of Grid row objects- Returns:
- true, if the set of selected rows was changed.
-
-