You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.combobox.

Class ComboBoxDataCommunicator.SelectionPreservingKeyMapper<TItem>

  • Type Parameters:

    TItem - The type of the item selectable in the combo box

    All Implemented Interfaces:

    DataKeyMapper<TItem>, Serializable

    Enclosing class:

    ComboBoxDataCommunicator<TItem>

    protected static class ComboBoxDataCommunicator.SelectionPreservingKeyMapper<TItem>
    extends KeyMapper<TItem>

    Customized key mapper that does not remove key for an item as long as it is selected.

    See Also:

    Serialized Form

    • Constructor Detail

      • SelectionPreservingKeyMapper

        public SelectionPreservingKeyMapper​(ComboBoxBase<?,​TItem,​?> comboBox)