Package io.jmix.kanbanflowui.component
Interface KanbanSelectionModel<T>
- Type Parameters:
T
- the kanban items type
- All Superinterfaces:
com.vaadin.flow.data.selection.SelectionModel<Kanban<T>,
,T> com.vaadin.flow.data.selection.SelectionModel.Single<Kanban<T>,
,T> Serializable
- All Known Implementing Classes:
Kanban.KanbanSingleSelectionModel
public interface KanbanSelectionModel<T>
extends com.vaadin.flow.data.selection.SelectionModel.Single<Kanban<T>,T>
The server-side interface that controls
Kanban
'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
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, isSelected
Methods inherited from interface com.vaadin.flow.data.selection.SelectionModel.Single
deselectAll, getFirstSelectedItem, getSelectedItem, getSelectedItems, isDeselectAllowed, select, setDeselectAllowed, setSelectedItem
-
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
-