public class Ellipse extends GraphicalPrimitive2D
GraphicalPrimitive2D.FillRule| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
absoluteCx |
protected Boolean |
absoluteCy |
protected Boolean |
absoluteCz |
protected Boolean |
absoluteRx |
protected Boolean |
absoluteRy |
protected Double |
cx |
protected Double |
cy |
protected Double |
cz |
protected Double |
rx |
protected Double |
ry |
fill, fillRulestroke, strokeDashArray, strokeWidthtransformignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
Ellipse()
Creates a new
Ellipse instance. |
Ellipse(Ellipse obj)
Creates a new
Ellipse instance, copied from the given ellipse. |
Ellipse(int level,
int version)
Creates a new
Ellipse instance. |
| Modifier and Type | Method and Description |
|---|---|
Ellipse |
clone() |
boolean |
equals(Object obj) |
double |
getCx() |
double |
getCy() |
double |
getCz() |
double |
getRx() |
double |
getRy() |
int |
hashCode() |
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(String attributeName,
String prefix,
String value) |
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(Double cy)
Set the value of cy
|
void |
setCz(Double cz)
Set the value of cz
|
void |
setRx(Double rx)
Set the value of rx
|
void |
setRy(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
|
Map<String,String> |
writeXMLAttributes() |
getFill, getFillRule, initDefaults, isSetFill, isSetFillRule, setFill, setFillRule, unsetFill, unsetFillRuleaddStrokeDash, getStroke, getStrokeDash, getStrokeDashArray, getStrokeWidth, isSetStroke, isSetStrokeDashArray, isSetStrokeWidth, setStroke, setStrokeDashArray, setStrokeDashArray, setStrokeWidth, unsetStroke, unsetStrokeDashArray, unsetStrokeWidthgetTransform, isSetTransform, setTransform, unsetTransformaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, toString, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isCloningInProgress, isInvalidSBMLAllowed, isLeaf, isReadingInProgress, 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, userObjectKeySetprotected Double cx
protected Double cy
protected Double cz
protected Double rx
protected Double ry
protected Boolean absoluteCx
protected Boolean absoluteCy
protected Boolean absoluteCz
protected Boolean absoluteRx
protected Boolean absoluteRy
public Ellipse()
Ellipse instance.public Ellipse(Ellipse obj)
Ellipse instance, copied from the given ellipse.obj - the Ellipse to be clonedpublic Ellipse(int level,
int version)
Ellipse instance.level - the SBML levelversion - the SBML versionpublic Ellipse clone()
clone in interface SBaseclone in class GraphicalPrimitive2Dpublic double getCx()
public int hashCode()
hashCode in interface SBasehashCode in class GraphicalPrimitive2Dpublic boolean equals(Object obj)
equals in interface SBaseequals in class GraphicalPrimitive2Dpublic boolean isSetCx()
public void setCx(double cx)
cx - public boolean unsetCx()
true, if cx was set before,
otherwise falsepublic double getCy()
public boolean isSetCy()
public void setCy(Double cy)
cy - public boolean unsetCy()
true, if cy was set before,
otherwise falsepublic double getCz()
public boolean isSetCz()
public void setCz(Double cz)
cz - public boolean unsetCz()
true, if cz was set before,
otherwise falsepublic double getRx()
public boolean isSetRx()
public void setRx(Double rx)
rx - public boolean unsetRx()
true, if rx was set before,
otherwise falsepublic double getRy()
public boolean isSetRy()
public void setRy(Double ry)
ry - public boolean unsetRy()
true, if ry was set before,
otherwise falsepublic boolean isAbsoluteCx()
public boolean isSetAbsoluteCx()
public void setAbsoluteCx(boolean absoluteCx)
absoluteCx - public boolean unsetAbsoluteCx()
true, if absoluteCx was set before,
otherwise falsepublic boolean isAbsoluteCy()
public boolean isSetAbsoluteCy()
public void setAbsoluteCy(boolean absoluteCy)
absoluteCy - public boolean unsetAbsoluteCy()
true, if absoluteCy was set before,
otherwise falsepublic boolean isAbsoluteCz()
public boolean isSetAbsoluteCz()
public void setAbsoluteCz(boolean absoluteCz)
absoluteCz - public boolean unsetAbsoluteCz()
true, if absoluteCz was set before,
otherwise falsepublic boolean isAbsoluteRx()
public boolean isSetAbsoluteRx()
public void setAbsoluteRx(boolean absoluteRx)
absoluteRx - public boolean unsetAbsoluteRx()
true, if absoluteRx was set before,
otherwise falsepublic boolean isAbsoluteRy()
public boolean isSetAbsoluteRy()
public void setAbsoluteRy(boolean absoluteRy)
absoluteRy - public boolean unsetAbsoluteRy()
true, if absoluteRy was set before,
otherwise falsepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class GraphicalPrimitive2Dpublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class GraphicalPrimitive2DCopyright © 2009–2017. All rights reserved.