public class JRTemplatePrintGraphicElement extends JRTemplatePrintElement implements JRPrintGraphicElement
JRPrintGraphicElement that uses
a JRTemplateGraphicElement instance to
store common attributes.templateUNSET_SOURCE_ELEMENT_ID| Modifier | Constructor and Description |
|---|---|
protected |
JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement)
Deprecated.
provide a source Id via
JRTemplatePrintGraphicElement(JRTemplateGraphicElement, int) |
protected |
JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement,
int sourceElementId) |
| 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, getPropertiesMap, getSourceElementId, getStyle, getStyleNameReference, getTemplate, getUUID, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setMode, setSourceElementId, setStyle, setTemplate, setUUID, setWidth, setX, setY, updateElementTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getHeight, getKey, getOrigin, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setUUID, setWidth, setX, setYgetParentProperties, getPropertiesMap, hasPropertiesgetUUIDgetBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setModegetDefaultStyleProvider, getStyle, getStyleNameReferenceprotected JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement)
JRTemplatePrintGraphicElement(JRTemplateGraphicElement, int)protected JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement, int sourceElementId)
sourceElementId - the Id of the source elementpublic 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 © 2012. All Rights Reserved.