org.geotools.image.io
Class IIOReadProgressAdapter

java.lang.Object
  extended byorg.geotools.image.io.IIOReadProgressAdapter
All Implemented Interfaces:
java.util.EventListener, javax.imageio.event.IIOReadProgressListener

public class IIOReadProgressAdapter
extends java.lang.Object
implements javax.imageio.event.IIOReadProgressListener

An abstract adapter class for receiving image progress events. The methods in this class are empty. This class exists as convenience for creating listener objects.

Since:
2.1
Version:
$Id: IIOReadProgressAdapter.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux

Constructor Summary
IIOReadProgressAdapter()
           
 
Method Summary
 void imageComplete(javax.imageio.ImageReader source)
          Reports that the current image read operation has completed.
 void imageProgress(javax.imageio.ImageReader source, float percentageDone)
          Reports the approximate degree of completion of the current call of the associated .
 void imageStarted(javax.imageio.ImageReader source, int imageIndex)
          Reports that an image read operation is beginning.
 void readAborted(javax.imageio.ImageReader source)
          Reports that a read has been aborted via the reader's method.
 void sequenceComplete(javax.imageio.ImageReader source)
          Reports that a sequence of read operationshas completed.
 void sequenceStarted(javax.imageio.ImageReader source, int minIndex)
          Reports that a sequence of read operations is beginning.
 void thumbnailComplete(javax.imageio.ImageReader source)
          Reports that a thumbnail read operation has completed.
 void thumbnailProgress(javax.imageio.ImageReader source, float percentageDone)
          Reports the approximate degree of completion of the current call within the associated .
 void thumbnailStarted(javax.imageio.ImageReader source, int imageIndex, int thumbnailIndex)
          Reports that a thumbnail read operation is beginning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IIOReadProgressAdapter

public IIOReadProgressAdapter()
Method Detail

sequenceStarted

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

Specified by:
sequenceStarted in interface javax.imageio.event.IIOReadProgressListener

sequenceComplete

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

Specified by:
sequenceComplete in interface javax.imageio.event.IIOReadProgressListener

imageStarted

public void imageStarted(javax.imageio.ImageReader source,
                         int imageIndex)
Reports that an image read operation is beginning.

Specified by:
imageStarted in interface javax.imageio.event.IIOReadProgressListener

imageProgress

public void imageProgress(javax.imageio.ImageReader source,
                          float percentageDone)
Reports the approximate degree of completion of the current call of the associated .

Specified by:
imageProgress in interface javax.imageio.event.IIOReadProgressListener

imageComplete

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

Specified by:
imageComplete in interface javax.imageio.event.IIOReadProgressListener

thumbnailStarted

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

Specified by:
thumbnailStarted in interface javax.imageio.event.IIOReadProgressListener

thumbnailProgress

public void thumbnailProgress(javax.imageio.ImageReader source,
                              float percentageDone)
Reports the approximate degree of completion of the current call within the associated .

Specified by:
thumbnailProgress in interface javax.imageio.event.IIOReadProgressListener

thumbnailComplete

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

Specified by:
thumbnailComplete in interface javax.imageio.event.IIOReadProgressListener

readAborted

public void readAborted(javax.imageio.ImageReader source)
Reports that a read has been aborted via the reader's method.

Specified by:
readAborted in interface javax.imageio.event.IIOReadProgressListener


Copyright © GeoTools. All Rights Reserved.