Interface VOIListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
JDialogVOIHausdorffDistance.VOIHighlighter, JDialogVOILogicalOperations.VOIHighlighter, JDialogVOIStatistics.VOIHighlighter, VOILatticeManagerInterface, VOIManagerInterface

public interface VOIListener extends EventListener
VOIListener permits objects to listen for updates to a VOI. This may permit an object to update its view when the VOI 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.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handles an VOIEvent as a selection change.
    void
     
    void
    handles to the VOI being removed from the Vector.
    void
    selectedVOI(VOIEvent selection)
    handles the VOI being selected. -- a state-change.
  • Method Details

    • 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(Color c)