public class JRFillCrosstabColumnGroup extends JRFillCrosstabGroup implements JRCrosstabColumnGroup
| Modifier and Type | Field and Description |
|---|---|
protected JRFillCellContents |
crosstabHeader |
header, parentGroup, totalHeader, variable| Constructor and Description |
|---|
JRFillCrosstabColumnGroup(JRCrosstabColumnGroup group,
JRFillCrosstabObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
JRCellContents |
getCrosstabHeader()
Returns the crosstab header cell of the column group.
|
JRFillCellContents |
getFillCrosstabHeader() |
int |
getHeight()
Returns the height of the group headers.
|
CrosstabColumnPositionEnum |
getPositionValue()
Returns the position of the header contents for header stretching.
|
clone, getBucket, getFillHeader, getFillTotalHeader, getFillVariable, getHeader, getMergeHeaderCells, getName, getTotalHeader, getTotalPositionValue, getVariable, hasTotalequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBucket, getHeader, getMergeHeaderCells, getName, getTotalHeader, getTotalPositionValue, getVariable, hasTotalcloneprotected JRFillCellContents crosstabHeader
public JRFillCrosstabColumnGroup(JRCrosstabColumnGroup group, JRFillCrosstabObjectFactory factory)
public CrosstabColumnPositionEnum getPositionValue()
JRCrosstabColumnGroupThe column group headers stretch horizontally when there are multiple sub group entries. The header contents will be adjusted to the new width depending on this attribute:
CrosstabColumnPositionEnum.LEFT - the contents will be rendered on the left side of the headerCrosstabColumnPositionEnum.CENTER - the contents will be rendered on the center of the headerCrosstabColumnPositionEnum.RIGHT - the contents will be rendered on the right side of the headerCrosstabColumnPositionEnum.STRETCH - the contents will be proportionally stretched to the new header sizegetPositionValue in interface JRCrosstabColumnGrouppublic int getHeight()
JRCrosstabColumnGroupgetHeight in interface JRCrosstabColumnGroupJRCrosstabGroup.getHeader(),
JRCrosstabGroup.getTotalHeader()public JRCellContents getCrosstabHeader()
JRCrosstabColumnGroup
The cell will be rendered at the left of the corresponding row of column headers,
potentially overlapping the crosstab header cell.
The width of the cell is the total width of row group headers, and the height is the height of the corresponding column header.
getCrosstabHeader in interface JRCrosstabColumnGroupnull if no header cell is presentJRCrosstab.getHeaderCell(),
JRCrosstabColumnGroup.getHeight()public JRFillCellContents getFillCrosstabHeader()
Copyright © 2017. All rights reserved.