com.davisor.graphics
Class ImageCompleteObserver
java.lang.Object
com.davisor.graphics.ImageCompleteObserver
- All Implemented Interfaces:
- java.awt.image.ImageObserver
- public class ImageCompleteObserver
- extends java.lang.Object
- implements java.awt.image.ImageObserver
ImageCompleteObserver implements a tool to wait until an image has
been completely constructed in an asynchronous image loading
environment.
- Since:
- JDK1.2
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
|
Method Summary |
boolean |
complete()
Tests if image construction failed or succeeded. |
boolean |
imageUpdate(java.awt.Image img,
int infoflags,
int x,
int y,
int width,
int height)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageCompleteObserver
public ImageCompleteObserver()
- Creates an image construction observer.
complete
public boolean complete()
throws java.lang.InterruptedException
- Tests if image construction failed or succeeded. If this
information is not readily available, the method waits until it
is.
- Throws:
java.lang.InterruptedException - if image construction status
resolvation was interrupted
imageUpdate
public boolean imageUpdate(java.awt.Image img,
int infoflags,
int x,
int y,
int width,
int height)
- Specified by:
imageUpdate in interface java.awt.image.ImageObserver
Copyright © 2001-2004 Davisor Oy. All Rights Reserved.