Class ComboBoxDataCommunicator.SelectionPreservingKeyMapper<TItem>
java.lang.Object
com.vaadin.flow.data.provider.KeyMapper<TItem>
com.vaadin.flow.component.combobox.ComboBoxDataCommunicator.SelectionPreservingKeyMapper<TItem>
- Type Parameters:
TItem- The type of the item selectable in the combo box
- All Implemented Interfaces:
com.vaadin.flow.data.provider.DataKeyMapper<TItem>,Serializable
- Enclosing class:
- ComboBoxDataCommunicator<TItem>
protected static class ComboBoxDataCommunicator.SelectionPreservingKeyMapper<TItem>
extends com.vaadin.flow.data.provider.KeyMapper<TItem>
Customized key mapper that does not remove key for an item as long as it
is selected.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.flow.data.provider.KeyMapper
containsKey, createKey, get, has, refresh, removeAll, setIdentifierGetter
-
Constructor Details
-
SelectionPreservingKeyMapper
-
-
Method Details
-
remove
-
key
-
purgeItems
public void purgeItems()
-