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, setStyle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBackcolor, getForecolor, getHeight, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
protected 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 JRCommonGraphicElement
public 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 JRCommonGraphicElement
public java.lang.Byte getOwnFill()
getOwnFillValue()
getOwnFill
in interface JRCommonGraphicElement
public void setFill(byte fill)
setFill(FillEnum)
setFill
in interface JRCommonGraphicElement
public void setFill(java.lang.Byte fill)
setFill(FillEnum)
setFill
in interface JRCommonGraphicElement
public FillEnum getFillValue()
JRCommonGraphicElement
getFillValue
in interface JRCommonGraphicElement
FillEnum
public FillEnum getOwnFillValue()
JRCommonGraphicElement
getOwnFillValue
in interface JRCommonGraphicElement
FillEnum
public void setFill(FillEnum fillValue)
JRCommonGraphicElement
setFill
in interface JRCommonGraphicElement
fillValue
- a value representing one of the line direction constants in FillEnum
public java.lang.Float getDefaultLineWidth()
getDefaultLineWidth
in interface JRPenContainer
public java.awt.Color getDefaultLineColor()
getDefaultLineColor
in interface JRPenContainer
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com