public class JRTemplatePrintEllipse extends JRTemplatePrintGraphicElement implements JRPrintEllipse
JRPrintEllipse
that uses
a JRTemplateEllipse
instance to
store common attributes.template
UNSET_SOURCE_ELEMENT_ID
Constructor and Description |
---|
JRTemplatePrintEllipse(JRTemplateEllipse ellipse)
Deprecated.
provide a source Id via
JRTemplatePrintEllipse(JRTemplateEllipse, int) |
JRTemplatePrintEllipse(JRTemplateEllipse ellipse,
int sourceElementId)
Creates a print ellipse element.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
accept(PrintElementVisitor<T> visitor,
T arg)
Accepts a print element visitor.
|
getDefaultLineColor, getDefaultLineWidth, getFillValue, getLinePen, getOwnFillValue, setFill
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, updateElementTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setFill
getHeight, getKey, getOrigin, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setUUID, setWidth, setX, setY
getParentProperties, getPropertiesMap, hasProperties
getUUID
getFillValue, getLinePen, getOwnFillValue
getBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setMode
getDefaultLineColor, getDefaultLineWidth
getDefaultStyleProvider, getStyle, getStyleNameReference
public JRTemplatePrintEllipse(JRTemplateEllipse ellipse)
JRTemplatePrintEllipse(JRTemplateEllipse, int)
ellipse
- the template ellipse that the element will usepublic JRTemplatePrintEllipse(JRTemplateEllipse ellipse, int sourceElementId)
ellipse
- the template ellipse that the element will usesourceElementId
- the Id of the source elementpublic <T> void accept(PrintElementVisitor<T> visitor, T arg)
JRPrintElement
The element calls the method that corresponds to the element type on the visitor.
accept
in interface JRPrintElement
accept
in class JRTemplatePrintElement
T
- the type of the argument passed to the visit operationvisitor
- the visitor objectsarg
- the argument passed to the visit operationCopyright © 2013. All Rights Reserved.