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()
JRCrosstabCellnull otherwise.getRowTotalGroup in interface JRCrosstabCellpublic String getColumnTotalGroup()
JRCrosstabCellnull otherwise.getColumnTotalGroup in interface JRCrosstabCellpublic JRCellContents getContents()
JRCrosstabCellShould never return null, but empty cell contents instead.
getContents in interface JRCrosstabCellpublic 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 JRCrosstabCellpublic 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 JRCrosstabCellpublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2017. All rights reserved.