|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRGraphicElement
An abstract representation of a report graphic element. It provides basic functionality for images, lines, rectangles and ellipses.
Field Summary | |
---|---|
static byte |
FILL_SOLID
Constant useful for specifying that the inside of an element should be drawn using the background color. |
static byte |
PEN_1_POINT
Contant useful for specifying that an element border of 1 pixel. |
static byte |
PEN_2_POINT
Contant useful for specifying that an element border of 2 pixels. |
static byte |
PEN_4_POINT
Contant useful for specifying that an element border of 4 pixels. |
static byte |
PEN_DOTTED
Contant useful for specifying that an element has a dashed border. |
static byte |
PEN_NONE
Contant useful for specifying that the element border will not be drawn. |
static byte |
PEN_THIN
Contant useful for specifying that an element has a thin border (0.5 pixels) |
Fields inherited from interface net.sf.jasperreports.engine.JRElement |
---|
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT |
Method Summary | |
---|---|
java.lang.Byte |
getOwnPen()
Deprecated. Replaced by JRCommonGraphicElement.getLinePen() |
byte |
getPen()
Deprecated. Replaced by JRCommonGraphicElement.getLinePen() |
void |
setFill(byte fill)
Sets the fill type used for this element. |
void |
setFill(java.lang.Byte fill)
|
void |
setPen(byte pen)
Deprecated. Replaced by JRCommonGraphicElement.getLinePen() |
void |
setPen(java.lang.Byte pen)
Deprecated. Replaced by JRCommonGraphicElement.getLinePen() |
Methods inherited from interface net.sf.jasperreports.engine.JRElement |
---|
collectExpressions, getElementGroup, getHeight, getKey, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
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.JRPropertiesHolder |
---|
getParentProperties, getPropertiesMap, hasProperties |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonGraphicElement |
---|
getFill, getLinePen, getOwnFill |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
---|
getBackcolor, getForecolor, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode |
Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer |
---|
getDefaultLineColor, getDefaultLineWidth |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Field Detail |
---|
static final byte PEN_NONE
static final byte PEN_1_POINT
static final byte PEN_2_POINT
static final byte PEN_4_POINT
static final byte PEN_DOTTED
static final byte PEN_THIN
static final byte FILL_SOLID
Method Detail |
---|
byte getPen()
JRCommonGraphicElement.getLinePen()
java.lang.Byte getOwnPen()
JRCommonGraphicElement.getLinePen()
void setPen(byte pen)
JRCommonGraphicElement.getLinePen()
pen
- one of the pen constants in this classvoid setPen(java.lang.Byte pen)
JRCommonGraphicElement.getLinePen()
void setFill(byte fill)
fill
- one of the pen constants in this classvoid setFill(java.lang.Byte fill)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |