Class GridNoneSelectionModel<T>
java.lang.Object
io.jmix.groupgridflowui.kit.vaadin.grid.GridNoneSelectionModel<T>
- Type Parameters:
T- the grid bean type
- All Implemented Interfaces:
com.vaadin.flow.data.selection.SelectionModel<Grid<T>,,T> GridSelectionModel<T>,Serializable
Selection model implementation for disabling selection in Grid.
- See Also:
-
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> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddSelectionListener(com.vaadin.flow.data.selection.SelectionListener<Grid<T>, T> listener) voidvoidvoiddeselectFromClient(T item) Handles the deselection of an item that originates from the client.voidvoidselectFromClient(T item) Handles the selection of an item that originates from the client.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.data.selection.SelectionModel
isSelected
-
Constructor Details
-
GridNoneSelectionModel
public GridNoneSelectionModel()
-
-
Method Details
-
getSelectedItems
-
getFirstSelectedItem
-
select
-
deselect
-
deselectAll
public void deselectAll() -
selectFromClient
Description copied from interface:GridSelectionModelHandles the selection of an item that originates from the client.- Specified by:
selectFromClientin interfaceGridSelectionModel<T>- Parameters:
item- the item being selected
-
deselectFromClient
Description copied from interface:GridSelectionModelHandles the deselection of an item that originates from the client.- Specified by:
deselectFromClientin interfaceGridSelectionModel<T>- Parameters:
item- the item being deselected
-
addSelectionListener
-