Package com.smartgwt.client.data
Class GroupTitleFunction
java.lang.Object
com.smartgwt.client.data.GroupTitleFunction
Provides a way to override the default behavior of
 
SimpleType.getGroupTitle().- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCalls the default implementation ofSimpleType.getGroupTitle().Returns the SimpleType object being customizedabstract ObjectDefines new behavior to overrideSimpleType.getGroupTitle().voidsetSimpleType(SimpleType simpleType) 
- 
Constructor Details- 
GroupTitleFunctionpublic GroupTitleFunction()
 
- 
- 
Method Details- 
setSimpleType
- 
getSimpleTypeReturns the SimpleType object being customized- Returns:
- cutomized SimpleType object
 
- 
executeDefaultpublic String executeDefault(Object value, Record record, Map field, String fieldName, Canvas component) Calls the default implementation ofSimpleType.getGroupTitle().- Parameters:
- value- the record value to return a group title for
- record- the record containing the passed group value
- field- the field relating to the value to be processed
- fieldName- the name of the field relating to the value to be processed
- component- the component, usually a- ListGrid, containing the passed record
- Returns:
- the group title for the passed parameters
 
- 
getTitlepublic abstract Object getTitle(Object value, Record record, Map field, String fieldName, Canvas component) Defines new behavior to overrideSimpleType.getGroupTitle().- Parameters:
- value- the record value to return a group title for
- record- the record containing the passed group value
- field- the field relating to the value to be processed
- fieldName- the name of the field relating to the value to be processed
- component- the component, usually a- ListGrid, containing the passed record
- Returns:
- the group title for the passed parameters
 
 
-