Uses of Interface
com.vaadin.flow.data.provider.CallbackDataProvider.CountCallback
Package
Description
-
Uses of CallbackDataProvider.CountCallback in com.vaadin.flow.component.combobox
Modifier and TypeMethodDescriptionComboBoxBase.setItems
(CallbackDataProvider.FetchCallback<TItem, String> fetchCallback, CallbackDataProvider.CountCallback<TItem, String> countCallback) Supply items lazily with callbacks: the first one fetches the items based on offset, limit and an optional filter, the second provides the exact count of items in the backend.ComboBoxBase.setItemsWithFilterConverter
(CallbackDataProvider.FetchCallback<TItem, C> fetchCallback, CallbackDataProvider.CountCallback<TItem, C> countCallback, SerializableFunction<String, C> filterConverter) Supply items lazily with callbacks: the first one fetches the items based on offset, limit and an optional filter, the second provides the exact count of items in the backend. -
Uses of CallbackDataProvider.CountCallback in com.vaadin.flow.component.combobox.dataview
Modifier and TypeMethodDescriptionvoid
ComboBoxLazyDataView.setItemCountCallback
(CallbackDataProvider.CountCallback<T, String> callback) Sets a callback that the combo box uses to get the exact item count in the backend. -
Uses of CallbackDataProvider.CountCallback in com.vaadin.flow.component.grid.dataview
Modifier and TypeMethodDescriptionvoid
GridLazyDataView.setItemCountCallback
(CallbackDataProvider.CountCallback<T, Void> callback) Sets a callback that the Grid uses to get the exact item count in the backend. -
Uses of CallbackDataProvider.CountCallback in com.vaadin.flow.data.provider
Modifier and TypeMethodDescriptionstatic <T> CallbackDataProvider<T,
Void> DataProvider.fromCallbacks
(CallbackDataProvider.FetchCallback<T, Void> fetchCallback, CallbackDataProvider.CountCallback<T, Void> countCallback) Creates a new data provider that uses callbacks for fetching and counting items from any backing store.static <T,
F> CallbackDataProvider<T, F> DataProvider.fromFilteringCallbacks
(CallbackDataProvider.FetchCallback<T, F> fetchCallback, CallbackDataProvider.CountCallback<T, F> countCallback) Creates a new data provider that uses filtering callbacks for fetching and counting items from any backing store.void
DataCommunicator.setCountCallback
(CallbackDataProvider.CountCallback<T, ?> countCallback) Sets the size callback to be used and switches the component to exact row count.default V
HasLazyDataView.setItems
(CallbackDataProvider.FetchCallback<T, F> fetchCallback, CallbackDataProvider.CountCallback<T, F> countCallback) Supply items lazily with callbacks: the first one fetches the items based on offset, limit and an optional filter, the second provides the exact count of items in the backend.ModifierConstructorDescriptionCallbackDataProvider
(CallbackDataProvider.FetchCallback<T, F> fetchCallback, CallbackDataProvider.CountCallback<T, F> countCallback) Constructs a new DataProvider to request data using callbacks for fetching and counting items in the back end.CallbackDataProvider
(CallbackDataProvider.FetchCallback<T, F> fetchCallBack, CallbackDataProvider.CountCallback<T, F> countCallback, ValueProvider<T, Object> identifierGetter) Constructs a new DataProvider to request data using callbacks for fetching and counting items in the back end.