java.io.Serializable
, java.lang.Cloneable
, javax.swing.tree.TreeNode
, SBasePlugin
, TreeNodeWithChangeSupport
public class DynEventPlugin extends DynSBasePlugin
Constructor | Description |
---|---|
DynEventPlugin() |
Empty constructor
|
DynEventPlugin(Event event) |
Constructor
|
DynEventPlugin(DynEventPlugin dynEventPlugin) |
Constructor
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
addDynElement(DynElement dynElement) |
Adds a new
DynElement to the listOfDynElements. |
DynEventPlugin |
clone() |
Creates a new instance of
SBasePlugin from this SBasePlugin . |
DynElement |
createDynElement() |
Creates a new DynElement element and adds it to the listOfDynElements
list
|
DynElement |
createDynElement(java.lang.String id) |
Creates a new
DynElement element and adds it to the
getListOfDynElements() . |
boolean |
equals(java.lang.Object obj) |
|
boolean |
getAllowsChildren() |
|
boolean |
getApplyToAll() |
Returns the value of applyToAll
|
javax.swing.tree.TreeNode |
getChildAt(int childIndex) |
|
int |
getChildCount() |
|
ListOf<DynElement> |
getListOfDynElements() |
Returns the value of listOfDynElements
|
int |
hashCode() |
|
void |
initDefaults() |
Initializes custom Class attributes
|
boolean |
isApplyToAll() |
|
boolean |
isSetApplyToAll() |
Returns whether applyToAll is set
|
boolean |
isSetListOfDynElements() |
Returns whether listOfDynElements is set
|
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 |
removeDynElement(int i) |
Removes the ith element from the listOfDynElements
|
boolean |
removeDynElement(DynElement dynElement) |
Removes an element from the listOfDynElements
|
void |
setApplyToAll(boolean applyToAll) |
Sets the value of applyToAll
|
void |
setListOfDynElements(ListOf<DynElement> listOfDynElements) |
Sets the value of listOfDynElements
|
boolean |
unsetApplyToAll() |
Unsets the applyToAll field
|
boolean |
unsetListOfDynElements() |
Unsets the variable listOfDynElements
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
Returns a
Map containing the XML attributes of this object. |
fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getElementNamespace, getExtendedSBase, getLevel, getPackageVersion, getSBMLDocument, getVersion, isSetExtendedSBase, isSetPackageVersion, removeFromParent, setExtendedSBase, setNamespace, setPackageVersion
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
getCBOTerm, getPackageName, getParent, getParentSBMLObject, getPrefix, getURI, isSetCBOTerm, setCBOTerm, unsetCBOTerm
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
public DynEventPlugin()
public DynEventPlugin(Event event)
event
- public DynEventPlugin(DynEventPlugin dynEventPlugin)
dynEventPlugin
- public void initDefaults()
DynSBasePlugin
initDefaults
in class DynSBasePlugin
public boolean isApplyToAll()
public boolean getApplyToAll()
public boolean isSetApplyToAll()
public void setApplyToAll(boolean applyToAll)
applyToAll
- public boolean unsetApplyToAll()
true
, if applyToAll was set before, otherwise
false
public ListOf<DynElement> getListOfDynElements()
public boolean isSetListOfDynElements()
public void setListOfDynElements(ListOf<DynElement> listOfDynElements)
listOfDynElements
- public boolean unsetListOfDynElements()
true
, if listOfDynElements was set before, otherwise
false
public DynElement createDynElement()
public DynElement createDynElement(java.lang.String id)
DynElement
element and adds it to the
getListOfDynElements()
.id
- DynElement
elementpublic boolean addDynElement(DynElement dynElement)
DynElement
to the listOfDynElements. The
listOfDynElements is initialized if necessary.dynElement
- the element to add to the listtrue
(as specified by Collection#add
)public void removeDynElement(int i)
i
- public boolean removeDynElement(DynElement dynElement)
dynElement
- the element to be removed from the listtrue
if the list contained the specified elementList#remove(Object)
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class DynSBasePlugin
public javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
getChildAt
in class DynSBasePlugin
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class DynSBasePlugin
public boolean equals(java.lang.Object obj)
equals
in interface SBasePlugin
equals
in class DynSBasePlugin
public int hashCode()
hashCode
in interface SBasePlugin
hashCode
in class DynSBasePlugin
public DynEventPlugin clone()
SBasePlugin
SBasePlugin
from this SBasePlugin
.clone
in interface SBasePlugin
clone
in class DynSBasePlugin
SBasePlugin
from this SBasePlugin
.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 DynSBasePlugin
Map
containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBasePlugin
SBasePlugin
.readAttribute
in interface SBasePlugin
readAttribute
in class DynSBasePlugin
attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.