|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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()
Returns the cell border. |
int |
getHeight()
Returns the computed cell height. |
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 |
getCopy, writeXml |
Field Detail |
public static final byte POSITION_X_LEFT
public static final byte POSITION_X_CENTER
public static final byte POSITION_X_RIGHT
public static final byte POSITION_X_STRETCH
public static final byte POSITION_Y_TOP
public static final byte POSITION_Y_MIDDLE
public static final byte POSITION_Y_BOTTOM
public static final byte POSITION_Y_STRETCH
public static final int NOT_CALCULATED
Method Detail |
public java.awt.Color getBackcolor()
The cell is filled with the background color only if the crosstab has opaque mode. The default cell background color is the crosstab element background color.
public JRBox getBox()
public int getWidth()
NOT_CALCULATED
public int getHeight()
NOT_CALCULATED
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |