|
||||||||||
| 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.JRDesignCrosstabColumnGroup
public class JRDesignCrosstabColumnGroup
Crosstab column group implementation to be used for report designing.
| Field Summary | |
|---|---|
protected int |
height
|
protected CrosstabColumnPositionEnum |
positionValue
|
static String |
PROPERTY_HEIGHT
|
static String |
PROPERTY_POSITION
|
| Fields inherited from class net.sf.jasperreports.crosstabs.design.JRDesignCrosstabGroup |
|---|
designVariable, parent, PROPERTY_BUCKET, PROPERTY_HEADER, PROPERTY_NAME, PROPERTY_TOTAL_HEADER, PROPERTY_TOTAL_POSITION |
| Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup |
|---|
bucket, header, name, totalHeader, totalPositionValue, variable |
| Constructor Summary | |
|---|---|
JRDesignCrosstabColumnGroup()
Creates a column group. |
|
| Method Summary | |
|---|---|
int |
getHeight()
Returns the height of the group headers. |
CrosstabColumnPositionEnum |
getPositionValue()
Returns the position of the header contents for header stretching. |
void |
setHeader(JRDesignCellContents header)
Sets the group header cell. |
void |
setHeight(int height)
Sets the header cell height. |
void |
setPosition(CrosstabColumnPositionEnum positionValue)
Sets the header contents stretch position. |
void |
setTotalHeader(JRDesignCellContents totalHeader)
Sets the group total header cell. |
| Methods inherited from class net.sf.jasperreports.crosstabs.design.JRDesignCrosstabGroup |
|---|
clone, clone, getEventSupport, getParent, setBucket, setCellOrigin, setName, setTotalPosition |
| Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup |
|---|
getBucket, getHeader, getName, getTotalHeader, getTotalPositionValue, 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, getTotalPositionValue, getVariable, hasTotal |
| Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
|---|
clone |
| Field Detail |
|---|
public static final String PROPERTY_HEIGHT
public static final String PROPERTY_POSITION
protected int height
protected CrosstabColumnPositionEnum positionValue
| Constructor Detail |
|---|
public JRDesignCrosstabColumnGroup()
| Method Detail |
|---|
public CrosstabColumnPositionEnum getPositionValue()
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:
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 size
getPositionValue in interface JRCrosstabColumnGrouppublic void setPosition(CrosstabColumnPositionEnum positionValue)
positionValue - the header contents stretch positionJRCrosstabColumnGroup.getPositionValue()public int getHeight()
JRCrosstabColumnGroup
getHeight in interface JRCrosstabColumnGroupJRCrosstabGroup.getHeader(),
JRCrosstabGroup.getTotalHeader()public void setHeight(int height)
height - the heightJRCrosstabColumnGroup.getHeight()public void setHeader(JRDesignCellContents header)
JRDesignCrosstabGroup
setHeader in class JRDesignCrosstabGroupheader - the header cellJRCrosstabGroup.getHeader()public void setTotalHeader(JRDesignCellContents totalHeader)
JRDesignCrosstabGroup
setTotalHeader in class JRDesignCrosstabGrouptotalHeader - the total headerJRCrosstabGroup.getTotalHeader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||