Package net.sf.jasperreports.crosstabs
Interface JRCrosstabRowGroup
- All Superinterfaces:
Cloneable,JRCloneable,JRCrosstabGroup
- All Known Implementing Classes:
JRBaseCrosstabRowGroup,JRDesignCrosstabRowGroup,JRFillCrosstabRowGroup
Crosstab row group interface.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the position of the header contents for header stretching.intgetWidth()Returns the width of the group headers.Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
cloneMethods inherited from interface net.sf.jasperreports.crosstabs.JRCrosstabGroup
getBucket, getHeader, getMergeHeaderCells, getName, getTotalHeader, getTotalPosition, getVariable, hasTotal
-
Method Details
-
getWidth
int getWidth()Returns the width of the group headers.- Returns:
- the width of the group headers
- See Also:
-
getPosition
CrosstabRowPositionEnum getPosition()Returns the position of the header contents for header stretching.The row group headers stretch vertically when there are multiple sub group entries. The header contents will be adjusted to the new height depending on this attribute:
CrosstabRowPositionEnum.TOP- the contents will be rendered at the top of of the headerCrosstabRowPositionEnum.MIDDLE- the contents will be rendered on the center of the headerJCrosstabRowPositionEnum.BOTTOM- the contents will be rendered at the bottom of the headerCrosstabRowPositionEnum.STRETCH- the contents will be proportionally stretched to the new header size
- Returns:
- the position of the header contents for header stretching
-