jezuch.utils.starmapper2.event
Interface ProgressListener

All Superinterfaces:
java.util.EventListener

public interface ProgressListener
extends java.util.EventListener

Interface that defines callback methods used by Starmapper to notify clients about progress of image drawing process.

Since:
2.0
Version:
2.0
Author:
Krzysztof Sobolewski
See Also:
Starmapper.addProgressListener(ProgressListener), Starmapper.removeProgressListener(ProgressListener)

Method Summary
 void imageErrored(ImageEvent ev)
          Notifies listeners that an error occured during drawing process.
 void imageFinished(ImageEvent ev)
          Notifies listeners that Starmapper has just finished producing pixels for the image.
 void imageStarted(ImageEvent ev)
          Notifies listeners that Starmapper is about to start producing pixels for the image.
 

Method Detail

imageErrored

public void imageErrored(ImageEvent ev)
Notifies listeners that an error occured during drawing process.

Parameters:
ev - the image event containing necessary information

imageFinished

public void imageFinished(ImageEvent ev)
Notifies listeners that Starmapper has just finished producing pixels for the image.

Parameters:
ev - the image event containing necessary information

imageStarted

public void imageStarted(ImageEvent ev)
Notifies listeners that Starmapper is about to start producing pixels for the image.

Parameters:
ev - the image event containing necessary information