java.io.Serializable
, java.lang.Cloneable
, javax.swing.tree.TreeNode
, SBasePlugin
, TreeNodeWithChangeSupport
public class SpatialSpeciesPlugin extends AbstractSpatialSBasePlugin
Constructor | Description |
---|---|
SpatialSpeciesPlugin() |
|
SpatialSpeciesPlugin(SpatialSpeciesPlugin sb) |
|
SpatialSpeciesPlugin(Species sp) |
Modifier and Type | Method | Description |
---|---|---|
SpatialSpeciesPlugin |
clone() |
Creates a new instance of
SBasePlugin from this SBasePlugin . |
boolean |
equals(java.lang.Object object) |
|
boolean |
getAllowsChildren() |
|
javax.swing.tree.TreeNode |
getChildAt(int childIndex) |
|
int |
getChildCount() |
|
Species |
getExtendedSBase() |
Returns the SBase object that is extended by this plug-in.
|
boolean |
getSpatial() |
|
int |
hashCode() |
|
boolean |
isSetSpatial() |
|
boolean |
isSpatial() |
|
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 |
setSpatial(boolean isSpatial) |
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
Returns a
Map containing the XML attributes of this object. |
fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getElementNamespace, getLevel, getPackageVersion, getSBMLDocument, getVersion, isSetExtendedSBase, isSetPackageVersion, removeFromParent, setExtendedSBase, setNamespace, setPackageVersion
getModel, getPackageName, getParent, getParentSBMLObject, getPrefix, getURI, initDefaults
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, toString, userObjectKeySet
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
public SpatialSpeciesPlugin()
public SpatialSpeciesPlugin(Species sp)
sp
- public SpatialSpeciesPlugin(SpatialSpeciesPlugin sb)
sb
- public SpatialSpeciesPlugin clone()
SBasePlugin
SBasePlugin
from this SBasePlugin
.clone
in interface SBasePlugin
clone
in class AbstractSpatialSBasePlugin
SBasePlugin
from this SBasePlugin
.public Species getExtendedSBase()
SBasePlugin
getExtendedSBase
in interface SBasePlugin
getExtendedSBase
in class AbstractSBasePlugin
public boolean getSpatial()
public int hashCode()
hashCode
in interface SBasePlugin
hashCode
in class AbstractSBasePlugin
public boolean isSetSpatial()
public boolean isSpatial()
getSpatial()
public void setSpatial(boolean isSpatial)
isSpatial
- the isSpatial to setpublic boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBasePlugin
SBasePlugin
.readAttribute
in interface SBasePlugin
readAttribute
in class AbstractSpatialSBasePlugin
attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.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 AbstractSpatialSBasePlugin
Map
containing the XML attributes of this object.public boolean getAllowsChildren()
public javax.swing.tree.TreeNode getChildAt(int childIndex)
public int getChildCount()
public boolean equals(java.lang.Object object)
equals
in interface SBasePlugin
equals
in class AbstractSBasePlugin