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, templateIdenticalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBackcolor, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setModegetDefaultStyleProvider, getStyle, getStyleNameReferencegetHashCode, isIdenticalprotected 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 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 Float getDefaultLineWidth()
getDefaultLineWidth in interface JRPenContainerpublic Color getDefaultLineColor()
getDefaultLineColor in interface JRPenContainerprotected void addGraphicHash(ObjectUtils.HashCode hash)
protected boolean graphicIdentical(JRTemplateGraphicElement template)
Copyright © 2017. All rights reserved.