Uses of Interface
com.vaadin.flow.function.SerializablePredicate
-
-
Uses of SerializablePredicate in com.vaadin.flow.component.checkbox
Methods in com.vaadin.flow.component.checkbox that return SerializablePredicate Modifier and Type Method Description SerializablePredicate<T>CheckboxGroup. getItemEnabledProvider()Returns the item enabled predicate.Methods in com.vaadin.flow.component.checkbox with parameters of type SerializablePredicate Modifier and Type Method Description voidCheckboxGroup. 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 SerializablePredicate Constructor Description CheckboxGroupListDataView(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 SerializablePredicate Modifier and Type Method Description ComboBoxDataView<T>ComboBox. setItems(InMemoryDataProvider<T> inMemoryDataProvider, SerializableFunction<String,SerializablePredicate<T>> 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 SerializablePredicate Modifier and Type Method Description ComboBoxListDataView<T>ComboBoxListDataView. addFilter(SerializablePredicate<T> filter)Adds a filter to be applied to all queries.ComboBoxListDataView<T>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 SerializablePredicate Constructor Description ComboBoxListDataView(DataCommunicator<T> dataCommunicator, ComboBox<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 SerializablePredicate Modifier and Type Method Description SerializablePredicate<T>Grid. getDragFilter()Gets the active drag filter.SerializablePredicate<T>Grid. getDropFilter()Gets the active drop filter.Methods in com.vaadin.flow.component.grid with parameters of type SerializablePredicate Modifier and Type Method Description voidGrid. setDragFilter(SerializablePredicate<T> dragFilter)Sets the drag filter for this drag source.voidGrid. setDropFilter(SerializablePredicate<T> dropFilter)Sets the drop filter for this drag target. -
Uses of SerializablePredicate in com.vaadin.flow.component.grid.contextmenu
Methods in com.vaadin.flow.component.grid.contextmenu that return SerializablePredicate Modifier and Type Method Description SerializablePredicate<T>GridContextMenu. getDynamicContentHandler()Gets the callback function that is executed before the context menu is opened.Methods in com.vaadin.flow.component.grid.contextmenu with parameters of type SerializablePredicate Modifier and Type Method Description voidGridContextMenu. setDynamicContentHandler(SerializablePredicate<T> dynamicContentHandler)Sets a callback that is executed before the context menu is opened. -
Uses of SerializablePredicate in com.vaadin.flow.component.grid.dataview
Constructor parameters in com.vaadin.flow.component.grid.dataview with type arguments of type SerializablePredicate Constructor Description GridListDataView(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.listbox
Methods in com.vaadin.flow.component.listbox that return SerializablePredicate Modifier and Type Method Description SerializablePredicate<ITEM>ListBoxBase. getItemEnabledProvider()Returns the item enabled predicate.Methods in com.vaadin.flow.component.listbox with parameters of type SerializablePredicate Modifier and Type Method Description voidListBoxBase. 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 SerializablePredicate Constructor Description ListBoxListDataView(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 SerializablePredicate Modifier and Type Method Description SerializablePredicate<T>RadioButtonGroup. getItemEnabledProvider()Returns the item enabled predicate.Methods in com.vaadin.flow.component.radiobutton with parameters of type SerializablePredicate Modifier and Type Method Description voidRadioButtonGroup. 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 SerializablePredicate Constructor Description RadioButtonGroupListDataView(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 SerializablePredicate Modifier and Type Method Description SerializablePredicate<T>Select. getItemEnabledProvider()Returns the item enabled predicate.Methods in com.vaadin.flow.component.select with parameters of type SerializablePredicate Modifier and Type Method Description voidSelect. 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 SerializablePredicate Constructor Description SelectListDataView(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 Modifier and Type Method Description HierarchicalDataProvider<T,SerializablePredicate<T>>TreeGrid. getDataProvider() -
Uses of SerializablePredicate in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder with parameters of type SerializablePredicate Modifier and Type Method Description static <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.voidBinderValidationStatus. 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<BEAN>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<BEAN>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 SerializablePredicate Modifier and Type Method Description static <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.SerializablePredicate<T>InMemoryDataProvider. getFilter()Gets the current filter of this data provider.SerializablePredicate<T>ListDataProvider. getFilter()Methods in com.vaadin.flow.data.provider that return types with arguments of type SerializablePredicate Modifier and Type Method Description static <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 SerializablePredicate Modifier and Type Method Description AbstractListDataView<T>AbstractListDataView. addFilter(SerializablePredicate<T> filter)default voidInMemoryDataProvider. addFilter(SerializablePredicate<T> filter)Adds a filter to be applied to all queries.default <V> voidInMemoryDataProvider. addFilter(ValueProvider<T,V> valueProvider, SerializablePredicate<V> valueFilter)Adds a filter for an item property.VListDataView. 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> voidDataViewUtils. setComponentFilter(Component component, SerializablePredicate<T> filter)Sets the in-memory filter to a given component instance.AbstractListDataView<T>AbstractListDataView. setFilter(SerializablePredicate<T> filter)voidInMemoryDataProvider. setFilter(SerializablePredicate<T> filter)Sets a filter to be applied to all queries.default <V> voidInMemoryDataProvider. setFilter(ValueProvider<T,V> valueProvider, SerializablePredicate<V> valueFilter)Sets a filter for an item property.voidListDataProvider. setFilter(SerializablePredicate<T> filter)VListDataView. 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 SerializablePredicate Modifier and Type Method Description Stream<T>ListDataProvider. fetch(Query<T,SerializablePredicate<T>> query)intListDataProvider. size(Query<T,SerializablePredicate<T>> query)Constructor parameters in com.vaadin.flow.data.provider with type arguments of type SerializablePredicate Constructor Description AbstractListDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier, Component component, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)Creates a new instance ofAbstractListDataViewsubclass 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 SerializablePredicate Modifier and Type Method Description SerializablePredicate<T>TreeDataProvider. getFilter()Methods in com.vaadin.flow.data.provider.hierarchy that return types with arguments of type SerializablePredicate Modifier and Type Method Description HierarchicalDataProvider<T,SerializablePredicate<T>>HasHierarchicalDataProvider. getDataProvider()Methods in com.vaadin.flow.data.provider.hierarchy with parameters of type SerializablePredicate Modifier and Type Method Description voidTreeDataProvider. setFilter(SerializablePredicate<T> filter)Method parameters in com.vaadin.flow.data.provider.hierarchy with type arguments of type SerializablePredicate Modifier and Type Method Description Stream<T>TreeDataProvider. fetchChildren(HierarchicalQuery<T,SerializablePredicate<T>> query)intTreeDataProvider. getChildCount(HierarchicalQuery<T,SerializablePredicate<T>> query) -
Uses of SerializablePredicate in com.vaadin.flow.function
Methods in com.vaadin.flow.function that return SerializablePredicate Modifier and Type Method Description default SerializablePredicate<T>SerializablePredicate. and(Predicate<? super T> other)default SerializablePredicate<T>SerializablePredicate. negate()default SerializablePredicate<T>SerializablePredicate. or(Predicate<? super T> other) -
Uses of SerializablePredicate in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature with parameters of type SerializablePredicate Modifier and Type Method Description voidElementPropertyMap. setUpdateFromClientFilter(SerializablePredicate<String> updateFromClientFilter)Sets a filter that will be used by for determining whether a property maybe updated from the client.
-