ImageReader
implementations to
notify callers of their image and thumbnail reading methods of
progress.
This interface receives general indications of decoding
progress (via the imageProgress
and
thumbnailProgress
methods), and events indicating when
an entire image has been updated (via the
imageStarted
, imageComplete
,
thumbnailStarted
and thumbnailComplete
methods). Applications that wish to be informed of pixel updates
as they happen (for example, during progressive decoding), should
provide an IIOReadUpdateListener
.
IIOReadUpdateListener
, javax.imageio.ImageReader#addIIOReadProgressListener
, javax.imageio.ImageReader#removeIIOReadProgressListener
Modifier and Type | Method and Description |
---|---|
public void | imageComplete(ImageReader
the source)ImageReader object calling this
method.Reports that the current image read operation has completed. |
public void | imageProgress(ImageReader
the source, float ImageReader object calling this method.the approximate percentage of decoding that
has been completed. percentageDone)Reports the approximate degree of completion of the current
|
public void | imageStarted(ImageReader
the source, int ImageReader object calling this method.the index of the image being read within its
containing input file or stream. imageIndex)Reports that an image read operation is beginning. |
public void | readAborted(ImageReader
the source)ImageReader object calling this
method.Reports that a read has been aborted via the reader's
|
public void | sequenceComplete(ImageReader
the source)ImageReader object calling this method.Reports that a sequence of read operations has completed. |
public void | sequenceStarted(ImageReader
the source, int ImageReader object calling this method.the index of the first image to be read. minIndex)Reports that a sequence of read operations is beginning. |
public void | thumbnailComplete(ImageReader
the source)ImageReader object calling this
method.Reports that a thumbnail read operation has completed. |
public void | thumbnailProgress(ImageReader
the source, float ImageReader object calling this method.the approximate percentage of decoding that
has been completed. percentageDone)Reports the approximate degree of completion of the current
|
public void | thumbnailStarted(ImageReader
the source, int ImageReader object calling this method.the index of the image being read within its
containing input file or stream. imageIndex, int the index of the thumbnail being read. thumbnailIndex)Reports that a thumbnail read operation is beginning. |
imageComplete | back to summary |
---|---|
public void imageComplete(ImageReader source) Reports that the current image read operation has completed.
All
|
imageProgress | back to summary |
---|---|
public void imageProgress(ImageReader source, float percentageDone) Reports the approximate degree of completion of the current
The degree of completion is expressed as a percentage
varying from Each particular
|
imageStarted | back to summary |
---|---|
public void imageStarted(ImageReader source, int imageIndex) Reports that an image read operation is beginning. All
|
readAborted | back to summary |
---|---|
public void readAborted(ImageReader source) Reports that a read has been aborted via the reader's
|
sequenceComplete | back to summary |
---|---|
public void sequenceComplete(ImageReader source) Reports that a sequence of read operations has completed.
|
sequenceStarted | back to summary |
---|---|
public void sequenceStarted(ImageReader source, int minIndex) Reports that a sequence of read operations is beginning.
|
thumbnailComplete | back to summary |
---|---|
public void thumbnailComplete(ImageReader source) Reports that a thumbnail read operation has completed. All
|
thumbnailProgress | back to summary |
---|---|
public void thumbnailProgress(ImageReader source, float percentageDone) Reports the approximate degree of completion of the current
|
thumbnailStarted | back to summary |
---|---|
public void thumbnailStarted(ImageReader source, int imageIndex, int thumbnailIndex) Reports that a thumbnail read operation is beginning. All
|