public class JRBaseCrosstabCell extends Object implements JRCrosstabCell, Serializable
JRCrosstabCell
.Modifier and Type | Field and Description |
---|---|
protected String |
columnTotalGroup |
protected JRCellContents |
contents |
protected Integer |
height |
protected String |
rowTotalGroup |
protected Integer |
width |
Modifier | Constructor and Description |
---|---|
protected |
JRBaseCrosstabCell() |
|
JRBaseCrosstabCell(JRCrosstabCell crosstabCell,
JRBaseObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getColumnTotalGroup()
Returns the name of the column group if the crosstab cell corresponds to a total column
and
null otherwise. |
JRCellContents |
getContents()
Returns the cell contents.
|
Integer |
getHeight()
Returns the height of the cell.
|
String |
getRowTotalGroup()
Returns the name of the row group if the crosstab cell corresponds to a total row
and
null otherwise. |
Integer |
getWidth()
Returns the width of the cell.
|
protected Integer width
protected Integer height
protected String rowTotalGroup
protected String columnTotalGroup
protected JRCellContents contents
protected JRBaseCrosstabCell()
public JRBaseCrosstabCell(JRCrosstabCell crosstabCell, JRBaseObjectFactory factory)
public String getRowTotalGroup()
JRCrosstabCell
null
otherwise.getRowTotalGroup
in interface JRCrosstabCell
public String getColumnTotalGroup()
JRCrosstabCell
null
otherwise.getColumnTotalGroup
in interface JRCrosstabCell
public JRCellContents getContents()
JRCrosstabCell
Should never return null, but empty cell contents instead.
getContents
in interface JRCrosstabCell
public Integer getHeight()
JRCrosstabCell
The height of the cell can be unspecified.
The height used for the cell is computed base on the rules described
here
.
getHeight
in interface JRCrosstabCell
public Integer getWidth()
JRCrosstabCell
The width of the cell can be unspecified.
The width used for the cell is computed base on the rules described
here
.
getWidth
in interface JRCrosstabCell
public Object clone()
clone
in interface JRCloneable
clone
in class Object
Copyright © 2016. All rights reserved.