Class JRFillCrosstabCell
- java.lang.Object
-
- net.sf.jasperreports.crosstabs.fill.JRFillCrosstabCell
-
- All Implemented Interfaces:
java.lang.Cloneable,JRCrosstabCell,JRCloneable
public class JRFillCrosstabCell extends java.lang.Object implements JRCrosstabCell
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRFillCellContentscontents
-
Constructor Summary
Constructors Constructor Description JRFillCrosstabCell(JRCrosstabCell cell, JRFillCrosstabObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()java.lang.StringgetColumnTotalGroup()Returns the name of the column group if the crosstab cell corresponds to a total column andnullotherwise.JRCellContentsgetContents()Returns the cell contents.JRFillCellContentsgetFillContents()java.lang.IntegergetHeight()Returns the height of the cell.java.lang.StringgetRowTotalGroup()Returns the name of the row group if the crosstab cell corresponds to a total row andnullotherwise.java.lang.IntegergetWidth()Returns the width of the cell.
-
-
-
Field Detail
-
contents
protected JRFillCellContents contents
-
-
Constructor Detail
-
JRFillCrosstabCell
public JRFillCrosstabCell(JRCrosstabCell cell, JRFillCrosstabObjectFactory factory)
-
-
Method Detail
-
getRowTotalGroup
public java.lang.String 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
public java.lang.String 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
public JRCellContents 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
-
getFillContents
public JRFillCellContents getFillContents()
-
getWidth
public java.lang.Integer 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
-
getHeight
public java.lang.Integer 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
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classjava.lang.Object
-
-