We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.combobox.
Class ComboBoxDataCommunicator<TItem>
- java.lang.Object
-
- com.vaadin.flow.data.provider.DataCommunicator<TItem>
-
- com.vaadin.flow.component.combobox.ComboBoxDataCommunicator<TItem>
-
Type Parameters:
TItem
- The type of the item selectable in the combo boxAll Implemented Interfaces:
public class ComboBoxDataCommunicator<TItem> extends DataCommunicator<TItem>
Customized data communicator that uses a custom key mapper for preserving keys of selected items when using lazy-loading.
See Also:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ComboBoxDataCommunicator.SelectionPreservingKeyMapper<TItem>
Customized key mapper that does not remove key for an item as long as it is selected.
-
Nested classes/interfaces inherited from class com.vaadin.flow.data.provider.DataCommunicator
DataCommunicator.EmptyDataProvider<T1>, DataCommunicator.Filter<F>
-
-
Field Summary
-
Fields inherited from class com.vaadin.flow.data.provider.DataCommunicator
DEFAULT_PAGE_INCREASE_COUNT
-
-
Constructor Summary
Constructors Constructor Description ComboBoxDataCommunicator(ComboBoxBase<?,TItem,?> comboBox, DataGenerator<TItem> dataGenerator, ArrayUpdater arrayUpdater, SerializableConsumer<elemental.json.JsonArray> dataUpdater, StateNode stateNode, boolean fetchEnabled)
-
Method Summary
All Methods Modifier and Type Method Description void
notifySelectionChanged()
-
Methods inherited from class com.vaadin.flow.data.provider.DataCommunicator
buildQuery, computeRequestedRange, confirmUpdate, enablePushUpdates, fetchFromProvider, getBackEndSorting, getDataProvider, getDataProviderSize, getFilter, getInMemorySorting, getItem, getItemCount, getItemCountEstimate, getItemCountEstimateIncrease, getKeyMapper, getPageSize, getPassivatedKeys, handleDataRefreshEvent, isDefinedSize, isFetchEnabled, isItemActive, isPagingEnabled, refresh, reset, setBackEndSorting, setCountCallback, setDataProvider, setDataProvider, setDefinedSize, setFetchEnabled, setInMemorySorting, setItemCountEstimate, setItemCountEstimateIncrease, setKeyMapper, setPageSize, setPagingEnabled, setRequestedRange
-
-
-
-
Constructor Detail
-
ComboBoxDataCommunicator
public ComboBoxDataCommunicator(ComboBoxBase<?,TItem,?> comboBox, DataGenerator<TItem> dataGenerator, ArrayUpdater arrayUpdater, SerializableConsumer<elemental.json.JsonArray> dataUpdater, StateNode stateNode, boolean fetchEnabled)
-
-