com.crystaldecisions.sdk.occa.report.data
Interface IGroupNameField

All Superinterfaces:
IClone, IField
All Known Implementing Classes:
GroupNameField

public interface IGroupNameField
extends IField

This interface defines a group name field. By default, the group name field has the same values as the group's condition field. It is not necessary to use a controller to create the group name field. As long as a group is defined, the SDK can accept it in the RowsetController and ReportDefController. Using the RowsetController, you can use the data fields of the RowsetMetaData object to fetch the group's value. Using ReportDefController, you can add a FieldObject. Then you can bind the GroupNameField to this FieldObject by assigning its FormulaForm to the FieldObject's DataSource. This FieldObject should be added to the sections in the group header and group footer areas of the report.


Method Summary
 IGroup getGroup()
          Returns the group whose name will be used in the group name field.
 void setGroup(IGroup group)
          Sets the group whose name will be used in the group name field.
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.data.IField
getDescription, getDisplayName, getFormulaForm, getHeadingText, getIsRecurring, getKind, getLength, getLongName, getName, getShortName, getType, setDescription, setHeadingText, setLength, setName, setType
 

Method Detail

getGroup

IGroup getGroup()

Returns the group whose name will be used in the group name field.

Returns:
The IGroup interface.

setGroup

void setGroup(IGroup group)

Sets the group whose name will be used in the group name field.

Parameters:
group - The IGroup interface.