public abstract class JRTemplateGraphicElement extends JRTemplateElement implements JRCommonGraphicElement
| Modifier and Type | Field and Description |
|---|---|
protected JRPen |
linePen |
defaultStyleProvider, origin, parentStyle| Modifier | Constructor and Description |
|---|---|
protected |
JRTemplateGraphicElement(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider) |
protected |
JRTemplateGraphicElement(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRGraphicElement graphicElement) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyLinePen(JRPen pen)
Copies
pen attributes. |
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.
|
protected void |
setGraphicElement(JRGraphicElement graphicElement) |
void |
setPen(byte pen)
Deprecated.
Replaced by
getLinePen() |
void |
setPen(java.lang.Byte pen)
Deprecated.
Replaced by
getLinePen() |
getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getMode, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setMode, setMode, setStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBackcolor, getForecolor, getHeight, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setModegetDefaultStyleProvider, getStyle, getStyleNameReferenceprotected JRPen linePen
protected JRTemplateGraphicElement(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider)
protected JRTemplateGraphicElement(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JRGraphicElement graphicElement)
protected void setGraphicElement(JRGraphicElement graphicElement)
public void copyLinePen(JRPen pen)
pen attributes.pen - the object to copy the attributes frompublic JRPen getLinePen()
getLinePen in interface JRCommonGraphicElementpublic byte getPen()
getLinePen()public java.lang.Byte getOwnPen()
getLinePen()public void setPen(byte pen)
getLinePen()public void setPen(java.lang.Byte pen)
getLinePen()public 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 JRPenContainer© 2001-2010 Jaspersoft Corporation www.jaspersoft.com