public class Style
extends org.sbml.jsbml.AbstractNamedSBase
implements org.sbml.jsbml.UniqueNamedSBase
| Modifier and Type | Field and Description |
|---|---|
protected RenderGroup |
group |
protected String[] |
roleList |
protected String[] |
typeList |
| Constructor and Description |
|---|
Style()
Creates a Style instance with a group
|
Style(int level,
int version,
RenderGroup group)
Creates a Style instance with a level and version.
|
Style(RenderGroup group)
Creates a Style instance with a group
|
Style(String id,
int level,
int version,
RenderGroup group)
Creates a Style instance with an id, name, level, and version.
|
Style(Style obj)
Clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
Style |
clone() |
boolean |
equals(Object obj) |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
RenderGroup |
getGroup() |
String[] |
getRoleList() |
String[] |
getTypeList() |
int |
hashCode() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isIdMandatory() |
boolean |
isSetGroup() |
boolean |
isSetRoleList() |
boolean |
isSetTypeList() |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setGroup(RenderGroup group)
Set the value of group
|
void |
setRoleList(String[] roleList)
Set the value of roleList
|
void |
setTypeList(String[] typeList)
Set the value of typeList
|
String |
toString() |
boolean |
unsetGroup()
Unsets the variable group
|
boolean |
unsetRoleList()
Unsets the variable roleList
|
boolean |
unsetTypeList()
Unsets the variable typeList
|
Map<String,String> |
writeXMLAttributes() |
getId, getName, isSetId, isSetName, isValidId, setId, setName, unsetId, unsetNameaddCVTerm, 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, waitgetId, getName, isSetId, isSetName, setId, setName, unsetId, unsetNameaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, 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, getPackageName, getPackageVersion, 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, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setPackageVersion, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetprotected RenderGroup group
protected String[] roleList
protected String[] typeList
public Style()
public Style(RenderGroup group)
group - public Style(int level,
int version,
RenderGroup group)
level - version - group - public Style(String id, int level, int version, RenderGroup group)
id - level - version - group - public Style(Style obj)
obj - public Style clone()
clone in interface org.sbml.jsbml.SBaseclone in class org.sbml.jsbml.AbstractSBasepublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class org.sbml.jsbml.AbstractSBasepublic TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class org.sbml.jsbml.AbstractSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class org.sbml.jsbml.AbstractSBasepublic RenderGroup getGroup()
public void initDefaults()
public boolean isIdMandatory()
isIdMandatory in interface org.sbml.jsbml.NamedSBasepublic boolean isSetGroup()
public void setGroup(RenderGroup group)
group - public String toString()
toString in class org.sbml.jsbml.AbstractNamedSBasepublic int hashCode()
hashCode in interface org.sbml.jsbml.SBasehashCode in class org.sbml.jsbml.AbstractNamedSBasepublic boolean equals(Object obj)
equals in interface org.sbml.jsbml.SBaseequals in class org.sbml.jsbml.AbstractNamedSBasepublic boolean unsetGroup()
true, if group was set before,
otherwise falsepublic String[] getRoleList()
public boolean isSetRoleList()
public void setRoleList(String[] roleList)
roleList - public String[] getTypeList()
public boolean isSetTypeList()
public void setTypeList(String[] typeList)
typeList - public boolean unsetTypeList()
true, if typeList was set before,
otherwise falsepublic boolean unsetRoleList()
true, if roleList was set before,
otherwise falsepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface org.sbml.jsbml.SBasewriteXMLAttributes in class org.sbml.jsbml.AbstractNamedSBaseCopyright © 2009–2016. All rights reserved.