Uses of Enum Class
com.vaadin.flow.data.provider.SortDirection
Packages that use SortDirection
-
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.