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.
Package com.vaadin.flow.component.grid
Interface SortOrderProvider
All Superinterfaces:
Function<SortDirection,
, Serializable
, SerializableFunction<SortDirection,
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:
-
Method Summary
Modifier and TypeMethodDescriptionapply
(SortDirection sortDirection) Generates the sort orders when rows are sorted by a column.
-
Method Details
-
apply
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
-