javax.imageio.event
Interface IIOReadProgressListener

All Superinterfaces:
EventListener

public interface IIOReadProgressListener
extends EventListener


Method Summary
 void imageComplete(ImageReader source)
          Reports that the current image read operation has completed.
 void imageProgress(ImageReader source, float percentageDone)
          Reports the approximate percentage of completions of this image read operation.
 void imageStarted(ImageReader source, int imageIndex)
          Reports that the current image read operation has started.
 void readAborted(ImageReader source)
          Reports that a read operation has been aborted.
 void sequenceComplete(ImageReader source)
          Reports that a sequence of read operationshas completed.
 void sequenceStarted(ImageReader source, int minIndex)
          Reports that a sequence of read operations is beginning.
 void thumbnailComplete(ImageReader source)
          Reports that a thumbnail read operation has completed.
 void thumbnailProgress(ImageReader source, float percentageDone)
          Reports the approximate percentage of completion of a thumbnail read operation.
 void thumbnailStarted(ImageReader source, int imageIndex, int thumbnailIndex)
          Reports that a thumbnail read operation is beginning.
 

Method Detail

imageComplete

void imageComplete(ImageReader source)
Reports that the current image read operation has completed.

Parameters:
source - the ImageReader object calling this method

imageProgress

void imageProgress(ImageReader source,
                   float percentageDone)
Reports the approximate percentage of completions of this image read operation.

Parameters:
source - the ImageReader object calling this method
percentageDone - the approximate percentage of encoding completed

imageStarted

void imageStarted(ImageReader source,
                  int imageIndex)
Reports that the current image read operation has started.

Parameters:
source - the ImageReader object calling this method
imageIndex - the index of the image to read

readAborted

void readAborted(ImageReader source)
Reports that a read operation has been aborted.

Parameters:
source - the ImageReader object calling this method

sequenceComplete

void sequenceComplete(ImageReader source)
Reports that a sequence of read operationshas completed.

Parameters:
source - the ImageReader object calling this method

sequenceStarted

void sequenceStarted(ImageReader source,
                     int minIndex)
Reports that a sequence of read operations is beginning.

Parameters:
source - the ImageReader object calling this method
minIndex - the index of the first image to be read

thumbnailComplete

void thumbnailComplete(ImageReader source)
Reports that a thumbnail read operation has completed.

Parameters:
source - the ImageReader object calling this method

thumbnailProgress

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

Parameters:
source - the ImageReader object calling this method
percentageDone - the approximate percentage of encoding completed

thumbnailStarted

void thumbnailStarted(ImageReader source,
                      int imageIndex,
                      int thumbnailIndex)
Reports that a thumbnail read operation is beginning.

Parameters:
source - the ImageReader object calling this method
imageIndex - the index of the image being read
thumbnailIndex - the index of the thumbnail being read