public class SortSpecifier extends DataClass
Constructor and Description |
---|
SortSpecifier(com.google.gwt.core.client.JavaScriptObject jsObj) |
SortSpecifier(java.lang.String fieldName,
SortDirection sortDirection) |
Modifier and Type | Method and Description |
---|---|
static SortSpecifier[] |
convertToArray(com.google.gwt.core.client.JavaScriptObject nativeArray) |
static SortSpecifier[] |
convertToArray(java.lang.String sortByString) |
java.lang.String |
getField()
The field name to which this sortSpecifier applies
|
SortDirection |
getSortDirection()
The direction in which this specifier should sort.
|
void |
setDirection(SortDirection sortDirection)
The direction in which this specifier should sort.
|
void |
setField(java.lang.String field)
The fieldName to which this sortSpecifier applies
|
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject
public SortSpecifier(java.lang.String fieldName, SortDirection sortDirection)
public SortSpecifier(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setDirection(SortDirection sortDirection)
sortDirection
- the sortDirectionpublic SortDirection getSortDirection()
public void setField(java.lang.String field)
field
- the field namepublic java.lang.String getField()
public static SortSpecifier[] convertToArray(java.lang.String sortByString)
public static SortSpecifier[] convertToArray(com.google.gwt.core.client.JavaScriptObject nativeArray)