| Package | Description |
|---|---|
| com.vaadin.data.provider | |
| com.vaadin.ui |
| Modifier and Type | Method and Description |
|---|---|
default <Q> DataProvider<T,Q> |
InMemoryDataProvider.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.
|
default <V,Q> DataProvider<T,Q> |
InMemoryDataProvider.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.
|
static <T> DataProvider<T,String> |
InMemoryDataProviderHelpers.filteringByCaseInsensitiveString(InMemoryDataProvider<T> dataProvider,
ValueProvider<T,String> valueProvider,
SerializableBiPredicate<String,String> predicate,
SerializableSupplier<Locale> localeSupplier)
Wraps a given data provider so that its filter tests the given predicate
with the lower case string provided by the given value provider.
|
static <T,V,Q> DataProvider<T,Q> |
InMemoryDataProviderHelpers.filteringByIgnoreNull(InMemoryDataProvider<T> dataProvider,
ValueProvider<T,V> valueProvider,
SerializableBiPredicate<V,Q> predicate)
Wraps a given data provider so that its filter ignores null items
returned by the given value provider.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ComboBox.CaptionFilter
Predicate to check
ComboBox item captions against user typed
strings. |
Copyright © 2020 Vaadin Ltd. All rights reserved.