Package com.vaadin.flow.component.grid
Interface GridSelectionModel<T>
-
- Type Parameters:
T
- the grid bean type
- All Superinterfaces:
com.vaadin.flow.data.selection.SelectionModel<Grid<T>,T>
,Serializable
- All Known Subinterfaces:
GridMultiSelectionModel<T>
,GridSingleSelectionModel<T>
- All Known Implementing Classes:
AbstractGridMultiSelectionModel
,AbstractGridSingleSelectionModel
,GridNoneSelectionModel
public interface GridSelectionModel<T> extends com.vaadin.flow.data.selection.SelectionModel<Grid<T>,T>
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
com.vaadin.flow.data.selection.SelectionModel.Multi<C extends com.vaadin.flow.component.Component,T extends Object>, com.vaadin.flow.data.selection.SelectionModel.Single<C extends com.vaadin.flow.component.Component,T extends Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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.
-
-
-
Method Detail
-
selectFromClient
void selectFromClient(T item)
Handles the selection of an item that originates from the client.- Parameters:
item
- the item being selected
-
deselectFromClient
void deselectFromClient(T item)
Handles the deselection of an item that originates from the client.- Parameters:
item
- the item being deselected
-
-