Package | Description |
---|---|
com.vaadin.flow.component.combobox | |
com.vaadin.flow.component.internal | |
com.vaadin.flow.data.binder | |
com.vaadin.flow.data.provider |
Modifier and Type | Interface and Description |
---|---|
static interface |
ComboBox.ItemFilter<T>
Predicate to check
ComboBox items against user typed strings. |
Constructor and Description |
---|
AbstractFieldSupport(C component,
T defaultValue,
SerializableBiPredicate<T,T> valueEquals,
SerializableConsumer<T> setPresentationValue)
Creates a new field support.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RequiredFieldConfigurator
This interface represents a predicate which returns
true if bound
field should be configured to have required indicator via
HasValue.setRequiredIndicatorVisible(boolean) . |
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.
|
Copyright © 2021. All rights reserved.