org.sbml.jsbml.ext.render
public class RadialGradient extends GradientBase
GradientBase.Spread
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
absoluteCx |
private java.lang.Boolean |
absoluteCy |
private java.lang.Boolean |
absoluteCz |
private java.lang.Boolean |
absoluteFx |
private java.lang.Boolean |
absoluteFy |
private java.lang.Boolean |
absoluteFz |
private java.lang.Boolean |
absoluteR |
private java.lang.Double |
cx |
private java.lang.Double |
cy |
private java.lang.Double |
cz |
private java.lang.Double |
fx |
private java.lang.Double |
fy |
private java.lang.Double |
fz |
private java.lang.Double |
r |
private static long |
serialVersionUID
Generated serial version identifier
|
listOfGradientStops, spreadMethod
ignoredExtensions, ignoredXMLElements
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
RadialGradient()
Creates an RadialGradient instance
|
RadialGradient(RadialGradient obj)
Clone constructor
|
Modifier and Type | Method and Description |
---|---|
RadialGradient |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
double |
getCx() |
double |
getCy() |
double |
getCz() |
double |
getFx() |
double |
getFy() |
double |
getFz() |
double |
getR() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isAbsoluteCx() |
boolean |
isAbsoluteCy() |
boolean |
isAbsoluteCz() |
boolean |
isAbsoluteFx() |
boolean |
isAbsoluteFy() |
boolean |
isAbsoluteFz() |
boolean |
isAbsoluteR() |
boolean |
isSetAbsoluteCx() |
boolean |
isSetAbsoluteCy() |
boolean |
isSetAbsoluteCz() |
boolean |
isSetAbsoluteFx() |
boolean |
isSetAbsoluteFy() |
boolean |
isSetAbsoluteFz() |
boolean |
isSetAbsoluteR() |
boolean |
isSetCx() |
boolean |
isSetCy() |
boolean |
isSetCz() |
boolean |
isSetFx() |
boolean |
isSetFy() |
boolean |
isSetFz() |
boolean |
isSetR() |
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
Sets the given attribute in this
SBase . |
void |
setAbsoluteCx(java.lang.Boolean absoluteCx)
Set the value of absoluteCx
|
void |
setAbsoluteCy(java.lang.Boolean absoluteCy)
Set the value of absoluteCy
|
void |
setAbsoluteCz(java.lang.Boolean absoluteCz)
Set the value of absoluteCz
|
void |
setAbsoluteFx(java.lang.Boolean absoluteFx)
Set the value of absoluteFx
|
void |
setAbsoluteFy(java.lang.Boolean absoluteFy)
Set the value of absoluteFy
|
void |
setAbsoluteFz(java.lang.Boolean absoluteFz)
Set the value of absoluteFz
|
void |
setAbsoluteR(java.lang.Boolean absoluteR)
Set the value of absoluteR
|
void |
setCx(java.lang.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 |
setFx(java.lang.Double fx)
Set the value of fx
|
void |
setFy(java.lang.Double fy)
Set the value of fy
|
void |
setFz(java.lang.Double fz)
Set the value of fz
|
void |
setR(java.lang.Double r)
Set the value of r
|
boolean |
unsetAbsoluteCx()
Unsets the variable absoluteCx
|
boolean |
unsetAbsoluteCy()
Unsets the variable absoluteCy
|
boolean |
unsetAbsoluteCz()
Unsets the variable absoluteCz
|
boolean |
unsetAbsoluteFx()
Unsets the variable absoluteFx
|
boolean |
unsetAbsoluteFy()
Unsets the variable absoluteFy
|
boolean |
unsetAbsoluteFz()
Unsets the variable absoluteFz
|
boolean |
unsetAbsoluteR()
Unsets the variable absoluteR
|
boolean |
unsetCx()
Unsets the variable cx
|
boolean |
unsetCy()
Unsets the variable cy
|
boolean |
unsetCz()
Unsets the variable cz
|
boolean |
unsetFx()
Unsets the variable fx
|
boolean |
unsetFy()
Unsets the variable fy
|
boolean |
unsetFz()
Unsets the variable fz
|
boolean |
unsetR()
Unsets the variable r
|
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. |
addGradientStop, createGradientStop, equals, getAllowsChildren, getChildAt, getChildCount, getListOfGradientStops, getSpreadMethod, hashCode, isIdMandatory, isSetListOfGradientStops, isSetSpreadMethod, removeGradientStop, removeGradientStop, setListOfGradientStops, setSpreadMethod, toString, unsetListOfGradientStops, unsetSpreadMethod
getId, getName, isSetId, isSetName, isValidId, setId, setName, unsetId, unsetName
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAnnotation, getAnnotationString, 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, unsetSBOTerm
addAllChangeListeners, 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, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getName, isSetId, isSetName, setId, setName, unsetId, unsetName
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
private static final long serialVersionUID
private java.lang.Boolean absoluteCx
private java.lang.Boolean absoluteCy
private java.lang.Boolean absoluteCz
private java.lang.Boolean absoluteR
private java.lang.Boolean absoluteFx
private java.lang.Boolean absoluteFy
private java.lang.Boolean absoluteFz
private java.lang.Double cx
private java.lang.Double cy
private java.lang.Double cz
private java.lang.Double r
private java.lang.Double fx
private java.lang.Double fy
private java.lang.Double fz
public RadialGradient()
public RadialGradient(RadialGradient obj)
public RadialGradient clone()
SBase
SBase
with the same properties
like this one.clone
in interface SBase
clone
in class GradientBase
public double getCx()
public double getCy()
public double getCz()
public double getFx()
public double getFy()
public double getFz()
public double getR()
public void initDefaults()
GradientBase
initDefaults
in class GradientBase
public boolean isAbsoluteCx()
public boolean isAbsoluteCy()
public boolean isAbsoluteCz()
public boolean isAbsoluteFx()
public boolean isAbsoluteFy()
public boolean isAbsoluteFz()
public boolean isAbsoluteR()
public boolean isSetAbsoluteCx()
public boolean isSetAbsoluteCy()
public boolean isSetAbsoluteCz()
public boolean isSetAbsoluteFx()
public boolean isSetAbsoluteFy()
public boolean isSetAbsoluteFz()
public boolean isSetAbsoluteR()
public boolean isSetCx()
public boolean isSetCy()
public boolean isSetCz()
public boolean isSetFx()
public boolean isSetFy()
public boolean isSetFz()
public boolean isSetR()
public void setAbsoluteCx(java.lang.Boolean absoluteCx)
public void setAbsoluteCy(java.lang.Boolean absoluteCy)
public void setAbsoluteCz(java.lang.Boolean absoluteCz)
public void setAbsoluteFx(java.lang.Boolean absoluteFx)
public void setAbsoluteFy(java.lang.Boolean absoluteFy)
public void setAbsoluteFz(java.lang.Boolean absoluteFz)
public void setAbsoluteR(java.lang.Boolean absoluteR)
public void setCx(java.lang.Double cx)
public void setCy(java.lang.Double cy)
public void setCz(java.lang.Double cz)
public void setFx(java.lang.Double fx)
public void setFy(java.lang.Double fy)
public void setFz(java.lang.Double fz)
public void setR(java.lang.Double r)
public boolean unsetAbsoluteCx()
true
, if absoluteCx was set before,
otherwise false
public boolean unsetAbsoluteCy()
true
, if absoluteCy was set before,
otherwise false
public boolean unsetAbsoluteCz()
true
, if absoluteCz was set before,
otherwise false
public boolean unsetAbsoluteFx()
true
, if absoluteFx was set before,
otherwise false
public boolean unsetAbsoluteFy()
true
, if absoluteFy was set before,
otherwise false
public boolean unsetAbsoluteFz()
true
, if absoluteFz was set before,
otherwise false
public boolean unsetAbsoluteR()
true
, if absoluteR was set before,
otherwise false
public boolean unsetCx()
true
, if cx was set before,
otherwise false
public boolean unsetCy()
true
, if cy was set before,
otherwise false
public boolean unsetCz()
true
, if cz was set before,
otherwise false
public boolean unsetFx()
true
, if fx was set before,
otherwise false
public boolean unsetFy()
true
, if fy was set before,
otherwise false
public boolean unsetFz()
true
, if fz was set before,
otherwise false
public boolean unsetR()
true
, if r was set before,
otherwise false
public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
SBase
SBase
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 SBase
writeXMLAttributes
in class GradientBase
Map
containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBase
SBase
.
If the given attribute name is not recognized, nothing is done and
false
is returned.
readAttribute
in interface SBase
readAttribute
in class GradientBase
attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.