|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRCellContents
Crosstab cell contents interface.
This interface is used for both crosstab row/column headers and data cells.
There are some restrictions/rules regarding crosstab cells:
Field Summary | |
---|---|
static int |
NOT_CALCULATED
Width or height value indicating that the value has not been computed. |
static byte |
POSITION_X_CENTER
Deprecated. Replaced by CENTER . |
static byte |
POSITION_X_LEFT
Deprecated. Replaced by LEFT . |
static byte |
POSITION_X_RIGHT
Deprecated. Replaced by RIGHT . |
static byte |
POSITION_X_STRETCH
Deprecated. Replaced by STRETCH . |
static byte |
POSITION_Y_BOTTOM
Deprecated. Replaced by BOTTOM . |
static byte |
POSITION_Y_MIDDLE
Deprecated. Replaced by MIDDLE . |
static byte |
POSITION_Y_STRETCH
Deprecated. Replaced by STRETCH . |
static byte |
POSITION_Y_TOP
Deprecated. Replaced by TOP . |
static java.lang.String |
PROPERTIES_PREFIX
A prefix used for properties that are set on frames generated by crosstab cells. |
static java.lang.String |
PROPERTY_COLUMN_SPAN
A property that provides the crosstab column span of a print frame. |
static java.lang.String |
PROPERTY_ROW_SPAN
A property that provides the crosstab row span of a print frame. |
static java.lang.String |
PROPERTY_TYPE
A property that provides the type of the cell that generated a print frame. |
static java.lang.String |
TYPE_COLUMN_HEADER
Type used by the column header cells. |
static java.lang.String |
TYPE_CROSSTAB_HEADER
Type used by the crosstab header cell . |
static java.lang.String |
TYPE_DATA
Type used by the crosstab data cells . |
static java.lang.String |
TYPE_NO_DATA_CELL
Type used by the crosstab "no data" cell . |
static java.lang.String |
TYPE_ROW_HEADER
Type used by the row header cells. |
Method Summary | |
---|---|
java.awt.Color |
getBackcolor()
Returns the cell background color. |
JRBox |
getBox()
Deprecated. Replaced by JRBoxContainer.getLineBox() |
int |
getHeight()
Returns the computed cell height. |
java.lang.Byte |
getMode()
Deprecated. Replaced by getModeValue() . |
ModeEnum |
getModeValue()
Returns the cell transparency mode. |
int |
getWidth()
Returns the computed cell width. |
Methods inherited from interface net.sf.jasperreports.engine.JRElementGroup |
---|
getChildren, getElementByKey, getElementGroup, getElements |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRVisitable |
---|
visit |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRBoxContainer |
---|
getDefaultLineColor, getLineBox |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Field Detail |
---|
static final byte POSITION_X_LEFT
LEFT
.
static final byte POSITION_X_CENTER
CENTER
.
static final byte POSITION_X_RIGHT
RIGHT
.
static final byte POSITION_X_STRETCH
STRETCH
.
static final byte POSITION_Y_TOP
TOP
.
static final byte POSITION_Y_MIDDLE
MIDDLE
.
static final byte POSITION_Y_BOTTOM
BOTTOM
.
static final byte POSITION_Y_STRETCH
STRETCH
.
static final int NOT_CALCULATED
static final java.lang.String PROPERTIES_PREFIX
JRPrintFrame
,
Constant Field Valuesstatic final java.lang.String PROPERTY_TYPE
The property value is one of
static final java.lang.String PROPERTY_ROW_SPAN
static final java.lang.String PROPERTY_COLUMN_SPAN
static final java.lang.String TYPE_CROSSTAB_HEADER
crosstab header cell
.
PROPERTY_TYPE
,
Constant Field Valuesstatic final java.lang.String TYPE_ROW_HEADER
JRCrosstabGroup.getHeader()
,
JRCrosstabGroup.getTotalHeader()
,
PROPERTY_TYPE
,
Constant Field Valuesstatic final java.lang.String TYPE_COLUMN_HEADER
JRCrosstabGroup.getHeader()
,
JRCrosstabGroup.getTotalHeader()
,
PROPERTY_TYPE
,
Constant Field Valuesstatic final java.lang.String TYPE_DATA
crosstab data cells
.
PROPERTY_TYPE
,
Constant Field Valuesstatic final java.lang.String TYPE_NO_DATA_CELL
crosstab "no data" cell
.
PROPERTY_TYPE
,
Constant Field ValuesMethod Detail |
---|
java.awt.Color getBackcolor()
The cell is filled with the background color only if the cell has opaque mode.
JRBox getBox()
JRBoxContainer.getLineBox()
int getWidth()
NOT_CALCULATED
int getHeight()
NOT_CALCULATED
java.lang.Byte getMode()
getModeValue()
.
ModeEnum getModeValue()
MODE_OPAQUE
or MODE_TRANSPARENT
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |