net.sf.jasperreports.engine.fill
public class JRTemplatePrintGraphicElement extends JRTemplatePrintElement implements JRPrintGraphicElement
JRPrintGraphicElement
that uses
a JRTemplateGraphicElement
instance to
store common attributes.template
Modifier | Constructor and Description |
---|---|
protected |
JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement) |
Modifier and Type | Method and Description |
---|---|
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 fill)
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() |
accept, getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getMode, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getTemplate, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setMode, setMode, setMode, setStyle, setTemplate, setWidth, setX, setY, updateElementTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, getHeight, getKey, getOrigin, getWidth, getX, getY, setHeight, setStyle, setWidth, setX, setY
getParentProperties, getPropertiesMap, hasProperties
getBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
protected JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement)
public JRPen getLinePen()
getLinePen
in interface JRCommonGraphicElement
public byte getPen()
getLinePen()
JRPrintGraphicElement
getPen
in interface JRPrintGraphicElement
public java.lang.Byte getOwnPen()
getLinePen()
getOwnPen
in interface JRPrintGraphicElement
public void setPen(byte pen)
getLinePen()
JRPrintGraphicElement
setPen
in interface JRPrintGraphicElement
pen
- one of the pen constants in this classpublic void setPen(java.lang.Byte pen)
getLinePen()
setPen
in interface JRPrintGraphicElement
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
setFill
in interface JRPrintGraphicElement
public void setFill(java.lang.Byte fill)
setFill(FillEnum)
setFill
in interface JRCommonGraphicElement
setFill
in interface JRPrintGraphicElement
public FillEnum getFillValue()
JRCommonGraphicElement
getFillValue
in interface JRCommonGraphicElement
FillEnum
public FillEnum getOwnFillValue()
JRCommonGraphicElement
getOwnFillValue
in interface JRCommonGraphicElement
FillEnum
public void setFill(FillEnum fill)
JRPrintGraphicElement
setFill
in interface JRCommonGraphicElement
setFill
in interface JRPrintGraphicElement
fill
- one of the pen constants in FillEnum
.public java.lang.Float getDefaultLineWidth()
getDefaultLineWidth
in interface JRPenContainer
public java.awt.Color getDefaultLineColor()
getDefaultLineColor
in interface JRPenContainer
getDefaultLineColor
in class JRTemplatePrintElement
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com