public abstract class GroupTitleFunction
extends java.lang.Object
SimpleType.getGroupTitle()
.Constructor and Description |
---|
GroupTitleFunction() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
executeDefault(java.lang.Object value,
Record record,
java.util.Map field,
java.lang.String fieldName,
Canvas component)
Calls the default implementation of
SimpleType.getGroupTitle() . |
SimpleType |
getSimpleType()
Returns the SimpleType object being customized
|
abstract java.lang.Object |
getTitle(java.lang.Object value,
Record record,
java.util.Map field,
java.lang.String fieldName,
Canvas component)
Defines new behavior to override
SimpleType.getGroupTitle() . |
void |
setSimpleType(SimpleType simpleType) |
public void setSimpleType(SimpleType simpleType)
public SimpleType getSimpleType()
public java.lang.String executeDefault(java.lang.Object value, Record record, java.util.Map field, java.lang.String fieldName, Canvas component)
SimpleType.getGroupTitle()
.value
- the record value to return a group title forrecord
- the record containing the passed group valuefield
- the field relating to the value to be processedfieldName
- the name of the field relating to the value to be processedcomponent
- the component, usually a ListGrid
,
containing the passed recordpublic abstract java.lang.Object getTitle(java.lang.Object value, Record record, java.util.Map field, java.lang.String fieldName, Canvas component)
SimpleType.getGroupTitle()
.value
- the record value to return a group title forrecord
- the record containing the passed group valuefield
- the field relating to the value to be processedfieldName
- the name of the field relating to the value to be processedcomponent
- the component, usually a ListGrid
,
containing the passed record