org.sbml.jsbml.ext.render
public class Ellipse extends GraphicalPrimitive2D
GraphicalPrimitive2D.FillRule| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
absoluteCx |
protected java.lang.Boolean |
absoluteCy |
protected java.lang.Boolean |
absoluteCz |
protected java.lang.Boolean |
absoluteRx |
protected java.lang.Boolean |
absoluteRy |
protected java.lang.Double |
cx |
protected java.lang.Double |
cy |
protected java.lang.Double |
cz |
protected java.lang.Double |
rx |
protected java.lang.Double |
ry |
private static long |
serialVersionUID
Generated serial version identifier
|
fill, fillRulestroke, strokeDashArray, strokeWidthtransformignoredExtensions, ignoredXMLElementslistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| Constructor and Description |
|---|
Ellipse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
|
double |
getCx() |
double |
getCy() |
double |
getCz() |
double |
getRx() |
double |
getRy() |
int |
hashCode()
Returns a hash code value for this
SBase instance. |
boolean |
isAbsoluteCx() |
boolean |
isAbsoluteCy() |
boolean |
isAbsoluteCz() |
boolean |
isAbsoluteRx() |
boolean |
isAbsoluteRy() |
boolean |
isSetAbsoluteCx() |
boolean |
isSetAbsoluteCy() |
boolean |
isSetAbsoluteCz() |
boolean |
isSetAbsoluteRx() |
boolean |
isSetAbsoluteRy() |
boolean |
isSetCx() |
boolean |
isSetCy() |
boolean |
isSetCz() |
boolean |
isSetRx() |
boolean |
isSetRy() |
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
Sets the given attribute in this
SBase. |
void |
setAbsoluteCx(boolean absoluteCx)
Set the value of absoluteCx
|
void |
setAbsoluteCy(boolean absoluteCy)
Set the value of absoluteCy
|
void |
setAbsoluteCz(boolean absoluteCz)
Set the value of absoluteCz
|
void |
setAbsoluteRx(boolean absoluteRx)
Set the value of absoluteRx
|
void |
setAbsoluteRy(boolean absoluteRy)
Set the value of absoluteRy
|
void |
setCx(double cx)
Set the value of cx
|
void |
setCy(java.lang.Double cy)
Set the value of cy
|
void |
setCz(java.lang.Double cz)
Set the value of cz
|
void |
setRx(java.lang.Double rx)
Set the value of rx
|
void |
setRy(java.lang.Double ry)
Set the value of ry
|
boolean |
unsetAbsoluteCx()
Unsets the variable absoluteCx
|
boolean |
unsetAbsoluteCy()
Unsets the variable absoluteCy
|
boolean |
unsetAbsoluteCz()
Unsets the variable absoluteCz
|
boolean |
unsetAbsoluteRx()
Unsets the variable absoluteRx
|
boolean |
unsetAbsoluteRy()
Unsets the variable absoluteRy
|
boolean |
unsetCx()
Unsets the variable cx
|
boolean |
unsetCy()
Unsets the variable cy
|
boolean |
unsetCz()
Unsets the variable cz
|
boolean |
unsetRx()
Unsets the variable rx
|
boolean |
unsetRy()
Unsets the variable ry
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes()
Returns a map with all the attributes of this
SBase that
need to be written out in XML. |
clone, getFill, getFillRule, initDefaults, isSetFill, isSetFillRule, setFill, setFillRule, unsetFill, unsetFillRulegetStroke, getStrokeDashArray, getStrokeWidth, isSetStroke, isSetStrokeDashArray, isSetStrokeWidth, setStroke, setStrokeDashArray, setStrokeWidth, unsetStroke, unsetStrokeDashArray, unsetStrokeWidthgetTransform, isSetTransform, setTransform, unsetTransformtoStringaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitremoveTreeNodeChangeListeneraddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetprivate static final long serialVersionUID
protected java.lang.Double cx
protected java.lang.Double cy
protected java.lang.Double cz
protected java.lang.Double rx
protected java.lang.Double ry
protected java.lang.Boolean absoluteCx
protected java.lang.Boolean absoluteCy
protected java.lang.Boolean absoluteCz
protected java.lang.Boolean absoluteRx
protected java.lang.Boolean absoluteRy
public double getCx()
public int hashCode()
SBaseSBase instance.hashCode in interface SBasehashCode in class GraphicalPrimitive2DSBase instance.Object.hashCode()public boolean equals(java.lang.Object obj)
SBasepublic boolean isSetCx()
public void setCx(double cx)
public boolean unsetCx()
true, if cx was set before,
otherwise falsepublic double getCy()
public boolean isSetCy()
public void setCy(java.lang.Double cy)
public boolean unsetCy()
true, if cy was set before,
otherwise falsepublic double getCz()
public boolean isSetCz()
public void setCz(java.lang.Double cz)
public boolean unsetCz()
true, if cz was set before,
otherwise falsepublic double getRx()
public boolean isSetRx()
public void setRx(java.lang.Double rx)
public boolean unsetRx()
true, if rx was set before,
otherwise falsepublic double getRy()
public boolean isSetRy()
public void setRy(java.lang.Double ry)
public boolean unsetRy()
true, if ry was set before,
otherwise falsepublic boolean isAbsoluteCx()
public boolean isSetAbsoluteCx()
public void setAbsoluteCx(boolean absoluteCx)
public boolean unsetAbsoluteCx()
true, if absoluteCx was set before,
otherwise falsepublic boolean isAbsoluteCy()
public boolean isSetAbsoluteCy()
public void setAbsoluteCy(boolean absoluteCy)
public boolean unsetAbsoluteCy()
true, if absoluteCy was set before,
otherwise falsepublic boolean isAbsoluteCz()
public boolean isSetAbsoluteCz()
public void setAbsoluteCz(boolean absoluteCz)
public boolean unsetAbsoluteCz()
true, if absoluteCz was set before,
otherwise falsepublic boolean isAbsoluteRx()
public boolean isSetAbsoluteRx()
public void setAbsoluteRx(boolean absoluteRx)
public boolean unsetAbsoluteRx()
true, if absoluteRx was set before,
otherwise falsepublic boolean isAbsoluteRy()
public boolean isSetAbsoluteRy()
public void setAbsoluteRy(boolean absoluteRy)
public boolean unsetAbsoluteRy()
true, if absoluteRy was set before,
otherwise falsepublic java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
SBaseSBase that
need to be written out in XML.
The attribute name is used as a key and the attribute value as value. If a prefix is needed for the attribute name, it need to be set directly in this map.
writeXMLAttributes in interface SBasewriteXMLAttributes in class GraphicalPrimitive2DMap containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
SBaseSBase.
If the given attribute name is not recognized, nothing is done and
false is returned.
readAttribute in interface SBasereadAttribute in class GraphicalPrimitive2DattributeName - localName of the XML attributeprefix - prefix of the XML attributevalue - value of the XML attributetrue if the attribute has been successfully read.