Package | Description |
---|---|
com.vaadin.flow.component.combobox | |
com.vaadin.flow.component.treegrid | |
com.vaadin.flow.data.provider |
Modifier and Type | Method and Description |
---|---|
ComboBoxLazyDataView<T> |
ComboBox.setItems(CallbackDataProvider.FetchCallback<T,String> fetchCallback)
Supply items lazily with a callback from a backend.
|
ComboBoxLazyDataView<T> |
ComboBox.setItems(CallbackDataProvider.FetchCallback<T,String> fetchCallback,
CallbackDataProvider.CountCallback<T,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.
|
<C> ComboBoxLazyDataView<T> |
ComboBox.setItemsWithFilterConverter(CallbackDataProvider.FetchCallback<T,C> fetchCallback,
CallbackDataProvider.CountCallback<T,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.
|
<C> ComboBoxLazyDataView<T> |
ComboBox.setItemsWithFilterConverter(CallbackDataProvider.FetchCallback<T,C> fetchCallback,
SerializableFunction<String,C> filterConverter)
Supply items lazily with a callback from a backend, using custom filter
type.
|
Modifier and Type | Method and Description |
---|---|
GridLazyDataView<T> |
TreeGrid.setItems(CallbackDataProvider.FetchCallback<T,Void> fetchCallback)
|
Modifier and Type | Method and Description |
---|---|
static <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.
|
default V |
HasLazyDataView.setItems(CallbackDataProvider.FetchCallback<T,F> fetchCallback)
Supply items lazily with a callback from a backend.
|
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.
|
Constructor and Description |
---|
CallbackDataProvider(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.
|
Copyright © 2022. All rights reserved.