Class JRFillCrosstabColumnGroup
- java.lang.Object
-
- net.sf.jasperreports.crosstabs.fill.JRFillCrosstabGroup
-
- net.sf.jasperreports.crosstabs.fill.JRFillCrosstabColumnGroup
-
- All Implemented Interfaces:
Cloneable,JRCrosstabColumnGroup,JRCrosstabGroup,JRCloneable
public class JRFillCrosstabColumnGroup extends JRFillCrosstabGroup implements JRCrosstabColumnGroup
Crosstab column group implementation used at fill time.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRFillCellContentscrosstabHeader-
Fields inherited from class net.sf.jasperreports.crosstabs.fill.JRFillCrosstabGroup
header, parentGroup, totalHeader, variable
-
-
Constructor Summary
Constructors Constructor Description JRFillCrosstabColumnGroup(JRCrosstabColumnGroup group, JRFillCrosstabObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRCellContentsgetCrosstabHeader()Returns the crosstab header cell of the column group.JRFillCellContentsgetFillCrosstabHeader()intgetHeight()Returns the height of the group headers.CrosstabColumnPositionEnumgetPositionValue()Returns the position of the header contents for header stretching.-
Methods inherited from class net.sf.jasperreports.crosstabs.fill.JRFillCrosstabGroup
clone, getBucket, getFillHeader, getFillTotalHeader, getFillVariable, getHeader, getMergeHeaderCells, getName, getTotalHeader, getTotalPositionValue, getVariable, hasTotal
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
Methods inherited from interface net.sf.jasperreports.crosstabs.JRCrosstabGroup
getBucket, getHeader, getMergeHeaderCells, getName, getTotalHeader, getTotalPositionValue, getVariable, hasTotal
-
-
-
-
Field Detail
-
crosstabHeader
protected JRFillCellContents crosstabHeader
-
-
Constructor Detail
-
JRFillCrosstabColumnGroup
public JRFillCrosstabColumnGroup(JRCrosstabColumnGroup group, JRFillCrosstabObjectFactory factory)
-
-
Method Detail
-
getPositionValue
public CrosstabColumnPositionEnum getPositionValue()
Description copied from interface:JRCrosstabColumnGroupReturns the position of the header contents for header stretching.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 size
- Specified by:
getPositionValuein interfaceJRCrosstabColumnGroup- Returns:
- the position of the header contents for header stretching
-
getHeight
public int getHeight()
Description copied from interface:JRCrosstabColumnGroupReturns the height of the group headers.- Specified by:
getHeightin interfaceJRCrosstabColumnGroup- Returns:
- the height of the group headers
- See Also:
JRCrosstabGroup.getHeader(),JRCrosstabGroup.getTotalHeader()
-
getCrosstabHeader
public JRCellContents getCrosstabHeader()
Description copied from interface:JRCrosstabColumnGroupReturns the crosstab header cell of the column group.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.
- Specified by:
getCrosstabHeaderin interfaceJRCrosstabColumnGroup- Returns:
- the crosstab header cell of the column group, or
nullif no header cell is present - See Also:
JRCrosstab.getHeaderCell(),JRCrosstabColumnGroup.getHeight()
-
getFillCrosstabHeader
public JRFillCellContents getFillCrosstabHeader()
-
-