Package com.smartgwt.client.data
Class GroupSpecifier
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.data.GroupSpecifier
- All Implemented Interfaces:
HasHandlers
Class defining the details of a single group operation
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
ConstructorDescriptionGroupSpecifier
(JavaScriptObject jsObj) GroupSpecifier
(String property) GroupSpecifier
(String property, String grouping) -
Method Summary
Modifier and TypeMethodDescriptionstatic GroupSpecifier[]
convertToArray
(JavaScriptObject nativeArray) static GroupSpecifier[]
convertToArray
(String groupByString) getField()
The fieldName to which this groupSpecifier appliesThe groupingMode applied to the associated field.static GroupSpecifier
getOrCreateRef
(JavaScriptObject jsObj) void
The fieldName to which this groupSpecifier appliesvoid
setGrouping
(String grouping) The groupingMode to applied to associated field.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, 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
-
Constructor Details
-
GroupSpecifier
-
GroupSpecifier
-
GroupSpecifier
-
-
Method Details
-
getOrCreateRef
-
setGrouping
The groupingMode to applied to associated field.- Parameters:
grouping
- the groupingMode
-
getGrouping
The groupingMode applied to the associated field.- Returns:
- the groupingMode
-
setField
The fieldName to which this groupSpecifier applies- Parameters:
field
- the field name
-
getField
The fieldName to which this groupSpecifier applies- Returns:
- the field name
-
convertToArray
-
convertToArray
-