Package io.jmix.kanbanflowui.component
Class Kanban.KanbanSingleSelectionModel<T>
java.lang.Object
io.jmix.kanbanflowui.component.Kanban.KanbanSingleSelectionModel<T>
- Type Parameters:
- T- the kanban items type
- All Implemented Interfaces:
- com.vaadin.flow.data.selection.SelectionModel<Kanban<T>,,- T> - com.vaadin.flow.data.selection.SelectionModel.Single<Kanban<T>,,- T> - KanbanSelectionModel<T>,- Serializable
public static class Kanban.KanbanSingleSelectionModel<T>
extends Object
implements KanbanSelectionModel<T>
The server-side implementation of the interface that controls 
Kanban's selection state.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.vaadin.flow.data.selection.SelectionModelcom.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> 
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddSelectionListener(com.vaadin.flow.data.selection.SelectionListener<Kanban<T>, T> listener) voidvoiddeselectFromClient(T item) Handles the deselection of an item that originates from the client.protected voidprotected voidfireSelectionEvent(com.vaadin.flow.data.selection.SelectionEvent<Kanban<T>, T> event) protected ObjectbooleanbooleanisSelected(T item) voidvoidselectFromClient(T item) Handles the selection of an item that originates from the client.voidsetDeselectAllowed(boolean deselectAllowed) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.data.selection.SelectionModel.SingledeselectAll, getFirstSelectedItem, getSelectedItems, setSelectedItem
- 
Field Details- 
kanban
- 
selectedItem
- 
deselectAllowedprotected boolean deselectAllowed
 
- 
- 
Constructor Details- 
KanbanSingleSelectionModel
 
- 
- 
Method Details- 
selectFromClientDescription copied from interface:KanbanSelectionModelHandles the selection of an item that originates from the client.- Specified by:
- selectFromClientin interface- KanbanSelectionModel<T>
- Parameters:
- item- the item being selected
 
- 
deselectFromClientDescription copied from interface:KanbanSelectionModelHandles the deselection of an item that originates from the client.- Specified by:
- deselectFromClientin interface- KanbanSelectionModel<T>
- Parameters:
- item- the item being deselected
 
- 
select
- 
getSelectedItem
- 
setDeselectAllowedpublic void setDeselectAllowed(boolean deselectAllowed) 
- 
isDeselectAllowedpublic boolean isDeselectAllowed()
- 
deselect
- 
isSelected
- 
addSelectionListener
- 
getKanban
- 
doSelect
- 
fireSelectionEvent
- 
asSingleSelected
- 
getItemId
 
-