Package com.vaadin.flow.component.grid
Interface GridSelectionModel<T>
- Type Parameters:
T
- the grid bean type
- All Superinterfaces:
SelectionModel<Grid<T>,
,T> Serializable
- All Known Subinterfaces:
GridMultiSelectionModel<T>
,GridSingleSelectionModel<T>
- All Known Implementing Classes:
AbstractGridMultiSelectionModel
,AbstractGridSingleSelectionModel
,GridNoneSelectionModel
The server-side interface that controls Grid's selection state.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.data.selection.SelectionModel
SelectionModel.Multi<C extends Component,
T>, SelectionModel.Single<C extends Component, T> -
Method Summary
Modifier and TypeMethodDescriptionvoid
deselectFromClient
(T item) Handles the deselection of an item that originates from the client.void
selectFromClient
(T item) Handles the selection of an item that originates from the client.Methods inherited from interface com.vaadin.flow.data.selection.SelectionModel
addSelectionListener, deselect, deselectAll, getFirstSelectedItem, getSelectedItems, isSelected, select
-
Method Details
-
selectFromClient
Handles the selection of an item that originates from the client.- Parameters:
item
- the item being selected
-
deselectFromClient
Handles the deselection of an item that originates from the client.- Parameters:
item
- the item being deselected
-