public class JRTemplatePrintGraphicElement extends JRTemplatePrintElement implements JRPrintGraphicElement
JRPrintGraphicElement that uses
a JRTemplateGraphicElement instance to
store common attributes.EXCEPTION_MESSAGE_KEY_TEMPLATE_NOT_FOUND, templateUNSET_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, writeVirtualizedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getHeight, getKey, getOrigin, getPrintElementId, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setUUID, setWidth, setX, setYgetParentProperties, getPropertiesMap, hasPropertiesgetUUIDgetBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setModegetDefaultStyleProvider, getStyle, getStyleNameReferencepublic 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 JRCommonGraphicElementpublic FillEnum getFillValue()
JRCommonGraphicElementgetFillValue in interface JRCommonGraphicElementFillEnumpublic FillEnum getOwnFillValue()
JRCommonGraphicElementgetOwnFillValue in interface JRCommonGraphicElementFillEnumpublic void setFill(FillEnum fill)
JRPrintGraphicElementsetFill in interface JRCommonGraphicElementsetFill in interface JRPrintGraphicElementfill - one of the pen constants in FillEnum.public Float getDefaultLineWidth()
getDefaultLineWidth in interface JRPenContainerpublic Color getDefaultLineColor()
getDefaultLineColor in interface JRPenContainergetDefaultLineColor in class JRTemplatePrintElementCopyright © 2017. All rights reserved.