Uses of Interface
com.vaadin.flow.function.SerializableBiPredicate
-
Uses of SerializableBiPredicate in com.vaadin.flow.component.combobox
Subinterfaces of SerializableBiPredicate in com.vaadin.flow.component.comboboxModifier and TypeInterfaceDescriptionstatic interface
Predicate to check
ComboBox
items against user typed strings. -
Uses of SerializableBiPredicate in com.vaadin.flow.component.internal
Constructors in com.vaadin.flow.component.internal with parameters of type SerializableBiPredicateModifierConstructorDescriptionAbstractFieldSupport
(C component, T defaultValue, SerializableBiPredicate<T, T> valueEquals, SerializableConsumer<T> setPresentationValue) Creates a new field support.
-
Uses of SerializableBiPredicate in com.vaadin.flow.data.binder
Subinterfaces of SerializableBiPredicate in com.vaadin.flow.data.binderModifier and TypeInterfaceDescriptioninterface
This interface represents a predicate which returns
true
if bound field should be configured to have required indicator viaHasValue.setRequiredIndicatorVisible(boolean)
.Methods in com.vaadin.flow.data.binder that return SerializableBiPredicateModifier and TypeMethodDescriptionBinder.Binding.getEqualityPredicate()
Used in comparison of the current value of a field with its initial value.
Binder.BindingImpl.getEqualityPredicate()
Methods in com.vaadin.flow.data.binder with parameters of type SerializableBiPredicateModifier and TypeMethodDescriptiondefault Binder.BindingBuilder<BEAN,
TARGET> Binder.BindingBuilder.withEqualityPredicate
(SerializableBiPredicate<TARGET, TARGET> equalityPredicate) Sets the
equalityPredicate
used to compare the current value of a field with its initial value.Binder.BindingBuilderImpl.withEqualityPredicate
(SerializableBiPredicate<TARGET, TARGET> equalityPredicate) -
Uses of SerializableBiPredicate in com.vaadin.flow.data.provider
Methods in com.vaadin.flow.data.provider with parameters of type SerializableBiPredicateModifier and TypeMethodDescriptiondefault <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.