public class JRDesignCrosstabRowGroup extends JRDesignCrosstabGroup implements JRCrosstabRowGroup
Modifier and Type | Field and Description |
---|---|
protected CrosstabRowPositionEnum |
positionValue |
static java.lang.String |
PROPERTY_POSITION |
static java.lang.String |
PROPERTY_WIDTH |
protected int |
width |
designVariable, parent, PROPERTY_BUCKET, PROPERTY_HEADER, PROPERTY_NAME, PROPERTY_TOTAL_HEADER, PROPERTY_TOTAL_POSITION
bucket, header, name, totalHeader, totalPositionValue, variable
Constructor and Description |
---|
JRDesignCrosstabRowGroup() |
Modifier and Type | Method and Description |
---|---|
CrosstabRowPositionEnum |
getPositionValue()
Returns the position of the header contents for header stretching.
|
int |
getWidth()
Returns the width of the group headers.
|
void |
setHeader(JRDesignCellContents header)
Sets the group header cell.
|
void |
setPosition(CrosstabRowPositionEnum positionValue)
Sets the header contents stretch position.
|
void |
setTotalHeader(JRDesignCellContents totalHeader)
Sets the group total header cell.
|
void |
setWidth(int width)
Sets the header cell width.
|
clone, clone, getEventSupport, getParent, setBucket, setCellOrigin, setName, setTotalPosition
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
clone
public static final java.lang.String PROPERTY_POSITION
public static final java.lang.String PROPERTY_WIDTH
protected int width
protected CrosstabRowPositionEnum positionValue
public CrosstabRowPositionEnum getPositionValue()
JRCrosstabRowGroup
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 sizegetPositionValue
in interface JRCrosstabRowGroup
public void setPosition(CrosstabRowPositionEnum positionValue)
positionValue
- the header contents stretch positionJRCrosstabRowGroup.getPositionValue()
public int getWidth()
JRCrosstabRowGroup
getWidth
in interface JRCrosstabRowGroup
JRCrosstabGroup.getHeader()
,
JRCrosstabGroup.getTotalHeader()
public void setWidth(int width)
width
- the widthJRCrosstabRowGroup.getWidth()
public void setHeader(JRDesignCellContents header)
JRDesignCrosstabGroup
setHeader
in class JRDesignCrosstabGroup
header
- the header cellJRCrosstabGroup.getHeader()
public void setTotalHeader(JRDesignCellContents totalHeader)
JRDesignCrosstabGroup
setTotalHeader
in class JRDesignCrosstabGroup
totalHeader
- the total headerJRCrosstabGroup.getTotalHeader()
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com