did.xml
Class DIDTreeModelListener
java.lang.Object
|
+--did.xml.DIDTreeModelListener
- public class DIDTreeModelListener
- extends java.lang.Object
- implements javax.swing.event.TreeModelListener
File: DIDTreeModelListener.java
Version: 1.1
Description: This class was intended to listen to the DIDTree and respond to certain
events initiated by the user. Because of time contraints and implmentation issues this
class was not fully implmented but left so that future versions could take advantage of
the methods and functionality exposed by this class.
Specifically this class could be used to listen when a user changes the value of a
userObject in a node that contains coordinate data. The ROI the coordinate is a part of
could then be update providing the user with a more robust way to edit data.
Modification Log:
Date Name Comment
xx-xx-xxxx XXX xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Method Summary |
void |
treeNodesChanged(javax.swing.event.TreeModelEvent e)
Method triggered when a node has been altered. |
void |
treeNodesInserted(javax.swing.event.TreeModelEvent e)
Method triggered when a node has been inserted. |
void |
treeNodesRemoved(javax.swing.event.TreeModelEvent e)
Method triggered when a node has been removed. |
void |
treeStructureChanged(javax.swing.event.TreeModelEvent e)
Method triggered when a large portion of the underlying tree structure of the data model
this class is listening to has changed. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DIDTreeModelListener
public DIDTreeModelListener()
- Method used to instantiate the class.
treeNodesChanged
public void treeNodesChanged(javax.swing.event.TreeModelEvent e)
- Method triggered when a node has been altered.
- Specified by:
- treeNodesChanged in interface javax.swing.event.TreeModelListener
- Parameters:
TreeModelEvent
- Encapsulates information describing changes to a tree model, and
used to notify tree model listeners of the change.
treeNodesInserted
public void treeNodesInserted(javax.swing.event.TreeModelEvent e)
- Method triggered when a node has been inserted.
- Specified by:
- treeNodesInserted in interface javax.swing.event.TreeModelListener
- Parameters:
TreeModelEvent
- Encapsulates information describing changes to a tree model, and
used to notify tree model listeners of the change.
treeNodesRemoved
public void treeNodesRemoved(javax.swing.event.TreeModelEvent e)
- Method triggered when a node has been removed.
- Specified by:
- treeNodesRemoved in interface javax.swing.event.TreeModelListener
- Parameters:
TreeModelEvent
- Encapsulates information describing changes to a tree model, and
used to notify tree model listeners of the change.
treeStructureChanged
public void treeStructureChanged(javax.swing.event.TreeModelEvent e)
- Method triggered when a large portion of the underlying tree structure of the data model
this class is listening to has changed.
- Specified by:
- treeStructureChanged in interface javax.swing.event.TreeModelListener
- Parameters:
TreeModelEvent
- Encapsulates information describing changes to a tree model, and
used to notify tree model listeners of the change.