public class JRBaseCrosstabColumnGroup extends JRBaseCrosstabGroup implements JRCrosstabColumnGroup
Modifier and Type | Field and Description |
---|---|
protected JRCellContents |
crosstabHeader |
protected int |
height |
protected CrosstabColumnPositionEnum |
positionValue |
bucket, header, name, totalHeader, totalPositionValue, variable
Constructor and Description |
---|
JRBaseCrosstabColumnGroup(JRCrosstabColumnGroup group,
JRBaseObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
JRCellContents |
getCrosstabHeader()
Returns the crosstab header cell of the column group.
|
int |
getHeight()
Returns the height of the group headers.
|
CrosstabColumnPositionEnum |
getPositionValue()
Returns the position of the header contents for header stretching.
|
clone, getBucket, getHeader, getName, getTotalHeader, getTotalPositionValue, getVariable, hasTotal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBucket, getHeader, getName, getTotalHeader, getTotalPositionValue, getVariable, hasTotal
protected int height
protected CrosstabColumnPositionEnum positionValue
protected JRCellContents crosstabHeader
public JRBaseCrosstabColumnGroup(JRCrosstabColumnGroup group, JRBaseObjectFactory factory)
public CrosstabColumnPositionEnum getPositionValue()
JRCrosstabColumnGroup
The 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 JRCrosstabColumnGroup
public int getHeight()
JRCrosstabColumnGroup
getHeight
in interface JRCrosstabColumnGroup
JRCrosstabGroup.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 JRCrosstabColumnGroup
null
if no header cell is presentJRCrosstab.getHeaderCell()
,
JRCrosstabColumnGroup.getHeight()
public Object clone()
clone
in interface JRCloneable
clone
in class JRBaseCrosstabGroup
Copyright © 2015. All rights reserved.