|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
net.sf.jasperreports.crosstabs.design.JRDesignCrosstabGroup
net.sf.jasperreports.crosstabs.design.JRDesignCrosstabRowGroup
public class JRDesignCrosstabRowGroup
Crosstab row group implementation to be used for report designing.
Field Summary | |
---|---|
protected byte |
position
|
protected int |
width
|
Fields inherited from class net.sf.jasperreports.crosstabs.design.JRDesignCrosstabGroup |
---|
designVariable |
Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup |
---|
bucket, header, name, totalHeader, totalPosition, variable |
Constructor Summary | |
---|---|
JRDesignCrosstabRowGroup()
|
Method Summary | |
---|---|
byte |
getPosition()
Returns the position of the header contents for header stretching. |
int |
getWidth()
Returns the width of the group headers. |
void |
setPosition(byte position)
Sets the header contents stretch position. |
void |
setWidth(int width)
Sets the header cell width. |
Methods inherited from class net.sf.jasperreports.crosstabs.design.JRDesignCrosstabGroup |
---|
setBucket, setHeader, setName, setTotalHeader, setTotalPosition |
Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup |
---|
getBucket, getHeader, getName, getTotalHeader, getTotalPosition, getVariable, hasTotal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.crosstabs.JRCrosstabGroup |
---|
getBucket, getHeader, getName, getTotalHeader, getTotalPosition, getVariable, hasTotal |
Field Detail |
---|
protected int width
protected byte position
Constructor Detail |
---|
public JRDesignCrosstabRowGroup()
Method Detail |
---|
public byte getPosition()
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:
JRCellContents.POSITION_Y_TOP
- the contents will be rendered at the top of of the headerJRCellContents.POSITION_Y_MIDDLE
- the contents will be rendered on the center of the headerJRCellContents.POSITION_Y_BOTTOM
- the contents will be rendered at the bottom of the headerJRCellContents.POSITION_Y_STRETCH
- the contents will be proportionally stretched to the new header size
getPosition
in interface JRCrosstabRowGroup
public void setPosition(byte position)
position
- the header contents stretch positionJRCrosstabRowGroup.getPosition()
public int getWidth()
JRCrosstabRowGroup
getWidth
in interface JRCrosstabRowGroup
JRCrosstabGroup.getHeader()
,
JRCrosstabGroup.getTotalHeader()
public void setWidth(int width)
width
- the widthJRCrosstabRowGroup.getWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |