T - the type of the sort propertypublic class SingleSortState<T> extends Object implements ISortState<T>, org.apache.wicket.util.io.IClusterable
| Constructor and Description |
|---|
SingleSortState() |
| Modifier and Type | Method and Description |
|---|---|
SortOrder |
getPropertySortOrder(T property)
Gets the sort order of a property
|
SortParam<T> |
getSort() |
void |
setPropertySortOrder(T property,
SortOrder order)
Sets sort order of the property
|
void |
setSort(SortParam<T> param)
Sets the current sort state
|
String |
toString() |
public void setPropertySortOrder(T property, SortOrder order)
ISortStatesetPropertySortOrder in interface ISortState<T>property - the name of the property to sort onorder - sort orderpublic SortOrder getPropertySortOrder(T property)
ISortStategetPropertySortOrder in interface ISortState<T>property - sort property to be checkedpublic void setSort(SortParam<T> param)
param - parameter containing new sorting informationCopyright © 2006–2015 Apache Software Foundation. All rights reserved.