Class JRBaseCrosstabCell
java.lang.Object
net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
- All Implemented Interfaces:
Serializable,Cloneable,JRCrosstabCell,JRCloneable
- Direct Known Subclasses:
JRDesignCrosstabCell
Base read-only implementation of
JRCrosstabCell.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected JRCellContentsprotected Integerprotected Stringprotected Integer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJRBaseCrosstabCell(JRCrosstabCell crosstabCell, JRBaseObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns the name of the column group if the crosstab cell corresponds to a total column andnullotherwise.Returns the cell contents.Returns the height of the cell.Returns the name of the row group if the crosstab cell corresponds to a total row andnullotherwise.getWidth()Returns the width of the cell.
-
Field Details
-
width
-
height
-
rowTotalGroup
-
columnTotalGroup
-
contents
-
-
Constructor Details
-
JRBaseCrosstabCell
protected JRBaseCrosstabCell() -
JRBaseCrosstabCell
-
-
Method Details
-
getRowTotalGroup
Description copied from interface:JRCrosstabCellReturns the name of the row group if the crosstab cell corresponds to a total row andnullotherwise.- Specified by:
getRowTotalGroupin interfaceJRCrosstabCell- Returns:
- the name of the total row group this cell corresponds to
-
getColumnTotalGroup
Description copied from interface:JRCrosstabCellReturns the name of the column group if the crosstab cell corresponds to a total column andnullotherwise.- Specified by:
getColumnTotalGroupin interfaceJRCrosstabCell- Returns:
- the name of the total column group this cell corresponds to
-
getContents
Description copied from interface:JRCrosstabCellReturns the cell contents.Should never return null, but empty cell contents instead.
- Specified by:
getContentsin interfaceJRCrosstabCell- Returns:
- the cell contents
-
getHeight
Description copied from interface:JRCrosstabCellReturns the height of the cell.The height of the cell can be unspecified. The height used for the cell is computed base on the rules described
here.- Specified by:
getHeightin interfaceJRCrosstabCell- Returns:
- the width of the cell
-
getWidth
Description copied from interface:JRCrosstabCellReturns the width of the cell.The width of the cell can be unspecified. The width used for the cell is computed base on the rules described
here.- Specified by:
getWidthin interfaceJRCrosstabCell- Returns:
- the width of the cell
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-