javax.imageio.event

Interface IIOWriteProgressListener

public interface IIOWriteProgressListener extends EventListener

Method Summary
voidimageComplete(ImageWriter source)
Reports that an image write operation has completed.
voidimageProgress(ImageWriter source, float percentageDone)
Reports the approximate percentage of completion of an image write operation.
voidimageStarted(ImageWriter source, int imageIndex)
Reports that a thumbnail write operation has started.
voidthumbnailComplete(ImageWriter source)
Reports that a thumbnail write operation has completed.
voidthumbnailProgress(ImageWriter source, float percentageDone)
Reports the approximate percentage of completion of a thumbnail write operation.
voidthumbnailStarted(ImageWriter source, int imageIndex, int thumnailIndex)
Reports that a thumbnail write operation is beginning.
voidwriteAborted(ImageWriter source)
Reports that an image write operation is aborted.

Method Detail

imageComplete

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

Parameters: source the ImageWriter object calling this method

imageProgress

public 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

public 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

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

Parameters: source the ImageWriter object calling this method

thumbnailProgress

public 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

public 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

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

Parameters: source the ImageWriter object calling this method