public class GradientStop
extends org.sbml.jsbml.AbstractSBase
| Constructor | Description |
|---|---|
GradientStop() |
|
GradientStop(double offset,
java.lang.String stopColor) |
Convenience-constructor: As by the specification, the offset ought to be purely relative-valued
(i.e.e.g. 25d for 25%), the absolute part of the RelAbsVector is to be ignored anyways.
|
GradientStop(GradientStop obj) |
Clone constructor
|
GradientStop(RelAbsVector offset,
java.lang.String stopColor) |
Creates a GradientStop instance with an offset and a color.
|
GradientStop(RelAbsVector offset,
java.lang.String stopColor,
int level,
int version) |
Creates a GradientStop instance with an offset, color, level, and version.
|
| Modifier and Type | Method | Description |
|---|---|---|
GradientStop |
clone() |
|
boolean |
equals(java.lang.Object obj) |
|
boolean |
getAllowsChildren() |
|
org.sbml.jsbml.SBase |
getChildAt(int childIndex) |
|
int |
getChildCount() |
|
java.lang.String |
getElementName() |
|
RelAbsVector |
getOffset() |
|
java.lang.String |
getStopColor() |
|
int |
hashCode() |
|
void |
initDefaults() |
Initializes the default values using the namespace.
|
boolean |
isSetOffset() |
|
boolean |
isSetStopColor() |
|
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value) |
|
void |
setOffset(RelAbsVector offset) |
Set the value of offset
|
void |
setStopColor(java.lang.String stopColor) |
Set the value of stopColor
|
boolean |
unsetOffset() |
Unsets the variable offset
|
boolean |
unsetStopColor() |
Unsets the variable stopColor
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, addResources, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkIdentifier, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllDeclaredNamespaces, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getExtension, getExtensionCount, getExtensionPackages, getFirstElementIndex, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasExtension, 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, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, 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, waitaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic GradientStop(RelAbsVector offset, java.lang.String stopColor)
offset - stopColor - public GradientStop(double offset,
java.lang.String stopColor)
offset - stopColor - public GradientStop(RelAbsVector offset, java.lang.String stopColor, int level, int version)
offset - stopColor - level - version - public GradientStop(GradientStop obj)
obj - public GradientStop()
public GradientStop clone()
clone in class org.sbml.jsbml.AbstractSBasepublic void initDefaults()
public int hashCode()
hashCode in class org.sbml.jsbml.AbstractSBasepublic boolean equals(java.lang.Object obj)
equals in class org.sbml.jsbml.AbstractSBasepublic boolean getAllowsChildren()
getAllowsChildren in class org.sbml.jsbml.AbstractSBasepublic org.sbml.jsbml.SBase getChildAt(int childIndex)
getChildAt in class org.sbml.jsbml.AbstractSBasepublic int getChildCount()
getChildCount in class org.sbml.jsbml.AbstractSBasepublic java.lang.String getElementName()
getElementName in class org.sbml.jsbml.AbstractSBasepublic RelAbsVector getOffset()
public java.lang.String getStopColor()
public boolean isSetOffset()
public boolean isSetStopColor()
public void setOffset(RelAbsVector offset)
offset - public void setStopColor(java.lang.String stopColor)
stopColor - public boolean unsetOffset()
true, if offset was set before,
otherwise falsepublic boolean unsetStopColor()
true, if stopColor was set before,
otherwise falsepublic java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
writeXMLAttributes in class org.sbml.jsbml.AbstractSBasepublic boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
readAttribute in class org.sbml.jsbml.AbstractSBaseCopyright © 2009–2022. All rights reserved.