|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.ui.grid.sort.SortOrder
public class SortOrder
Sort order descriptor. Contains column and direction references.
| Constructor Summary | |
|---|---|
SortOrder(GridColumn<?,?> column)
Create a sort order descriptor with a default sorting direction value of SortDirection.ASCENDING. |
|
SortOrder(GridColumn<?,?> column,
com.vaadin.shared.ui.grid.SortDirection direction)
Create a sort order descriptor. |
|
| Method Summary | |
|---|---|
GridColumn<?,?> |
getColumn()
Returns the GridColumn reference given in the constructor. |
com.vaadin.shared.ui.grid.SortDirection |
getDirection()
Returns the SortDirection value given in the constructor. |
SortOrder |
getOpposite()
Returns a new SortOrder object with the sort direction reversed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortOrder(GridColumn<?,?> column)
SortDirection.ASCENDING.
column - a grid column descriptor object
public SortOrder(GridColumn<?,?> column,
com.vaadin.shared.ui.grid.SortDirection direction)
column - a grid column descriptor objectdirection - a sorting direction value (ascending or descending)| Method Detail |
|---|
public GridColumn<?,?> getColumn()
GridColumn reference given in the constructor.
public com.vaadin.shared.ui.grid.SortDirection getDirection()
SortDirection value given in the constructor.
public SortOrder getOpposite()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||