com.vaadin.client.widget.grid.selection.
Interface SelectionModel.Multi<T>
-
Type Parameters:
T
- type parameter corresponding with Grid row typeAll Superinterfaces:
All Known Subinterfaces:
All Known Implementing Classes:
MultiSelectionModelConnector.MultiSelectionModel
,SelectionModelMulti
Enclosing interface:
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 Modifier and Type Method Description boolean
deselect(Collection<T> rows)
Deselect all rows in a
Collection
.boolean
deselect(T... rows)
Deselects one or more rows.
boolean
deselectAll()
De-selects all rows.
boolean
select(Collection<T> rows)
Select all rows in a
Collection
.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 objectsReturns:
true, if the set of selected rows was changed.
-
deselect
boolean deselect(T... rows)
Deselects one or more rows.
Parameters:
rows
- Grid row objectsReturns:
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 a
Collection
.Parameters:
rows
- a collection of Grid row objectsReturns:
true, if the set of selected rows was changed.
-
deselect
boolean deselect(Collection<T> rows)
Deselect all rows in a
Collection
.Parameters:
rows
- a collection of Grid row objectsReturns:
true, if the set of selected rows was changed.
-
-