org.sbml.jsbml.util
public interface TreeNodeChangeListener extends java.beans.PropertyChangeListener
TreeNode
object changes.Modifier and Type | Method and Description |
---|---|
void |
nodeAdded(javax.swing.tree.TreeNode node)
The
TreeNode passed to this method has just been added to the
a containing element. |
void |
nodeRemoved(TreeNodeRemovedEvent event)
The
TreeNodeRemovedEvent passed to this method provides information
about the node that has been removed from a
containing parent and does hence no longer belong to the
SBMLDocument anymore. |
void nodeAdded(javax.swing.tree.TreeNode node)
TreeNode
passed to this method has just been added to the
a containing element.node
- This element is now part of the SBMLDocument
.void nodeRemoved(TreeNodeRemovedEvent event)
TreeNodeRemovedEvent
passed to this method provides information
about the node that has been removed from a
containing parent and does hence no longer belong to the
SBMLDocument
anymore. In addition, a pointer to its previous parent
is also provided. In this way, an implementing class
can identify the location within the tree where it was before.event
- The event containing information about the removed TreeNode
.