Package com.vaadin.flow.component.grid
Class Filter<T>
java.lang.Object
com.vaadin.flow.component.grid.Filter<T>
- Type Parameters:
T- type of the underlying grid this filter is compatible with
Filter class to set a filter predicate to a
grid in lazy
loading mode.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.function.SerializablePredicate<T> Get the filter predicate.voidsetFilterPredicate(com.vaadin.flow.function.SerializablePredicate<T> filterPredicate) Set the filter predicate.
-
Constructor Details
-
Filter
public Filter()Default constructor. -
Filter
Constructor with filter predicate.- Parameters:
filterPredicate- the filter predicate to set
-
-
Method Details
-
getFilterPredicate
Get the filter predicate.- Returns:
- the filter predicate
-
setFilterPredicate
Set the filter predicate.- Parameters:
filterPredicate- the filter predicate to set
-