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, fillRule
stroke, strokeDashArray, strokeWidth
transform
ignoredExtensions, ignoredXMLElements
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
Ellipse() |
Modifier and Type | Method and Description |
---|---|
double |
getCx() |
double |
getCy() |
double |
getCz() |
double |
getRx() |
double |
getRy() |
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)
If the attribute is an id or name attribute, it will set the id or name
of this object with the value of the XML attribute ('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(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() |
clone, getFill, getFillRule, initDefaults, isSetFill, isSetFillRule, setFill, setFillRule, unsetFill, unsetFillRule
getAllowsChildren, getChildAt, getChildCount, getStroke, getStrokeDashArray, getStrokeWidth, isSetStroke, isSetStrokeDashArray, isSetStrokeWidth, setStroke, setStrokeDashArray, setStrokeWidth, unsetStroke, unsetStrokeDashArray, unsetStrokeWidth
getTransform, isSetTransform, setTransform, unsetTransform
toString
addCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, equals, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hashCode, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, firePropertyChange, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
removeTreeNodeChangeListener
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
private 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 boolean isSetCx()
public void setCx(double cx)
public boolean unsetCx()
true
, if cx was set before,
otherwise false
public double getCy()
public boolean isSetCy()
public void setCy(java.lang.Double cy)
public boolean unsetCy()
true
, if cy was set before,
otherwise false
public double getCz()
public boolean isSetCz()
public void setCz(java.lang.Double cz)
public boolean unsetCz()
true
, if cz was set before,
otherwise false
public double getRx()
public boolean isSetRx()
public void setRx(java.lang.Double rx)
public boolean unsetRx()
true
, if rx was set before,
otherwise false
public double getRy()
public boolean isSetRy()
public void setRy(java.lang.Double ry)
public boolean unsetRy()
true
, if ry was set before,
otherwise false
public boolean isAbsoluteCx()
public boolean isSetAbsoluteCx()
public void setAbsoluteCx(boolean absoluteCx)
public boolean unsetAbsoluteCx()
true
, if absoluteCx was set before,
otherwise false
public boolean isAbsoluteCy()
public boolean isSetAbsoluteCy()
public void setAbsoluteCy(boolean absoluteCy)
public boolean unsetAbsoluteCy()
true
, if absoluteCy was set before,
otherwise false
public boolean isAbsoluteCz()
public boolean isSetAbsoluteCz()
public void setAbsoluteCz(boolean absoluteCz)
public boolean unsetAbsoluteCz()
true
, if absoluteCz was set before,
otherwise false
public boolean isAbsoluteRx()
public boolean isSetAbsoluteRx()
public void setAbsoluteRx(boolean absoluteRx)
public boolean unsetAbsoluteRx()
true
, if absoluteRx was set before,
otherwise false
public boolean isAbsoluteRy()
public boolean isSetAbsoluteRy()
public void setAbsoluteRy(boolean absoluteRy)
public boolean unsetAbsoluteRy()
true
, if absoluteRy was set before,
otherwise false
public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
writeXMLAttributes
in interface SBase
writeXMLAttributes
in class GraphicalPrimitive2D
Map
containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBase
readAttribute
in interface SBase
readAttribute
in class GraphicalPrimitive2D
attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.