| Package | Description |
|---|---|
| com.vaadin.data | |
| com.vaadin.data.provider | |
| com.vaadin.ui |
| Modifier and Type | Method and Description |
|---|---|
DataProvider<T,?> |
HasItems.getDataProvider()
Returns the source of data items used by this listing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HasDataProvider.setDataProvider(DataProvider<T,?> dataProvider)
Sets the data provider for this listing.
|
<C> void |
HasFilterableDataProvider.setDataProvider(DataProvider<T,C> dataProvider,
SerializableFunction<F,C> filterConverter)
Sets the data provider and filter converter for this listing.
|
default void |
HasFilterableDataProvider.setDataProvider(DataProvider<T,F> dataProvider)
Sets the data provider for this listing.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BackEndDataProvider<T,F>
A data provider that lazy loads items from a back end.
|
interface |
ConfigurableFilterDataProvider<T,Q,C>
A data provider that supports programmatically setting a filter that will be
applied to all queries.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBackEndDataProvider<T,F>
Abstract base class for implementing back end data providers.
|
class |
AbstractDataProvider<T,F>
Abstract data provider implementation which takes care of refreshing data
from the underlying data provider.
|
class |
CallbackDataProvider<T,F>
Data provider that uses one callback for fetching items from a back end and
another callback for counting the number of available items.
|
class |
ConfigurableFilterDataProviderWrapper<T,Q,C,F>
A configurable data provider that wraps another data provider by combining
any filter from the component with the configured filter and passing that to
the wrapped provider through the query.
|
class |
DataProviderWrapper<T,F,M>
Wrapper class for modifying, chaining and replacing filters and sorting in a
query.
|
class |
ListDataProvider<T>
DataProvider wrapper for Collections. |
| Modifier and Type | Field and Description |
|---|---|
protected DataProvider<T,M> |
DataProviderWrapper.dataProvider
The actual data provider behind this wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
<Q> DataProvider<T,Q> |
ListDataProvider.filteringBy(SerializableBiPredicate<T,Q> predicate)
Wraps this data provider to create a new data provider that is filtered
by comparing an item to the filter value provided in the query.
|
<V,Q> DataProvider<T,Q> |
ListDataProvider.filteringBy(ValueProvider<T,V> valueProvider,
SerializableBiPredicate<V,Q> predicate)
Wraps this data provider to create a new data provider that is filtered
by comparing an item property value to the filter value provided in the
query.
|
<V> DataProvider<T,V> |
ListDataProvider.filteringByEquals(ValueProvider<T,V> valueProvider)
Wraps this data provider to create a new data provider that is filtered
by testing whether the value of a property is equals to the filter value
provided in the query.
|
DataProvider<T,String> |
ListDataProvider.filteringByPrefix(ValueProvider<T,String> valueProvider)
Wraps this data provider to create a new data provider that is filtered
by a string by checking whether the lower case representation of an item
property value starts with the lower case representation of the filter
value provided in the query.
|
DataProvider<T,String> |
ListDataProvider.filteringByPrefix(ValueProvider<T,String> valueProvider,
Locale locale)
Wraps this data provider to create a new data provider that is filtered
by a string by checking whether the lower case representation of an item
property value starts with the lower case representation of the filter
value provided in the query.
|
DataProvider<T,String> |
ListDataProvider.filteringBySubstring(ValueProvider<T,String> valueProvider)
Wraps this data provider to create a new data provider that is filtered
by a string by checking whether the lower case representation of the
filter value provided in the query is a substring of the lower case
representation of an item property value.
|
DataProvider<T,String> |
ListDataProvider.filteringBySubstring(ValueProvider<T,String> valueProvider,
Locale locale)
Wraps this data provider to create a new data provider that is filtered
by a string by checking whether the lower case representation of the
filter value provided in the query is a substring of the lower case
representation of an item property value.
|
DataProvider<T,?> |
DataCommunicator.getDataProvider()
Gets the current data provider from this DataCommunicator.
|
DataProvider<T,?> |
DataChangeEvent.getSource() |
default <C> DataProvider<T,C> |
DataProvider.withConvertedFilter(SerializableFunction<C,F> filterConverter)
Wraps this data provider to create a data provider that uses a different
filter type.
|
| Modifier and Type | Method and Description |
|---|---|
<F> SerializableConsumer<F> |
DataCommunicator.setDataProvider(DataProvider<T,F> dataProvider,
F initialFilter)
Sets the current data provider for this DataCommunicator.
|
| Constructor and Description |
|---|
ConfigurableFilterDataProviderWrapper(DataProvider<T,F> dataProvider)
Creates a new configurable filter data provider by wrapping an existing
data provider.
|
DataChangeEvent(DataProvider<T,?> source)
Creates a new
DataChangeEvent event originating from the given
data provider. |
DataProviderWrapper(DataProvider<T,M> dataProvider)
Constructs a filtering wrapper for a data provider.
|
DataRefreshEvent(DataProvider<T,?> source,
T item)
Creates a new data refresh event originating from the given data
provider.
|
| Modifier and Type | Method and Description |
|---|---|
DataProvider<T,?> |
TwinColSelect.getDataProvider() |
DataProvider<T,?> |
ComboBox.getDataProvider() |
DataProvider<T,?> |
ListSelect.getDataProvider() |
DataProvider<T,?> |
CheckBoxGroup.getDataProvider() |
DataProvider<T,?> |
Grid.getDataProvider() |
DataProvider<T,?> |
RadioButtonGroup.getDataProvider() |
DataProvider<T,?> |
NativeSelect.getDataProvider() |
protected DataProvider<T,?> |
AbstractListing.internalGetDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractListing.internalSetDataProvider(DataProvider<T,?> dataProvider) |
protected <F> SerializableConsumer<F> |
AbstractListing.internalSetDataProvider(DataProvider<T,F> dataProvider,
F initialFilter) |
void |
TwinColSelect.setDataProvider(DataProvider<T,?> dataProvider) |
void |
ListSelect.setDataProvider(DataProvider<T,?> dataProvider) |
void |
CheckBoxGroup.setDataProvider(DataProvider<T,?> dataProvider) |
void |
Grid.setDataProvider(DataProvider<T,?> dataProvider) |
void |
RadioButtonGroup.setDataProvider(DataProvider<T,?> dataProvider) |
void |
NativeSelect.setDataProvider(DataProvider<T,?> dataProvider) |
<C> void |
ComboBox.setDataProvider(DataProvider<T,C> dataProvider,
SerializableFunction<String,C> filterConverter) |
| Constructor and Description |
|---|
CheckBoxGroup(String caption,
DataProvider<T,?> dataProvider)
Constructs a new CheckBoxGroup with caption and DataProvider.
|
Grid(DataProvider<T,?> dataProvider)
Creates a new
Grid using the given DataProvider |
Grid(String caption,
DataProvider<T,?> dataProvider)
Creates a new
Grid using the given caption and
DataProvider |
ListSelect(String caption,
DataProvider<T,?> dataProvider)
Constructs a new ListSelect with caption and data provider for options.
|
NativeSelect(String caption,
DataProvider<T,?> dataProvider)
Creates a new
NativeSelect with the given caption, using the
given DataProvider as the source of data items. |
RadioButtonGroup(String caption,
DataProvider<T,?> dataProvider)
Constructs a new RadioButtonGroup with caption and DataProvider.
|
TwinColSelect(String caption,
DataProvider<T,?> dataProvider)
Constructs a new TwinColSelect with caption and data provider for
options.
|
Copyright © 2017 Vaadin Ltd. All rights reserved.