javax.imageio.event
Interface IIOWriteProgressListener

All Superinterfaces:
EventListener

public interface IIOWriteProgressListener
extends EventListener


Method Summary
 void imageComplete(ImageWriter source)
          Reports that an image write operation has completed.
 void imageProgress(ImageWriter source, float percentageDone)
          Reports the approximate percentage of completion of an image write operation.
 void imageStarted(ImageWriter source, int imageIndex)
          Reports that a thumbnail write operation has started.
 void thumbnailComplete(ImageWriter source)
          Reports that a thumbnail write operation has completed.
 void thumbnailProgress(ImageWriter source, float percentageDone)
          Reports the approximate percentage of completion of a thumbnail write operation.
 void thumbnailStarted(ImageWriter source, int imageIndex, int thumnailIndex)
          Reports that a thumbnail write operation is beginning.
 void writeAborted(ImageWriter source)
          Reports that an image write operation is aborted.
 

Method Detail

imageComplete

void imageComplete(ImageWriter source)
Reports that an image write operation has completed.

Parameters:
source - the ImageWriter object calling this method

imageProgress

void imageProgress(ImageWriter source,
                   float percentageDone)
Reports the approximate percentage of completion of an image write operation.

Parameters:
source - the ImageWriter object calling this method
percentageDone - the approximate percentage of decoding completed

imageStarted

void imageStarted(ImageWriter source,
                  int imageIndex)
Reports that a thumbnail write operation has started.

Parameters:
source - the ImageWriter object calling this method
imageIndex - the index of the image being written

thumbnailComplete

void thumbnailComplete(ImageWriter source)
Reports that a thumbnail write operation has completed.

Parameters:
source - the ImageWriter object calling this method

thumbnailProgress

void thumbnailProgress(ImageWriter source,
                       float percentageDone)
Reports the approximate percentage of completion of a thumbnail write operation.

Parameters:
source - the ImageWriter object calling this method
percentageDone - the approximate percentage of decoding completed

thumbnailStarted

void thumbnailStarted(ImageWriter source,
                      int imageIndex,
                      int thumnailIndex)
Reports that a thumbnail write operation is beginning.

Parameters:
source - the ImageWriter object calling this method
imageIndex - the index of the image being written
thumnailIndex - the index of the thumbnail being written

writeAborted

void writeAborted(ImageWriter source)
Reports that an image write operation is aborted.

Parameters:
source - the ImageWriter object calling this method