public class GradientStop
extends org.sbml.jsbml.AbstractSBase
| Constructor and Description |
|---|
GradientStop() |
GradientStop(Double offset,
String stopColor)
Creates a GradientStop instance with an offset and a color.
|
GradientStop(Double offset,
String stopColor,
int level,
int version)
Creates a GradientStop instance with an offset, color, level, and version.
|
GradientStop(GradientStop obj)
Clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
GradientStop |
clone() |
boolean |
equals(Object obj) |
boolean |
getAllowsChildren() |
org.sbml.jsbml.SBase |
getChildAt(int childIndex) |
int |
getChildCount() |
double |
getOffset() |
String |
getStopColor() |
int |
hashCode() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isSetOffset() |
boolean |
isSetStopColor() |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setOffset(double offset)
Set the value of offset
|
void |
setStopColor(String stopColor)
Set the value of stopColor
|
String |
toString() |
boolean |
unsetOffset()
Unsets the variable offset
|
boolean |
unsetStopColor()
Unsets the variable stopColor
|
Map<String,String> |
writeXMLAttributes() |
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, 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, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setPackageVersion, 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, 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(Double offset, String stopColor)
offset - stopColor - public GradientStop(Double offset, String stopColor, int level, int version)
offset - stopColor - level - version - public GradientStop(GradientStop obj)
obj - public GradientStop()
public GradientStop clone()
clone in interface org.sbml.jsbml.SBaseclone in class org.sbml.jsbml.AbstractSBasepublic void initDefaults()
public int hashCode()
hashCode in interface org.sbml.jsbml.SBasehashCode in class org.sbml.jsbml.AbstractSBasepublic boolean equals(Object obj)
equals in interface org.sbml.jsbml.SBaseequals in class org.sbml.jsbml.AbstractSBasepublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class org.sbml.jsbml.AbstractSBasepublic org.sbml.jsbml.SBase getChildAt(int childIndex)
getChildAt in interface TreeNodegetChildAt in class org.sbml.jsbml.AbstractSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class org.sbml.jsbml.AbstractSBasepublic double getOffset()
public String getStopColor()
public boolean isSetOffset()
public boolean isSetStopColor()
public void setOffset(double offset)
offset - public void setStopColor(String stopColor)
stopColor - public boolean unsetOffset()
true, if offset was set before,
otherwise falsepublic boolean unsetStopColor()
true, if stopColor was set before,
otherwise falsepublic String toString()
toString in class org.sbml.jsbml.AbstractSBasepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface org.sbml.jsbml.SBasewriteXMLAttributes in class org.sbml.jsbml.AbstractSBaseCopyright © 2009–2016. All rights reserved.