public class Style extends AbstractNamedSBase implements UniqueNamedSBase
| Modifier and Type | Field and Description |
|---|---|
protected RenderGroup |
group |
protected String[] |
roleList |
protected String[] |
typeList |
ignoredExtensions, ignoredXMLElementslistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| 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, appendNotes, appendNotes, 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, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, 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, 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, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, 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 - public Style(String id, int level, int version, RenderGroup group)
id - level - version - group - public Style(Style obj)
public Style clone()
clone in interface SBaseclone in class AbstractSBasepublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class AbstractSBasepublic TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class AbstractSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class AbstractSBasepublic RenderGroup getGroup()
public void initDefaults()
public boolean isIdMandatory()
isIdMandatory in interface NamedSBasepublic boolean isSetGroup()
public void setGroup(RenderGroup group)
public String toString()
toString in class AbstractNamedSBasepublic int hashCode()
hashCode in interface SBasehashCode in class AbstractNamedSBasepublic boolean equals(Object obj)
equals in interface SBaseequals in class AbstractNamedSBasepublic boolean unsetGroup()
true, if group was set before,
otherwise falsepublic String[] getRoleList()
public boolean isSetRoleList()
public void setRoleList(String[] roleList)
public String[] getTypeList()
public boolean isSetTypeList()
public void setTypeList(String[] 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 SBasewriteXMLAttributes in class AbstractNamedSBasepublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class AbstractNamedSBaseCopyright © 2009–2016. All rights reserved.