net.sf.jasperreports.engine.base
public abstract class JRBaseGraphicElement extends JRBaseElement implements JRGraphicElement
| Modifier and Type | Field and Description |
|---|---|
protected FillEnum |
fillValue |
protected JRPen |
linePen |
backcolor, defaultStyleProvider, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, modeValue, parentStyle, parentStyleNameReference, positionTypeValue, printWhenExpression, printWhenGroupChanges, PROPERTY_POSITION_TYPE, PROPERTY_PRINT_IN_FIRST_WHOLE_BAND, PROPERTY_PRINT_REPEATED_VALUES, PROPERTY_PRINT_WHEN_DETAIL_OVERFLOWS, PROPERTY_REMOVE_LINE_WHEN_BLANK, PROPERTY_STRETCH_TYPE, PROPERTY_WIDTH, PROPERTY_X, stretchTypeValue, width, x, yFILL_SOLID, PEN_1_POINT, PEN_2_POINT, PEN_4_POINT, PEN_DOTTED, PEN_NONE, PEN_THINMODE_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| Modifier | Constructor and Description |
|---|---|
protected |
JRBaseGraphicElement(JRGraphicElement graphicElement,
JRBaseObjectFactory factory)
Constructs an empty graphic element.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
java.awt.Color |
getDefaultLineColor() |
java.lang.Float |
getDefaultLineWidth() |
byte |
getFill()
Deprecated.
Replaced by
getFillValue() |
FillEnum |
getFillValue()
Indicates the fill type used for this element.
|
JRPen |
getLinePen() |
java.lang.Byte |
getOwnFill()
Deprecated.
Replaced by
getOwnFillValue() |
FillEnum |
getOwnFillValue()
Indicates the own fill type used for this element.
|
java.lang.Byte |
getOwnPen()
Deprecated.
Replaced by
getLinePen() |
byte |
getPen()
Deprecated.
Replaced by
getLinePen() |
void |
setFill(byte fill)
Deprecated.
Replaced by
setFill(FillEnum) |
void |
setFill(java.lang.Byte fill)
Deprecated.
Replaced by
setFill(FillEnum) |
void |
setFill(FillEnum fillValue)
Sets the fill type used for this element.
|
void |
setPen(byte pen)
Deprecated.
Replaced by
getLinePen() |
void |
setPen(java.lang.Byte pen)
Deprecated.
Replaced by
getLinePen() |
clone, getBackcolor, getBaseStyle, getDefaultStyleProvider, getElementGroup, getEventSupport, getForecolor, getHeight, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getStretchType, getStretchTypeValue, getStyle, getStyleNameReference, getWidth, getX, getY, hasProperties, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setMode, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setXequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollectExpressions, getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setXvisitgetParentProperties, getPropertiesMap, hasPropertiesgetBackcolor, getForecolor, getHeight, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setModegetDefaultStyleProvider, getStyle, getStyleNameReferenceprotected 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 processpublic JRPen getLinePen()
getLinePen in interface JRCommonGraphicElementpublic byte getPen()
getLinePen()JRGraphicElementgetPen in interface JRGraphicElementpublic java.lang.Byte getOwnPen()
getLinePen()getOwnPen in interface JRGraphicElementpublic void setPen(byte pen)
getLinePen()JRGraphicElementsetPen in interface JRGraphicElementpen - one of the pen constants in this classpublic void setPen(java.lang.Byte pen)
getLinePen()setPen in interface JRGraphicElementpublic byte getFill()
getFillValue()getFill in interface JRCommonGraphicElementpublic java.lang.Byte getOwnFill()
getOwnFillValue()getOwnFill in interface JRCommonGraphicElementpublic void setFill(byte fill)
setFill(FillEnum)setFill in interface JRCommonGraphicElementpublic void setFill(java.lang.Byte fill)
setFill(FillEnum)setFill in interface JRCommonGraphicElementpublic FillEnum getFillValue()
JRCommonGraphicElementgetFillValue in interface JRCommonGraphicElementFillEnumpublic FillEnum getOwnFillValue()
JRCommonGraphicElementgetOwnFillValue in interface JRCommonGraphicElementFillEnumpublic void setFill(FillEnum fillValue)
JRCommonGraphicElementsetFill in interface JRCommonGraphicElementfillValue - a value representing one of the line direction constants in FillEnumpublic java.lang.Float getDefaultLineWidth()
getDefaultLineWidth in interface JRPenContainerpublic java.awt.Color getDefaultLineColor()
getDefaultLineColor in interface JRPenContainerpublic java.lang.Object clone()
clone in interface JRCloneableclone in class JRBaseElement© 2001-2010 Jaspersoft Corporation www.jaspersoft.com