org.sbml.jsbml.ext.render
public abstract class AbstractRenderPlugin extends AbstractSBasePlugin
Modifier and Type | Field and Description |
---|---|
private GlobalRenderInformation |
renderInformation |
private static long |
serialVersionUID |
private java.lang.Short |
versionMajor |
private java.lang.Short |
versionMinor |
extendedSBase, packageVersion
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
AbstractRenderPlugin(AbstractRenderPlugin obj)
Clone constructor
|
AbstractRenderPlugin(int level,
int version)
Creates a AbstractRenderPlugin instance with a level and version.
|
AbstractRenderPlugin(SBase extendedElement)
Creates an AbstractRenderPlugin instance
|
AbstractRenderPlugin(java.lang.String id,
int level,
int version)
Creates a AbstractRenderPlugin instance with an id, level, and version.
|
AbstractRenderPlugin(java.lang.String id,
java.lang.String name,
int level,
int version)
Creates a AbstractRenderPlugin instance with an id, name, level, and version.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowsChildren() |
javax.swing.tree.TreeNode |
getChildAt(int childIndex) |
int |
getChildCount() |
java.lang.String |
getElementNamespace()
Returns the XML namespace (URI) of the package extension of this plugin object.
|
java.lang.String |
getPackageName()
Returns the package name of this plugin object.
|
java.lang.String |
getPrefix()
Returns the prefix of the package extension of this plugin object.
|
GlobalRenderInformation |
getRenderInformation() |
java.lang.String |
getURI()
Gets the URI to which this element belongs to.
|
java.lang.Short |
getVersionMajor() |
java.lang.Short |
getVersionMinor() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isSetRenderInformation() |
boolean |
isSetVersionMajor() |
boolean |
isSetVersionMinor() |
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
Reads and sets the attribute if it is know from this
SBasePlugin . |
void |
setRenderInformation(GlobalRenderInformation renderInformation)
Set the value of renderInformation
|
void |
setVersionMajor(short versionMajor)
Set the value of versionMajor
|
void |
setVersionMinor(java.lang.Short versionMinor)
Set the value of versionMinor
|
boolean |
unsetRenderInformation()
Unsets the variable renderInformation
|
boolean |
unsetVersionMajor()
Unsets the variable versionMajor
|
boolean |
unsetVersionMinor()
Unsets the variable versionMinor
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes()
Returns a
Map containing the XML attributes of this object. |
clone, equals, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getExtendedSBase, getLevel, getPackageVersion, getParentSBMLObject, getSBMLDocument, getVersion, hashCode, isSetExtendedSBase, removeFromParent, setExtendedSBase
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getParent, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, notifyChildChange, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, toString, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
private static final long serialVersionUID
private java.lang.Short versionMajor
private java.lang.Short versionMinor
private GlobalRenderInformation renderInformation
public AbstractRenderPlugin(SBase extendedElement)
public AbstractRenderPlugin(int level, int version)
level
- version
- public AbstractRenderPlugin(java.lang.String id, int level, int version)
id
- level
- version
- public AbstractRenderPlugin(java.lang.String id, java.lang.String name, int level, int version)
id
- name
- level
- version
- public AbstractRenderPlugin(AbstractRenderPlugin obj)
public java.lang.String getElementNamespace()
SBasePlugin
public java.lang.String getPackageName()
SBasePlugin
public java.lang.String getPrefix()
SBasePlugin
public java.lang.String getURI()
SBasePlugin
public void initDefaults()
public java.lang.Short getVersionMinor()
public boolean isSetVersionMinor()
public void setVersionMinor(java.lang.Short versionMinor)
public boolean unsetVersionMinor()
true
, if versionMinor was set before,
otherwise false
public java.lang.Short getVersionMajor()
public boolean isSetVersionMajor()
public void setVersionMajor(short versionMajor)
public boolean unsetVersionMajor()
true
, if versionMajor was set before,
otherwise false
public GlobalRenderInformation getRenderInformation()
public boolean isSetRenderInformation()
public void setRenderInformation(GlobalRenderInformation renderInformation)
public boolean unsetRenderInformation()
true
, if renderInformation was set before,
otherwise false
public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBasePlugin
SBasePlugin
.attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.public javax.swing.tree.TreeNode getChildAt(int childIndex)
public int getChildCount()
public boolean getAllowsChildren()
public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
SBasePlugin
Map
containing the XML attributes of this object.writeXMLAttributes
in interface SBasePlugin
writeXMLAttributes
in class AbstractSBasePlugin
Map
containing the XML attributes of this object.