|
||||||||||
| 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
Horizontal stretch position indicating that the contents will be rendered on the center. |
static byte |
POSITION_X_LEFT
Horizontal stretch position indicating that the contents will be rendered on the left side. |
static byte |
POSITION_X_RIGHT
Horizontal stretch position indicating that the contents will be rendered on the right side. |
static byte |
POSITION_X_STRETCH
Horizontal stretch position indicating that the contents will be horizontally stretched. |
static byte |
POSITION_Y_BOTTOM
Vertical stretch position indicating that the contents will be rendered on the bottom. |
static byte |
POSITION_Y_MIDDLE
Vertical stretch position indicating that the contents will be rendered on the middle. |
static byte |
POSITION_Y_STRETCH
Vertical stretch position indicating that the contents will be rendered vertically stretched. |
static byte |
POSITION_Y_TOP
Vertical stretch position indicating that the contents will be rendered on the top. |
| 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()
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 |
| Field Detail |
|---|
static final byte POSITION_X_LEFT
static final byte POSITION_X_CENTER
static final byte POSITION_X_RIGHT
static final byte POSITION_X_STRETCH
static final byte POSITION_Y_TOP
static final byte POSITION_Y_MIDDLE
static final byte POSITION_Y_BOTTOM
static final byte POSITION_Y_STRETCH
static final int NOT_CALCULATED
| Method 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_CALCULATEDint getHeight()
NOT_CALCULATEDjava.lang.Byte getMode()
MODE_OPAQUE
or MODE_TRANSPARENT
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||