|
||||||||||
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.base.JRBaseCrosstabRowGroup
public class JRBaseCrosstabRowGroup
Base read-only implementation of crosstab row groups.
Field Summary | |
---|---|
protected byte |
position
|
protected int |
width
|
Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup |
---|
bucket, header, name, totalHeader, totalPosition, variable |
Constructor Summary | |
---|---|
JRBaseCrosstabRowGroup(JRCrosstabRowGroup group,
JRBaseObjectFactory factory)
|
Method Summary | |
---|---|
byte |
getPosition()
Returns the position of the header contents for header stretching. |
int |
getWidth()
Returns the width of the group headers. |
Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup |
---|
clone, getBucket, getHeader, getName, getTotalHeader, getTotalPosition, 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.crosstabs.JRCrosstabGroup |
---|
getBucket, getHeader, getName, getTotalHeader, getTotalPosition, getVariable, hasTotal |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Field Detail |
---|
protected int width
protected byte position
Constructor Detail |
---|
public JRBaseCrosstabRowGroup(JRCrosstabRowGroup group, JRBaseObjectFactory factory)
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 int getWidth()
JRCrosstabRowGroup
getWidth
in interface JRCrosstabRowGroup
JRCrosstabGroup.getHeader()
,
JRCrosstabGroup.getTotalHeader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |