
public class SortInfoBean extends Object implements Serializable, SortInfo
| Constructor and Description |
|---|
SortInfoBean()
Creates a new sort field instance.
|
SortInfoBean(String field,
SortDir sortDir)
Creates a new sort info instance.
|
SortInfoBean(ValueProvider<?,?> valueProvider,
SortDir sortDir)
Creates a new sort info instance.
|
| Modifier and Type | Method and Description |
|---|---|
SortDir |
getSortDir()
Returns the sort direction.
|
String |
getSortField()
Returns the sort field.
|
void |
setSortDir(SortDir sortDir)
Sets the sort direction.
|
void |
setSortField(String sortField)
Sets the sort field.
|
public SortInfoBean()
public SortInfoBean(String field, SortDir sortDir)
field - the sort fieldsortDir - the sort directionpublic SortInfoBean(ValueProvider<?,?> valueProvider, SortDir sortDir)
valueProvider - the value provider for the sort fieldsortDir - the sort directionpublic String getSortField()
getSortField in interface SortInfopublic void setSortField(String sortField)
setSortField in interface SortInfosortField - the sort fieldpublic SortDir getSortDir()
getSortDir in interface SortInfopublic void setSortDir(SortDir sortDir)
setSortDir in interface SortInfosortDir - the sort directionCopyright © 2018. All rights reserved.