Class FlkObserver
java.lang.Object
FlkObserver
- All Implemented Interfaces:
- java.awt.image.ImageObserver
class FlkObserver
- extends java.lang.Object
- implements java.awt.image.ImageObserver
FlkObserver implements our own (rather than default) image observer
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
|
Method Summary |
boolean |
imageUpdate(java.awt.Image img,
int flags,
int x,
int y,
int w,
int h)
imageUpdate() - called when loading reporting progress by printing "..."
Set by ImageObserver. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
flk
Flicker flk
- Global instances
util
Util util
imgIO
ImageIO imgIO
FlkObserver
FlkObserver(Flicker flk,
ImageIO imgIO)
- FlkObserver() - Constructor
imageUpdate
public boolean imageUpdate(java.awt.Image img,
int flags,
int x,
int y,
int w,
int h)
- imageUpdate() - called when loading reporting progress by printing "..."
Set by ImageObserver.
- Specified by:
imageUpdate in interface java.awt.image.ImageObserver
- Parameters:
img - is image to updateflags - x - y - w - is image widthh - is image height
- Returns:
- true if succeed