public class GraphicalPrimitive1D extends Transformation2D
| Modifier and Type | Field and Description |
|---|---|
protected String |
stroke |
protected List<Short> |
strokeDashArray |
protected Double |
strokeWidth |
transformignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
GraphicalPrimitive1D()
Creates an GraphicalPrimitive1D instance
|
GraphicalPrimitive1D(GraphicalPrimitive1D obj)
Clone constructor
|
GraphicalPrimitive1D(int level,
int version)
Creates an GraphicalPrimitive1D instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addStrokeDash(Short s) |
GraphicalPrimitive1D |
clone() |
boolean |
equals(Object obj) |
String |
getStroke() |
Short |
getStrokeDash(int i) |
List<Short> |
getStrokeDashArray() |
Double |
getStrokeWidth() |
int |
hashCode() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isSetStroke() |
boolean |
isSetStrokeDashArray() |
boolean |
isSetStrokeWidth() |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setStroke(String stroke)
Set the value of stroke
|
boolean |
setStrokeDashArray(List<Short> strokeDashArray)
Set the value of strokeDashArray
|
void |
setStrokeDashArray(Short[] strokeDashArray) |
void |
setStrokeWidth(double strokeWidth)
Set the value of strokeWidth
|
boolean |
unsetStroke()
Unsets the variable stroke
|
boolean |
unsetStrokeDashArray()
Unsets the variable strokeDashArray
|
boolean |
unsetStrokeWidth()
Unsets the variable strokeWidth
|
Map<String,String> |
writeXMLAttributes() |
getTransform, isSetTransform, setTransform, unsetTransformaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkIdentifier, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllDeclaredNamespaces, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, 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, 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, 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, userObjectKeySetpublic GraphicalPrimitive1D()
public GraphicalPrimitive1D(int level,
int version)
level - the SBML levelversion - the SBML versionpublic GraphicalPrimitive1D(GraphicalPrimitive1D obj)
obj - public boolean isSetStrokeDashArray()
public void setStrokeDashArray(Short[] strokeDashArray)
strokeDashArray - public boolean setStrokeDashArray(List<Short> strokeDashArray)
strokeDashArray - public boolean unsetStrokeDashArray()
true, if strokeDashArray was set before,
otherwise falsepublic boolean addStrokeDash(Short s)
s - public Short getStrokeDash(int i)
i - public GraphicalPrimitive1D clone()
clone in interface SBaseclone in class Transformation2Dpublic int hashCode()
hashCode in interface SBasehashCode in class Transformation2Dpublic boolean equals(Object obj)
equals in interface SBaseequals in class Transformation2Dpublic String getStroke()
public Double getStrokeWidth()
public void initDefaults()
TransformationinitDefaults in class Transformation2Dpublic boolean isSetStroke()
public boolean isSetStrokeWidth()
public void setStroke(String stroke)
stroke - public void setStrokeWidth(double strokeWidth)
strokeWidth - public boolean unsetStroke()
true, if stroke was set before,
otherwise falsepublic boolean unsetStrokeWidth()
true, if strokeWidth was set before,
otherwise falsepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class Transformationpublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class TransformationCopyright © 2009–2018. All rights reserved.