edu.wisc.ssec.mcidasv.probes
Interface ProbeListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
MultiSpectralControl.ProbeTableModel, MultiSpectralControl.Spectrum

public interface ProbeListener
extends EventListener

The listener interface for receiving ReadoutProbe events. Everything is handled in the standard Java idiom: implement required methods, register the implementing class using ReadoutProbe.addProbeListener(ProbeListener) and listen away!


Method Summary
 void probeColorChanged(ProbeEvent<Color> event)
          Invoked when a probe's color has changed.
 void probePositionChanged(ProbeEvent<RealTuple> event)
          Invoked when a probe's position is changed.
 void probeVisibilityChanged(ProbeEvent<Boolean> event)
          Invoked when a probe's visibility has changed.
 

Method Detail

probePositionChanged

void probePositionChanged(ProbeEvent<RealTuple> event)
Invoked when a probe's position is changed.

Parameters:
event - Describes the probe that moved, its old position, and its new position.

probeColorChanged

void probeColorChanged(ProbeEvent<Color> event)
Invoked when a probe's color has changed.

Parameters:
event - Describes the probe that changed, its old color, and its new color.

probeVisibilityChanged

void probeVisibilityChanged(ProbeEvent<Boolean> event)
Invoked when a probe's visibility has changed.

Parameters:
event - Describes the probe that changed, its old visibility, and the new visibility. The previous and current values will always be the opposites of each other.