public class JRBaseCrosstabColumnGroup extends JRBaseCrosstabGroup implements JRCrosstabColumnGroup
Modifier and Type | Field and Description |
---|---|
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 |
---|---|
int |
getHeight()
Returns the height of the group headers.
|
byte |
getPosition()
Deprecated.
Replaced by
getPositionValue() . |
CrosstabColumnPositionEnum |
getPositionValue()
Returns the position of the header contents for header stretching.
|
clone, getBucket, getHeader, getName, getTotalHeader, getTotalPosition, getTotalPositionValue, getVariable, hasTotal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBucket, getHeader, getName, getTotalHeader, getTotalPosition, getTotalPositionValue, getVariable, hasTotal
clone
protected int height
protected CrosstabColumnPositionEnum positionValue
public JRBaseCrosstabColumnGroup(JRCrosstabColumnGroup group, JRBaseObjectFactory factory)
public byte getPosition()
getPositionValue()
.getPosition
in interface JRCrosstabColumnGroup
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()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com