Class JRDesignCrosstabCell
java.lang.Object
net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
net.sf.jasperreports.crosstabs.design.JRDesignCrosstabCell
- All Implemented Interfaces:
Serializable,Cloneable,JRCrosstabCell,JRChangeEventsSupport,JRCloneable
Implementation of
JRCrosstabCell to be used
for report design.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
columnTotalGroup, contents, height, rowTotalGroup, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns the property change support object for this instance.voidsetColumnTotalGroup(String columnTotalGroup) Indicates that the cell corresponds to a total column.voidsetContents(JRDesignCellContents contents) Sets the cell contents.voidSets the cell height.voidsetRowTotalGroup(String rowTotalGroup) Indicates that the cell corresponds to a total row.voidSets the cell width.Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
getColumnTotalGroup, getContents, getHeight, getRowTotalGroup, getWidth
-
Field Details
-
PROPERTY_COLUMN_TOTAL_GROUP
- See Also:
-
PROPERTY_CONTENTS
- See Also:
-
PROPERTY_HEIGHT
- See Also:
-
PROPERTY_ROW_TOTAL_GROUP
- See Also:
-
PROPERTY_WIDTH
- See Also:
-
-
Constructor Details
-
JRDesignCrosstabCell
public JRDesignCrosstabCell()Creates a crosstab data cell.
-
-
Method Details
-
setColumnTotalGroup
Indicates that the cell corresponds to a total column.- Parameters:
columnTotalGroup- the corresponding column group- See Also:
-
setContents
Sets the cell contents.- Parameters:
contents- the contents- See Also:
-
setRowTotalGroup
Indicates that the cell corresponds to a total row.- Parameters:
rowTotalGroup- the corresponding row group- See Also:
-
setWidth
Sets the cell width.This is compulsory for base cells only.
- Parameters:
width- the width- See Also:
-
setHeight
Sets the cell height.This is compulsory for base cells only.
- Parameters:
height- the height- See Also:
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classJRBaseCrosstabCell
-
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
-