edu.washington.biostr.sig.brainj3d.util
Class BlockingReadMonitor

java.lang.Object
  extended by edu.washington.biostr.sig.brainj3d.util.BlockingReadMonitor
All Implemented Interfaces:
EventListener, IIOReadProgressListener

public class BlockingReadMonitor
extends Object
implements IIOReadProgressListener

Title:

Description:

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
not attributable

Field Summary
static int ABORT
           
static int COMPLETE
           
static int INCOMPLETE
           
 int status
           
 
Constructor Summary
BlockingReadMonitor()
           
 
Method Summary
 void imageComplete(ImageReader source)
           
 void imageProgress(ImageReader source, float percentageDone)
           
 void imageStarted(ImageReader source, int imageIndex)
           
 void readAborted(ImageReader source)
           
 void sequenceComplete(ImageReader source)
           
 void sequenceStarted(ImageReader source, int minIndex)
           
 boolean successful()
           
 void thumbnailComplete(ImageReader source)
           
 void thumbnailProgress(ImageReader source, float percentageDone)
           
 void thumbnailStarted(ImageReader source, int imageIndex, int thumbnailIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPLETE

public static final int COMPLETE
See Also:
Constant Field Values

ABORT

public static final int ABORT
See Also:
Constant Field Values

INCOMPLETE

public static final int INCOMPLETE
See Also:
Constant Field Values

status

public int status
Constructor Detail

BlockingReadMonitor

public BlockingReadMonitor()
Method Detail

successful

public boolean successful()

imageComplete

public void imageComplete(ImageReader source)
Specified by:
imageComplete in interface IIOReadProgressListener

readAborted

public void readAborted(ImageReader source)
Specified by:
readAborted in interface IIOReadProgressListener

sequenceStarted

public void sequenceStarted(ImageReader source,
                            int minIndex)
Specified by:
sequenceStarted in interface IIOReadProgressListener

sequenceComplete

public void sequenceComplete(ImageReader source)
Specified by:
sequenceComplete in interface IIOReadProgressListener

imageStarted

public void imageStarted(ImageReader source,
                         int imageIndex)
Specified by:
imageStarted in interface IIOReadProgressListener

imageProgress

public void imageProgress(ImageReader source,
                          float percentageDone)
Specified by:
imageProgress in interface IIOReadProgressListener

thumbnailStarted

public void thumbnailStarted(ImageReader source,
                             int imageIndex,
                             int thumbnailIndex)
Specified by:
thumbnailStarted in interface IIOReadProgressListener

thumbnailProgress

public void thumbnailProgress(ImageReader source,
                              float percentageDone)
Specified by:
thumbnailProgress in interface IIOReadProgressListener

thumbnailComplete

public void thumbnailComplete(ImageReader source)
Specified by:
thumbnailComplete in interface IIOReadProgressListener


Copyright © 2006 University of Washington. All Rights Reserved.