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 SummaryFields inherited from class com.smartgwt.client.core.DataClassfactoryCreated, factoryProperties
- 
Constructor SummaryConstructorsConstructorDescriptionGroupSpecifier(JavaScriptObject jsObj) GroupSpecifier(String property) GroupSpecifier(String property, String grouping) 
- 
Method SummaryModifier 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 GroupSpecifiergetOrCreateRef(JavaScriptObject jsObj) voidThe fieldName to which this groupSpecifier appliesvoidsetGrouping(String grouping) The groupingMode to applied to associated field.Methods inherited from class com.smartgwt.client.core.DataClassapplyFactoryProperties, 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
- 
setGroupingThe groupingMode to applied to associated field.- Parameters:
- grouping- the groupingMode
 
- 
getGroupingThe groupingMode applied to the associated field.- Returns:
- the groupingMode
 
- 
setFieldThe fieldName to which this groupSpecifier applies- Parameters:
- field- the field name
 
- 
getFieldThe fieldName to which this groupSpecifier applies- Returns:
- the field name
 
- 
convertToArray
- 
convertToArray
 
-