Uses of Interface
com.vaadin.flow.function.SerializablePredicate
Packages that use SerializablePredicate
Package
Description
-
Uses of SerializablePredicate in com.vaadin.flow.component.checkbox
Methods in com.vaadin.flow.component.checkbox that return SerializablePredicateModifier and TypeMethodDescriptionCheckboxGroup.getItemEnabledProvider()
Returns the item enabled predicate.Methods in com.vaadin.flow.component.checkbox with parameters of type SerializablePredicateModifier and TypeMethodDescriptionvoid
CheckboxGroup.setItemEnabledProvider
(SerializablePredicate<T> itemEnabledProvider) Sets the item enabled predicate for this checkbox group. -
Uses of SerializablePredicate in com.vaadin.flow.component.checkbox.dataview
Constructor parameters in com.vaadin.flow.component.checkbox.dataview with type arguments of type SerializablePredicateModifierConstructorDescriptionCheckboxGroupListDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for Checkbox Group and verifies the passed data provider is compatible with this data view implementation.CheckboxGroupListDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for Checkbox Group and verifies the passed data provider is compatible with this data view implementation. -
Uses of SerializablePredicate in com.vaadin.flow.component.combobox
Method parameters in com.vaadin.flow.component.combobox with type arguments of type SerializablePredicateModifier and TypeMethodDescriptionComboBoxBase.setItems
(InMemoryDataProvider<TItem> inMemoryDataProvider, SerializableFunction<String, SerializablePredicate<TItem>> filterConverter) Sets an in-memory data provider for the combo box to use, taking into account both in-memory filtering from data provider and combo box's text filter. -
Uses of SerializablePredicate in com.vaadin.flow.component.combobox.dataview
Methods in com.vaadin.flow.component.combobox.dataview with parameters of type SerializablePredicateModifier and TypeMethodDescriptionComboBoxListDataView.addFilter
(SerializablePredicate<T> filter) Adds a filter to be applied to all queries.ComboBoxListDataView.setFilter
(SerializablePredicate<T> filter) Sets a filter to be applied to the data.Constructor parameters in com.vaadin.flow.component.combobox.dataview with type arguments of type SerializablePredicateModifierConstructorDescriptionComboBoxListDataView
(DataCommunicator<T> dataCommunicator, ComboBoxBase<?, T, ?> comboBox, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new instance of ComboBox in-memory data view and verifies the passed data provider is compatible with this data view implementation. -
Uses of SerializablePredicate in com.vaadin.flow.component.grid
Methods in com.vaadin.flow.component.grid that return SerializablePredicateModifier and TypeMethodDescriptionGrid.getDragFilter()
Gets the active drag filter.Grid.getDropFilter()
Gets the active drop filter.Methods in com.vaadin.flow.component.grid with parameters of type SerializablePredicateModifier and TypeMethodDescriptionvoid
Grid.setDragFilter
(SerializablePredicate<T> dragFilter) Sets the drag filter for this drag source.void
Grid.setDropFilter
(SerializablePredicate<T> dropFilter) Sets the drop filter for this drag target.void
Grid.setItemSelectableProvider
(SerializablePredicate<T> provider) Sets a predicate to check whether a specific item in the grid may be selected or deselected by the user. -
Uses of SerializablePredicate in com.vaadin.flow.component.grid.dataview
Constructor parameters in com.vaadin.flow.component.grid.dataview with type arguments of type SerializablePredicateModifierConstructorDescriptionGridListDataView
(DataCommunicator<T> dataCommunicator, Grid<T> grid, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new instance of Grid in-memory data view and verifies the passed data provider is compatible with this data view implementation. -
Uses of SerializablePredicate in com.vaadin.flow.component.gridpro
Methods in com.vaadin.flow.component.gridpro with parameters of type SerializablePredicateModifier and TypeMethodDescriptionEditColumnConfigurator.withCellEditableProvider
(SerializablePredicate<T> cellEditableProvider) Configures a predicate that determines whether individual cells in this column are editable. -
Uses of SerializablePredicate in com.vaadin.flow.component.listbox
Methods in com.vaadin.flow.component.listbox that return SerializablePredicateModifier and TypeMethodDescriptionListBoxBase.getItemEnabledProvider()
Returns the item enabled predicate.Methods in com.vaadin.flow.component.listbox with parameters of type SerializablePredicateModifier and TypeMethodDescriptionvoid
ListBoxBase.setItemEnabledProvider
(SerializablePredicate<ITEM> itemEnabledProvider) Sets the item enabled predicate for this ListBox. -
Uses of SerializablePredicate in com.vaadin.flow.component.listbox.dataview
Constructor parameters in com.vaadin.flow.component.listbox.dataview with type arguments of type SerializablePredicateModifierConstructorDescriptionListBoxListDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, ListBoxBase listBox, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for ListBox and verifies the passed data provider is compatible with this data view implementation. -
Uses of SerializablePredicate in com.vaadin.flow.component.radiobutton
Methods in com.vaadin.flow.component.radiobutton that return SerializablePredicateModifier and TypeMethodDescriptionRadioButtonGroup.getItemEnabledProvider()
Returns the item enabled predicate.Methods in com.vaadin.flow.component.radiobutton with parameters of type SerializablePredicateModifier and TypeMethodDescriptionvoid
RadioButtonGroup.setItemEnabledProvider
(SerializablePredicate<T> itemEnabledProvider) Sets the item enabled predicate for this radio button group. -
Uses of SerializablePredicate in com.vaadin.flow.component.radiobutton.dataview
Constructor parameters in com.vaadin.flow.component.radiobutton.dataview with type arguments of type SerializablePredicateModifierConstructorDescriptionRadioButtonGroupListDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, RadioButtonGroup radioButtonGroup, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for RadioButtonGroup and verifies the passed data provider is compatible with this data view implementation.RadioButtonGroupListDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, RadioButtonGroup radioButtonGroup, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for RadioButtonGroup and verifies the passed data provider is compatible with this data view implementation. -
Uses of SerializablePredicate in com.vaadin.flow.component.select
Methods in com.vaadin.flow.component.select that return SerializablePredicateModifier and TypeMethodDescriptionSelect.getItemEnabledProvider()
Returns the item enabled predicate.Methods in com.vaadin.flow.component.select with parameters of type SerializablePredicateModifier and TypeMethodDescriptionvoid
Select.setItemEnabledProvider
(SerializablePredicate<T> itemEnabledProvider) Sets the item enabled predicate for this select. -
Uses of SerializablePredicate in com.vaadin.flow.component.select.data
Constructor parameters in com.vaadin.flow.component.select.data with type arguments of type SerializablePredicateModifierConstructorDescriptionSelectListDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, Select<T> select, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for Select and verifies the passed data provider is compatible with this data view implementation.SelectListDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, Select<T> select, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for Select and verifies the passed data provider is compatible with this data view implementation. -
Uses of SerializablePredicate in com.vaadin.flow.component.treegrid
Methods in com.vaadin.flow.component.treegrid that return types with arguments of type SerializablePredicate -
Uses of SerializablePredicate in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder with parameters of type SerializablePredicateModifier and TypeMethodDescriptionstatic <T> Validator<T>
Validator.from
(SerializablePredicate<T> guard, ErrorMessageProvider errorMessageProvider) Builds a validator out of a conditional function and an error message provider.static <T> Validator<T>
Validator.from
(SerializablePredicate<T> guard, ErrorMessageProvider errorMessageProvider, ErrorLevel errorLevel) Builds a validator out of a conditional function and an error message provider.static <T> Validator<T>
Validator.from
(SerializablePredicate<T> guard, String errorMessage) Builds a validator out of a conditional function and an error message.static <T> Validator<T>
Validator.from
(SerializablePredicate<T> guard, String errorMessage, ErrorLevel errorLevel) Builds a validator out of a conditional function and an error message.void
BinderValidationStatus.notifyBindingValidationStatusHandlers
(SerializablePredicate<BindingValidationStatus<?>> filter) Notifies validation status handlers for bindings that pass given filter.default Binder.BindingBuilder<BEAN,
TARGET> Binder.BindingBuilder.withValidator
(SerializablePredicate<? super TARGET> predicate, ErrorMessageProvider errorMessageProvider) A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, ErrorMessageProvider)
factory method.default Binder.BindingBuilder<BEAN,
TARGET> Binder.BindingBuilder.withValidator
(SerializablePredicate<? super TARGET> predicate, ErrorMessageProvider errorMessageProvider, ErrorLevel errorLevel) A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, ErrorMessageProvider, ErrorLevel)
factory method.default Binder.BindingBuilder<BEAN,
TARGET> Binder.BindingBuilder.withValidator
(SerializablePredicate<? super TARGET> predicate, String message) A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, String)
factory method.default Binder.BindingBuilder<BEAN,
TARGET> Binder.BindingBuilder.withValidator
(SerializablePredicate<? super TARGET> predicate, String message, ErrorLevel errorLevel) A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, String, ErrorLevel)
factory method.Binder.withValidator
(SerializablePredicate<BEAN> predicate, ErrorMessageProvider errorMessageProvider) A convenience method to add a validator to this binder using theValidator.from(SerializablePredicate, ErrorMessageProvider)
factory method.Binder.withValidator
(SerializablePredicate<BEAN> predicate, String message) A convenience method to add a validator to this binder using theValidator.from(SerializablePredicate, String)
factory method. -
Uses of SerializablePredicate in com.vaadin.flow.data.provider
Methods in com.vaadin.flow.data.provider that return SerializablePredicateModifier and TypeMethodDescriptionstatic <T,
V> SerializablePredicate<T> InMemoryDataProviderHelpers.createEqualsFilter
(ValueProvider<T, V> valueProvider, V requiredValue) Creates a predicate that compares equality of the given required value to the value the given value provider obtains.static <T,
V> SerializablePredicate<T> InMemoryDataProviderHelpers.createValueProviderFilter
(ValueProvider<T, V> valueProvider, SerializablePredicate<V> valueFilter) Creates a new predicate from the given predicate and value provider.InMemoryDataProvider.getFilter()
Gets the current filter of this data provider.ListDataProvider.getFilter()
Methods in com.vaadin.flow.data.provider that return types with arguments of type SerializablePredicateModifier and TypeMethodDescriptionstatic <T> Optional<SerializablePredicate<T>>
DataViewUtils.getComponentFilter
(Component component) Gets the in-memory filter of a given component instance.Methods in com.vaadin.flow.data.provider with parameters of type SerializablePredicateModifier and TypeMethodDescriptionAbstractListDataView.addFilter
(SerializablePredicate<T> filter) default void
InMemoryDataProvider.addFilter
(SerializablePredicate<T> filter) Adds a filter to be applied to all queries.default <V> void
InMemoryDataProvider.addFilter
(ValueProvider<T, V> valueProvider, SerializablePredicate<V> valueFilter) Adds a filter for an item property.ListDataView.addFilter
(SerializablePredicate<T> filter) Adds a filter to be applied to all queries.static <T,
V> SerializablePredicate<T> InMemoryDataProviderHelpers.createValueProviderFilter
(ValueProvider<T, V> valueProvider, SerializablePredicate<V> valueFilter) Creates a new predicate from the given predicate and value provider.static <T> void
DataViewUtils.setComponentFilter
(Component component, SerializablePredicate<T> filter) Sets the in-memory filter to a given component instance.AbstractListDataView.setFilter
(SerializablePredicate<T> filter) void
InMemoryDataProvider.setFilter
(SerializablePredicate<T> filter) Sets a filter to be applied to all queries.default <V> void
InMemoryDataProvider.setFilter
(ValueProvider<T, V> valueProvider, SerializablePredicate<V> valueFilter) Sets a filter for an item property.void
ListDataProvider.setFilter
(SerializablePredicate<T> filter) ListDataView.setFilter
(SerializablePredicate<T> filter) Sets a filter to be applied to the data.Method parameters in com.vaadin.flow.data.provider with type arguments of type SerializablePredicateModifier and TypeMethodDescriptionListDataProvider.fetch
(Query<T, SerializablePredicate<T>> query) int
ListDataProvider.size
(Query<T, SerializablePredicate<T>> query) Constructor parameters in com.vaadin.flow.data.provider with type arguments of type SerializablePredicateModifierConstructorDescriptionAbstractListDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, Component component, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new instance ofAbstractListDataView
subclass and verifies the passed data provider is compatible with this data view implementation. -
Uses of SerializablePredicate in com.vaadin.flow.data.provider.hierarchy
Methods in com.vaadin.flow.data.provider.hierarchy that return SerializablePredicateMethods in com.vaadin.flow.data.provider.hierarchy that return types with arguments of type SerializablePredicateMethods in com.vaadin.flow.data.provider.hierarchy with parameters of type SerializablePredicateModifier and TypeMethodDescriptionvoid
TreeDataProvider.setFilter
(SerializablePredicate<T> filter) Method parameters in com.vaadin.flow.data.provider.hierarchy with type arguments of type SerializablePredicateModifier and TypeMethodDescriptionTreeDataProvider.fetchChildren
(HierarchicalQuery<T, SerializablePredicate<T>> query) int
TreeDataProvider.getChildCount
(HierarchicalQuery<T, SerializablePredicate<T>> query) -
Uses of SerializablePredicate in com.vaadin.flow.function
Methods in com.vaadin.flow.function that return SerializablePredicateModifier and TypeMethodDescriptiondefault SerializablePredicate<T>
default SerializablePredicate<T>
SerializablePredicate.negate()
default SerializablePredicate<T>
-
Uses of SerializablePredicate in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature with parameters of type SerializablePredicateModifier and TypeMethodDescriptionvoid
ElementPropertyMap.setUpdateFromClientFilter
(SerializablePredicate<String> updateFromClientFilter) Sets a filter that will be used by for determining whether a property maybe updated from the client.