Package com.sun.pdfview.decode
Class MyTracker
java.lang.Object
com.sun.pdfview.decode.MyTracker
- All Implemented Interfaces:
ImageObserver
Image tracker. I'm not sure why I'm not using the default Java
image tracker for this one.
-
Field Summary
FieldsFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
imageUpdate
(Image img, int infoflags, int x, int y, int width, int height) More information has come in about the image.void
Wait until the image is done, then return.
-
Field Details
-
done
boolean done
-
-
Constructor Details
-
MyTracker
create a new MyTracker that watches this image. The image will start loading immediately.
-
-
Method Details
-
imageUpdate
More information has come in about the image.- Specified by:
imageUpdate
in interfaceImageObserver
-
waitForAll
public void waitForAll()Wait until the image is done, then return.
-