Package | Description |
---|---|
com.vaadin.flow.component.grid | |
com.vaadin.flow.data.provider | |
com.vaadin.flow.data.provider.hierarchy |
Modifier and Type | Method and Description |
---|---|
protected SerializableComparator<T> |
Grid.createSortingComparator()
Creates a comparator for grid to sort rows.
|
SerializableComparator<T> |
Grid.Column.getComparator(SortDirection sortDirection)
Gets the comparator to use with in-memory sorting for this column
when sorting in the given direction.
|
Modifier and Type | Method and Description |
---|---|
SerializableComparator<T> |
DataCommunicator.getInMemorySorting()
Returns the
Comparator to use with in-memory sorting. |
SerializableComparator<T> |
ListDataProvider.getSortComparator() |
SerializableComparator<T> |
InMemoryDataProvider.getSortComparator()
Gets the current sort comparator of this data provider.
|
static <V extends Comparable<? super V>,T> |
InMemoryDataProviderHelpers.propertyComparator(ValueProvider<T,V> valueProvider,
SortDirection sortDirection)
Creates a comparator for the return type of the given
ValueProvider , sorted in the direction specified by the given
SortDirection . |
Modifier and Type | Method and Description |
---|---|
default void |
InMemoryDataProvider.addSortComparator(SerializableComparator<T> comparator)
Adds a comparator to the default sorting for this data provider.
|
void |
DataCommunicator.setInMemorySorting(SerializableComparator<T> comparator)
Sets the
Comparator to use with in-memory sorting. |
void |
ListDataProvider.setSortComparator(SerializableComparator<T> comparator) |
void |
InMemoryDataProvider.setSortComparator(SerializableComparator<T> comparator)
Sets the comparator to use as the default sorting for this data provider.
|
Modifier and Type | Method and Description |
---|---|
SerializableComparator<T> |
TreeDataProvider.getSortComparator() |
Modifier and Type | Method and Description |
---|---|
void |
HierarchicalDataCommunicator.setInMemorySorting(SerializableComparator<T> comparator) |
void |
TreeDataProvider.setSortComparator(SerializableComparator<T> comparator) |
Copyright © 2025. All rights reserved.