public class SortSpecifier extends DataClass
factoryCreated, factoryProperties
Constructor and Description |
---|
SortSpecifier(JavaScriptObject jsObj) |
SortSpecifier(java.lang.String fieldName,
SortDirection sortDirection) |
Modifier and Type | Method and Description |
---|---|
static SortSpecifier[] |
convertToArray(JavaScriptObject nativeArray) |
static SortSpecifier[] |
convertToArray(java.lang.String sortByString) |
java.lang.String |
getField()
The field name to which this sortSpecifier applies
|
static SortSpecifier |
getOrCreateRef(JavaScriptObject jsObj) |
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
|
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, 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, setFactoryCreated
public SortSpecifier(java.lang.String fieldName, SortDirection sortDirection)
public SortSpecifier(JavaScriptObject jsObj)
public static SortSpecifier getOrCreateRef(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(JavaScriptObject nativeArray)