We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.grid.
Interface SortOrderProvider
-
All Superinterfaces:
Function<SortDirection,Stream<QuerySortOrder>>, Serializable, SerializableFunction<SortDirection,Stream<QuerySortOrder>>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SortOrderProvider extends SerializableFunction<SortDirection,Stream<QuerySortOrder>>
Generates the sort orders when rows are sorted by a column.
Author:
Vaadin Ltd
See Also:
Grid.Column.setSortOrderProvider(com.vaadin.flow.component.grid.SortOrderProvider)
-
-
Method Summary
All Methods Modifier and Type Method and Description Stream<QuerySortOrder>
apply(SortDirection sortDirection)
Generates the sort orders when rows are sorted by a column.
-
Methods inherited from interface com.vaadin.flow.function.SerializableFunction
identity
-
-
-
-
Method Detail
-
apply
Stream<QuerySortOrder> apply(SortDirection sortDirection)
Generates the sort orders when rows are sorted by a column.
Specified by:
apply
in interfaceFunction<SortDirection,Stream<QuerySortOrder>>
Parameters:
sortDirection
- desired sort directionReturns:
sort information
-
-