@Deprecated public class Sort extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
List<SortOrder> |
build()
Deprecated.
Build a sort order list, ready to be passed to Grid.
|
static Sort |
by(Object propertyId)
Deprecated.
Start building a Sort order by sorting a provided column in ascending
order.
|
static Sort |
by(Object propertyId,
com.vaadin.shared.data.sort.SortDirection direction)
Deprecated.
Start building a Sort order by sorting a provided column.
|
Sort |
then(Object propertyId)
Deprecated.
Continue building a Sort order.
|
Sort |
then(Object propertyId,
com.vaadin.shared.data.sort.SortDirection direction)
Deprecated.
Continue building a Sort order.
|
public static Sort by(Object propertyId)
propertyId
- a property id, corresponding to a data source propertypublic static Sort by(Object propertyId, com.vaadin.shared.data.sort.SortDirection direction)
propertyId
- a property id, corresponding to a data source propertydirection
- a sort direction valuepublic Sort then(Object propertyId)
propertyId
- a property id, corresponding to a data source propertypublic Sort then(Object propertyId, com.vaadin.shared.data.sort.SortDirection direction)
propertyId
- a property id, corresponding to a data source propertydirection
- a sort direction valueCopyright © 2020 Vaadin Ltd. All rights reserved.