|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.data.sort.Sort
public class Sort
Fluid Sort API. Provides a convenient, human-readable way of specifying multi-column sort order.
| Method Summary | |
|---|---|
java.util.List<SortOrder> |
build()
Build a sort order list, ready to be passed to Grid |
static Sort |
by(java.lang.Object propertyId)
Start building a Sort order by sorting a provided column in ascending order. |
static Sort |
by(java.lang.Object propertyId,
com.vaadin.shared.data.sort.SortDirection direction)
Start building a Sort order by sorting a provided column. |
Sort |
then(java.lang.Object propertyId)
Continue building a Sort order. |
Sort |
then(java.lang.Object propertyId,
com.vaadin.shared.data.sort.SortDirection direction)
Continue building a Sort order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Sort by(java.lang.Object propertyId)
propertyId - a property id, corresponding to a data source property
public static Sort by(java.lang.Object propertyId,
com.vaadin.shared.data.sort.SortDirection direction)
propertyId - a property id, corresponding to a data source propertydirection - a sort direction value
public Sort then(java.lang.Object propertyId)
propertyId - a property id, corresponding to a data source property
public Sort then(java.lang.Object propertyId,
com.vaadin.shared.data.sort.SortDirection direction)
propertyId - a property id, corresponding to a data source propertydirection - a sort direction value
public java.util.List<SortOrder> build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||