|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.engine.base.JRBaseGraphicElement
This class provides functionality common to graphic elements. It provides implementation for the methods described in JRTextElement.
Field Summary | |
protected byte |
fill
|
protected byte |
pen
|
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
backcolor, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, mode, positionType, printWhenExpression, printWhenGroupChanges, stretchType, width, x, y |
Fields inherited from interface net.sf.jasperreports.engine.JRGraphicElement |
FILL_SOLID, PEN_1_POINT, PEN_2_POINT, PEN_4_POINT, PEN_DOTTED, PEN_NONE, PEN_THIN |
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 |
Constructor Summary | |
protected |
JRBaseGraphicElement()
Constructs an empty graphic element. |
protected |
JRBaseGraphicElement(JRGraphicElement graphicElement,
JRBaseObjectFactory factory)
Initializes properties that are specific to graphic elements. |
Method Summary | |
byte |
getFill()
Indicates the fill type used for this element. |
byte |
getPen()
Indicates the pen type used for this element. |
void |
setFill(byte fill)
Sets the fill type used for this element. |
void |
setPen(byte pen)
Sets the pen type that will used for this element. |
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRElement |
collectExpressions, getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
getCopy, writeXml |
Field Detail |
protected byte pen
protected byte fill
Constructor Detail |
protected JRBaseGraphicElement()
protected JRBaseGraphicElement(JRGraphicElement graphicElement, JRBaseObjectFactory factory)
graphicElement
- an element whose properties are copied to this element. Usually it is a
JRDesignGraphicElement
that must be transformed into an
JRBaseGraphicElement at compile time.factory
- a factory used in the compile processMethod Detail |
public byte getPen()
JRGraphicElement
getPen
in interface JRGraphicElement
public void setPen(byte pen)
JRGraphicElement
setPen
in interface JRGraphicElement
pen
- one of the pen constants in this classpublic byte getFill()
JRGraphicElement
getFill
in interface JRGraphicElement
public void setFill(byte fill)
JRGraphicElement
setFill
in interface JRGraphicElement
fill
- one of the pen constants in this class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |