org.geotools.image.io
Class IIOReadProgressAdapter

Object
  extended by IIOReadProgressAdapter
All Implemented Interfaces:
EventListener, IIOReadProgressListener

public class IIOReadProgressAdapter
extends Object
implements 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
Author:
Martin Desruisseaux (IRD)
Module:
modules/library/coverage (gt-coverage.jar)

Constructor Summary
IIOReadProgressAdapter()
           
 
Method Summary
 void imageComplete(ImageReader source)
          Reports that the current image read operation has completed.
 void imageProgress(ImageReader source, float percentageDone)
          Reports the approximate degree of completion of the current read call of the associated ImageReader.
 void imageStarted(ImageReader source, int imageIndex)
          Reports that an image read operation is beginning.
 void readAborted(ImageReader source)
          Reports that a read has been aborted via the reader's abort method.
 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 degree of completion of the current getThumbnail call within the associated ImageReader.
 void thumbnailStarted(ImageReader source, int imageIndex, int thumbnailIndex)
          Reports that a thumbnail read operation is beginning.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IIOReadProgressAdapter

public IIOReadProgressAdapter()
Method Detail

sequenceStarted

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

Specified by:
sequenceStarted in interface IIOReadProgressListener

sequenceComplete

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

Specified by:
sequenceComplete in interface IIOReadProgressListener

imageStarted

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

Specified by:
imageStarted in interface IIOReadProgressListener

imageProgress

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

Specified by:
imageProgress in interface IIOReadProgressListener

imageComplete

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

Specified by:
imageComplete in interface IIOReadProgressListener

thumbnailStarted

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

Specified by:
thumbnailStarted in interface IIOReadProgressListener

thumbnailProgress

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

Specified by:
thumbnailProgress in interface IIOReadProgressListener

thumbnailComplete

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

Specified by:
thumbnailComplete in interface IIOReadProgressListener

readAborted

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

Specified by:
readAborted in interface IIOReadProgressListener


Copyright © 1996-2009 Geotools. All Rights Reserved.