We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.grid.
Interface GridSelectionModel<T>
-
Type Parameters:
T
- the grid bean typeAll Superinterfaces:
SelectionModel<Grid<T>,T>
,Serializable
All Known Subinterfaces:
All Known Implementing Classes:
AbstractGridMultiSelectionModel
,AbstractGridSingleSelectionModel
,GridNoneSelectionModel
public interface GridSelectionModel<T> extends 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
SelectionModel.Multi<C extends Component,T>, SelectionModel.Single<C extends Component,T>
-
-
Method Summary
All 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.
-
Methods inherited from interface com.vaadin.flow.data.selection.SelectionModel
addSelectionListener, deselect, deselectAll, getFirstSelectedItem, getSelectedItems, isSelected, select
-
-
-
-
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
-
-