Uses of Enum Class
com.vaadin.flow.data.provider.SortDirection
Packages that use SortDirection
Package
Description
-
Uses of SortDirection in com.vaadin.flow.component.crud
Methods in com.vaadin.flow.component.crud that return types with arguments of type SortDirectionModifier and TypeMethodDescriptionCrudFilter.getSortOrders()Returns the sort orders applied to the grid as a map of column to sort direction. -
Uses of SortDirection in com.vaadin.flow.component.grid
Methods in com.vaadin.flow.component.grid with parameters of type SortDirectionModifier and TypeMethodDescriptionSortOrderProvider.apply(SortDirection sortDirection) Generates the sort orders when rows are sorted by a column.protected GridSortOrder<T> GridSortOrderBuilder.createSortOrder(Grid.Column<T> by, SortDirection direction) Grid.Column.getComparator(SortDirection sortDirection) Gets the comparator to use with in-memory sorting for this column when sorting in the given direction.Grid.Column.getSortOrder(SortDirection direction) Gets the sort orders to use with back-end sorting for this column when sorting in the given direction.Constructors in com.vaadin.flow.component.grid with parameters of type SortDirectionModifierConstructorDescriptionGridSortOrder(Grid.Column<T> column, SortDirection direction) Construct sorting information for usage in aGrid. -
Uses of SortDirection in com.vaadin.flow.data.provider
Methods in com.vaadin.flow.data.provider that return SortDirectionModifier and TypeMethodDescriptionSortOrder.getDirection()Sorting direction.SortDirection.getOpposite()Get the sort direction that is the direct opposite to this one.static SortDirectionReturns the enum constant of this class with the specified name.static SortDirection[]SortDirection.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.flow.data.provider with parameters of type SortDirectionModifier and TypeMethodDescription<V1 extends Comparable<? super V1>>
AbstractListDataView<T> AbstractListDataView.addSortOrder(ValueProvider<T, V1> valueProvider, SortDirection sortDirection) default <V extends Comparable<? super V>>
voidInMemoryDataProvider.addSortOrder(ValueProvider<T, V> valueProvider, SortDirection sortDirection) Adds a property and direction to the default sorting for this data provider.<V1 extends Comparable<? super V1>>
VListDataView.addSortOrder(ValueProvider<T, V1> valueProvider, SortDirection sortDirection) Adds a property and direction to the default sorting.protected QuerySortOrderQuerySortOrderBuilder.createSortOrder(String by, SortDirection direction) protected abstract TSortOrderBuilder.createSortOrder(V by, SortDirection direction) Creates a sort order object with the given parameters.static <V extends Comparable<? super V>>
Comparator<V> InMemoryDataProviderHelpers.getNaturalSortComparator(SortDirection sortDirection) Gets the natural order comparator for the type argument, or the natural order comparator reversed if the given sorting direction isDESCENDING.static <V extends Comparable<? super V>,T>
SerializableComparator<T> InMemoryDataProviderHelpers.propertyComparator(ValueProvider<T, V> valueProvider, SortDirection sortDirection) Creates a comparator for the return type of the givenValueProvider, sorted in the direction specified by the givenSortDirection.<V1 extends Comparable<? super V1>>
AbstractListDataView<T> AbstractListDataView.setSortOrder(ValueProvider<T, V1> valueProvider, SortDirection sortDirection) default <V extends Comparable<? super V>>
voidInMemoryDataProvider.setSortOrder(ValueProvider<T, V> valueProvider, SortDirection sortDirection) Sets the property and direction to use as the default sorting for this data provider.<V1 extends Comparable<? super V1>>
VListDataView.setSortOrder(ValueProvider<T, V1> valueProvider, SortDirection sortDirection) Sets the property and direction to use as the default sorting.Constructors in com.vaadin.flow.data.provider with parameters of type SortDirectionModifierConstructorDescriptionQuerySortOrder(String sorted, SortDirection direction) Constructs sorting information for usage in aQuery.SortOrder(T sorted, SortDirection direction) Constructs a field sorting information.