|
||||||||||
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 CrosstabRowPositionEnum |
positionValue
|
static java.lang.String |
PROPERTY_POSITION
|
static java.lang.String |
PROPERTY_WIDTH
|
protected int |
width
|
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 | |
---|---|
JRDesignCrosstabRowGroup()
|
Method Summary | |
---|---|
byte |
getPosition()
Deprecated. Replaced by getPositionValue() . |
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(byte position)
Deprecated. Replaced by setPosition(CrosstabRowPositionEnum) . |
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. |
Methods inherited from class net.sf.jasperreports.crosstabs.design.JRDesignCrosstabGroup |
---|
clone, clone, getEventSupport, getParent, setBucket, setCellOrigin, setName, setTotalPosition, setTotalPosition |
Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup |
---|
getBucket, getHeader, getName, getTotalHeader, getTotalPosition, 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, getTotalPosition, getTotalPositionValue, getVariable, hasTotal |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Field Detail |
---|
public static final java.lang.String PROPERTY_POSITION
public static final java.lang.String PROPERTY_WIDTH
protected int width
protected CrosstabRowPositionEnum positionValue
Constructor Detail |
---|
public JRDesignCrosstabRowGroup()
Method Detail |
---|
public byte getPosition()
getPositionValue()
.
getPosition
in interface JRCrosstabRowGroup
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 size
getPositionValue
in interface JRCrosstabRowGroup
public void setPosition(byte position)
setPosition(CrosstabRowPositionEnum)
.
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |