Interface VOIListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
JDialogVOIHausdorffDistance.VOIHighlighter
,JDialogVOILogicalOperations.VOIHighlighter
,JDialogVOIStatistics.VOIHighlighter
,VOILatticeManagerInterface
,VOIManagerInterface
public interface VOIListener extends java.util.EventListener
VOIListener
permits objects to listen for updates to aVOI
. This may permit an object to update its view when theVOI
changes.It might be useful to have several different listeners VOI objects, to listen for different varieties of VOI changes, say, for curve-changing, or property-changing.
Perhaps in this case, the VOIListener could listen for all those, but most objects interested in the VOI, would only listen for particular changes in the VOI.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addedCurve(VOIEvent added)
handles an VOIEvent as a selection change.void
colorChanged(java.awt.Color c)
void
removedCurve(VOIEvent removed)
handles to the VOI being removed from the Vector.void
selectedVOI(VOIEvent selection)
handles the VOI being selected. -- a state-change.
-
-
-
Method Detail
-
addedCurve
void addedCurve(VOIEvent added)
handles an VOIEvent as a selection change.- Parameters:
added
- DOCUMENT ME!
-
removedCurve
void removedCurve(VOIEvent removed)
handles to the VOI being removed from the Vector.- Parameters:
removed
- DOCUMENT ME!
-
selectedVOI
void selectedVOI(VOIEvent selection)
handles the VOI being selected. -- a state-change.- Parameters:
selection
- DOCUMENT ME!
-
colorChanged
void colorChanged(java.awt.Color c)
-
-