|
||||||||||
| 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.JRBaseCrosstabColumnGroup
public class JRBaseCrosstabColumnGroup
Base read-only implementation of crosstab column groups.
| Field Summary | |
|---|---|
protected int |
height
|
protected byte |
position
|
| Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup |
|---|
bucket, header, name, totalHeader, totalPosition, variable |
| Constructor Summary | |
|---|---|
JRBaseCrosstabColumnGroup(JRCrosstabColumnGroup group,
JRBaseObjectFactory factory)
|
|
| Method Summary | |
|---|---|
int |
getHeight()
Returns the height of the group headers. |
byte |
getPosition()
Returns the position of the header contents for header stretching. |
| 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 height
protected byte position
| Constructor Detail |
|---|
public JRBaseCrosstabColumnGroup(JRCrosstabColumnGroup group,
JRBaseObjectFactory factory)
| Method Detail |
|---|
public byte getPosition()
JRCrosstabColumnGroupThe 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:
JRCellContents.POSITION_X_LEFT - the contents will be rendered on the left side of the headerJRCellContents.POSITION_X_CENTER - the contents will be rendered on the center of the headerJRCellContents.POSITION_X_RIGHT - the contents will be rendered on the right side of the headerJRCellContents.POSITION_X_STRETCH - the contents will be proportionally stretched to the new header size
getPosition in interface JRCrosstabColumnGrouppublic int getHeight()
JRCrosstabColumnGroup
getHeight in interface JRCrosstabColumnGroupJRCrosstabGroup.getHeader(),
JRCrosstabGroup.getTotalHeader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||