public class GraphicalPrimitive2D extends GraphicalPrimitive1D
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphicalPrimitive2D.FillRule |
| Modifier and Type | Field and Description |
|---|---|
protected String |
fill |
protected GraphicalPrimitive2D.FillRule |
fillRule |
stroke, strokeDashArray, strokeWidthtransform| Constructor and Description |
|---|
GraphicalPrimitive2D()
Creates an
GraphicalPrimitive2D instance |
GraphicalPrimitive2D(GraphicalPrimitive2D obj)
Clone constructor
|
GraphicalPrimitive2D(int level,
int version)
Creates an
GraphicalPrimitive2D instance |
| Modifier and Type | Method and Description |
|---|---|
GraphicalPrimitive2D |
clone() |
boolean |
equals(Object obj) |
String |
getFill() |
GraphicalPrimitive2D.FillRule |
getFillRule() |
int |
hashCode() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isSetFill() |
boolean |
isSetFillRule() |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setFill(String fill)
Set the value of fill
|
void |
setFillRule(GraphicalPrimitive2D.FillRule fillRule)
Set the value of fillRule
|
boolean |
unsetFill()
Unsets the variable fill
|
boolean |
unsetFillRule()
Unsets the variable fillRule
|
Map<String,String> |
writeXMLAttributes() |
getStroke, getStrokeDashArray, getStrokeWidth, isSetStroke, isSetStrokeDashArray, isSetStrokeWidth, setStroke, setStrokeDashArray, setStrokeWidth, unsetStroke, unsetStrokeDashArray, unsetStrokeWidthgetTransform, isSetTransform, setTransform, unsetTransformtoStringaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, 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, userObjectKeySetprotected String fill
protected GraphicalPrimitive2D.FillRule fillRule
public GraphicalPrimitive2D()
GraphicalPrimitive2D instancepublic GraphicalPrimitive2D(int level,
int version)
GraphicalPrimitive2D instancelevel - the SBML levelversion - the SBML versionpublic GraphicalPrimitive2D(GraphicalPrimitive2D obj)
obj - public GraphicalPrimitive2D clone()
clone in interface org.sbml.jsbml.SBaseclone in class GraphicalPrimitive1Dpublic void initDefaults()
TransformationinitDefaults in class GraphicalPrimitive1Dpublic int hashCode()
hashCode in interface org.sbml.jsbml.SBasehashCode in class GraphicalPrimitive1Dpublic boolean equals(Object obj)
equals in interface org.sbml.jsbml.SBaseequals in class GraphicalPrimitive1Dpublic String getFill()
public boolean isSetFill()
public void setFill(String fill)
fill - public boolean unsetFill()
true, if fill was set before,
otherwise falsepublic GraphicalPrimitive2D.FillRule getFillRule()
public boolean isSetFillRule()
public void setFillRule(GraphicalPrimitive2D.FillRule fillRule)
fillRule - public boolean unsetFillRule()
true, if fillRule was set before,
otherwise falsepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface org.sbml.jsbml.SBasewriteXMLAttributes in class GraphicalPrimitive1Dpublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface org.sbml.jsbml.SBasereadAttribute in class GraphicalPrimitive1DCopyright © 2009–2016. All rights reserved.