public interface JRCellContents extends JRElementGroup, JRStyleContainer, JRBoxContainer, JRPropertiesHolder
This interface is used for both crosstab row/column headers and data cells.
There are some restrictions/rules regarding crosstab cells:
Modifier and Type | Field and Description |
---|---|
static int |
NOT_CALCULATED
Width or height value indicating that the value has not been computed.
|
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_CROSSTAB_TITLE
Type used by the
crosstab title 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.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBackcolor()
Returns the cell background color.
|
int |
getHeight()
Returns the computed cell height.
|
ModeEnum |
getModeValue()
Returns the cell transparency mode.
|
int |
getWidth()
Returns the computed cell width.
|
getChildren, getElementByKey, getElementGroup, getElements
visit
clone
getDefaultLineColor, getLineBox
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
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_TITLE
crosstab title cell
.PROPERTY_TYPE
,
Constant Field Valuesstatic final java.lang.String TYPE_CROSSTAB_HEADER
crosstab header cell
.PROPERTY_TYPE
,
Constant Field Valuesstatic final java.lang.String TYPE_ROW_HEADER
static final java.lang.String TYPE_COLUMN_HEADER
static 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 Valuesjava.awt.Color getBackcolor()
The cell is filled with the background color only if the cell has opaque mode.
int getWidth()
NOT_CALCULATED
int getHeight()
NOT_CALCULATED
ModeEnum getModeValue()
ModeEnum.OPAQUE
or ModeEnum.TRANSPARENT
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com