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 |
---|---|
protected void |
addGraphicHash(ObjectUtils.HashCode hash) |
void |
copyLinePen(JRPen pen)
Copies
pen attributes. |
Color |
getDefaultLineColor() |
Float |
getDefaultLineWidth() |
FillEnum |
getFillValue()
Indicates the fill type used for this element.
|
JRPen |
getLinePen() |
FillEnum |
getOwnFillValue()
Indicates the own fill type used for this element.
|
protected boolean |
graphicIdentical(JRTemplateGraphicElement template) |
void |
setFill(FillEnum fillValue)
Sets the fill type used for this element.
|
protected void |
setGraphicElement(JRGraphicElement graphicElement) |
addTemplateHash, getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getStyleResolver, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setStyle, templateIdentical
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBackcolor, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getHashCode, isIdentical
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 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 Float getDefaultLineWidth()
getDefaultLineWidth
in interface JRPenContainer
public Color getDefaultLineColor()
getDefaultLineColor
in interface JRPenContainer
protected void addGraphicHash(ObjectUtils.HashCode hash)
protected boolean graphicIdentical(JRTemplateGraphicElement template)
Copyright © 2019 TIBCO Software Inc.. All rights reserved.