Class JRDesignCrosstabGroup
java.lang.Object
net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
net.sf.jasperreports.crosstabs.design.JRDesignCrosstabGroup
- All Implemented Interfaces:
Serializable,Cloneable,CrosstabBaseCloneable,JRCrosstabGroup,JRChangeEventsSupport,JRCloneable
- Direct Known Subclasses:
JRDesignCrosstabColumnGroup,JRDesignCrosstabRowGroup
public abstract class JRDesignCrosstabGroup
extends JRBaseCrosstabGroup
implements JRChangeEventsSupport
Base crosstab row/column group implementation to be used at design time.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JRDesignVariableprotected JRDesignCrosstabstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
bucket, header, mergeHeaderCells, name, totalHeader, totalPosition, variable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()clone(JRDesignCrosstab parent) Returns the property change support object for this instance.Returns the group parent crosstab.voidsetBucket(JRDesignCrosstabBucket bucket) Sets the group bucketing information.protected voidsetCellOrigin(JRCellContents cell, JRCrosstabOrigin origin) voidsetHeader(JRDesignCellContents header) Sets the group header cell.voidsetMergeHeaderCells(Boolean mergeHeaderCells) Defines whether the header cell should span across entries in the group.voidSets the group name.voidsetTotalHeader(JRDesignCellContents totalHeader) Sets the group total header cell.voidsetTotalPosition(CrosstabTotalPositionEnum totalPosition) Sets the position of the total row/column.Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
clone, getBucket, getHeader, getMergeHeaderCells, getName, getTotalHeader, getTotalPosition, getVariable, hasTotal
-
Field Details
-
PROPERTY_BUCKET
- See Also:
-
PROPERTY_HEADER
- See Also:
-
PROPERTY_NAME
- See Also:
-
PROPERTY_TOTAL_HEADER
- See Also:
-
PROPERTY_TOTAL_POSITION
- See Also:
-
PROPERTY_MERGE_HEADER_CELLS
- See Also:
-
designVariable
-
parent
-
-
Constructor Details
-
JRDesignCrosstabGroup
protected JRDesignCrosstabGroup()
-
-
Method Details
-
setName
Sets the group name.- Parameters:
name- the name- See Also:
-
setTotalPosition
Sets the position of the total row/column.- Parameters:
totalPosition- the position of the total row/column- See Also:
-
setBucket
Sets the group bucketing information.- Parameters:
bucket- the bucketing information- See Also:
-
setHeader
Sets the group header cell.- Parameters:
header- the header cell- See Also:
-
setTotalHeader
Sets the group total header cell.- Parameters:
totalHeader- the total header- See Also:
-
setMergeHeaderCells
Defines whether the header cell should span across entries in the group.- Parameters:
mergeHeaderCells- whether the header cell should span across entries in the group; ifnullthe default will apply- See Also:
-
getParent
Returns the group parent crosstab. The parent is automatically set when the group is added to the crosstab.- Returns:
- the parent crosstab
-
setCellOrigin
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classJRBaseCrosstabGroup
-
clone
-
getEventSupport
Description copied from interface:JRChangeEventsSupportReturns the property change support object for this instance.- Specified by:
getEventSupportin interfaceJRChangeEventsSupport- Returns:
- the property change support object for this instance
-