public class JRTemplateEllipse extends JRTemplateGraphicElement
JRTemplatePrintEllipse
,
Serialized FormlinePen
defaultStyleProvider, origin, parentStyle
Modifier | Constructor and Description |
---|---|
|
JRTemplateEllipse(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider)
Creates an ellipse template.
|
protected |
JRTemplateEllipse(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JREllipse ellipse) |
Modifier and Type | Method and Description |
---|---|
int |
getHashCode()
Returns a hash code to be used for the deduplicate map.
|
boolean |
isIdentical(Object object)
Determines if this instance is identical to another object.
|
protected void |
setEllipse(JREllipse ellipse) |
addGraphicHash, copyLinePen, getDefaultLineColor, getDefaultLineWidth, getFillValue, getLinePen, getOwnFillValue, graphicIdentical, populateStyle, setFill, setGraphicElement
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, templateIdentical
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBackcolor, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
protected JRTemplateEllipse(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JREllipse ellipse)
public JRTemplateEllipse(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider)
origin
- the origin of the elements that will use this templatedefaultStyleProvider
- the default style provider to use for
this templateprotected void setEllipse(JREllipse ellipse)
public int getHashCode()
Deduplicable
Deduplicable.isIdentical(Object)
,
i.e. if two objects are identical they should have the same hash code.public boolean isIdentical(Object object)
Deduplicable
object
- the object to compare with this instancetrue
if the two objects are identical and can be deduplicatedCopyright © 2023 Cloud Software Group, Inc.. All rights reserved.