javax.imageio.event

Interface IIOReadProgressListener

public interface IIOReadProgressListener extends EventListener

Method Summary
voidimageComplete(ImageReader source)
Reports that the current image read operation has completed.
voidimageProgress(ImageReader source, float percentageDone)
Reports the approximate percentage of completions of this image read operation.
voidimageStarted(ImageReader source, int imageIndex)
Reports that the current image read operation has started.
voidreadAborted(ImageReader source)
Reports that a read operation has been aborted.
voidsequenceComplete(ImageReader source)
Reports that a sequence of read operationshas completed.
voidsequenceStarted(ImageReader source, int minIndex)
Reports that a sequence of read operations is beginning.
voidthumbnailComplete(ImageReader source)
Reports that a thumbnail read operation has completed.
voidthumbnailProgress(ImageReader source, float percentageDone)
Reports the approximate percentage of completion of a thumbnail read operation.
voidthumbnailStarted(ImageReader source, int imageIndex, int thumbnailIndex)
Reports that a thumbnail read operation is beginning.

Method Detail

imageComplete

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

Parameters: source the ImageReader object calling this method

imageProgress

public 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

public 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

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

Parameters: source the ImageReader object calling this method

sequenceComplete

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

Parameters: source the ImageReader object calling this method

sequenceStarted

public 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

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

Parameters: source the ImageReader object calling this method

thumbnailProgress

public 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

public 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