public class JRTemplatePrintGraphicElement extends JRTemplatePrintElement implements JRPrintGraphicElement
JRPrintGraphicElement
that uses
a JRTemplateGraphicElement
instance to
store common attributes.EXCEPTION_MESSAGE_KEY_TEMPLATE_NOT_FOUND, template
UNSET_PRINT_ELEMENT_ID, UNSET_SOURCE_ELEMENT_ID
Modifier | Constructor and Description |
---|---|
|
JRTemplatePrintGraphicElement() |
protected |
JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement)
Deprecated.
provide a source Id via
JRTemplatePrintGraphicElement(JRTemplateGraphicElement, int) |
protected |
JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement,
int sourceElementId)
Deprecated.
|
protected |
JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement,
PrintElementOriginator originator) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setFill(FillEnum fill)
Sets the fill type used for this element.
|
accept, getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPrintElementId, getPropertiesMap, getSourceElementId, getStyle, getStyleNameReference, getTemplate, getUUID, getWidth, getX, getY, hasProperties, readVirtualized, setBackcolor, setForecolor, setHeight, setMode, setSourceElementId, setStyle, setTemplate, setUUID, setWidth, setX, setY, updateElementTemplate, writeVirtualized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, getHeight, getKey, getOrigin, getPrintElementId, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setUUID, setWidth, setX, setY
getParentProperties, getPropertiesMap, hasProperties
getUUID
getBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
public JRTemplatePrintGraphicElement()
protected JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement)
JRTemplatePrintGraphicElement(JRTemplateGraphicElement, int)
protected JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement, int sourceElementId)
JRTemplatePrintGraphicElement(JRTemplateGraphicElement, PrintElementOriginator)
sourceElementId
- the Id of the source elementprotected JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement, PrintElementOriginator originator)
originator
- public 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 fill)
JRPrintGraphicElement
setFill
in interface JRCommonGraphicElement
setFill
in interface JRPrintGraphicElement
fill
- one of the pen constants in FillEnum
.public Float getDefaultLineWidth()
getDefaultLineWidth
in interface JRPenContainer
public Color getDefaultLineColor()
getDefaultLineColor
in interface JRPenContainer
getDefaultLineColor
in class JRTemplatePrintElement
Copyright © 2017. All rights reserved.