|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageObserver
An object implementing the ImageObserver
interface can
receive updates on image construction from an
ImageProducer
asynchronously.
ImageProducer
Field Summary | |
---|---|
static int |
ABORT
Production of the image was aborted. |
static int |
ALLBITS
An image with a single frame, a static image, is complete. |
static int |
ERROR
An error was encountered while producing the image. |
static int |
FRAMEBITS
All the pixels needed to draw a complete frame of a multi-frame image are available. |
static int |
HEIGHT
The height of the image has been provided as the height argument to imageUpdate . |
static int |
PROPERTIES
The properties of the image have been provided. |
static int |
SOMEBITS
More pixels are now available for drawing a scaled variation of the image. |
static int |
WIDTH
The width of the image has been provided as the width argument to imageUpdate . |
Method Summary | |
---|---|
boolean |
imageUpdate(Image image,
int flags,
int x,
int y,
int width,
int height)
This is a callback method for an asynchronous image producer to provide updates on the production of the image as it happens. |
Field Detail |
---|
static final int WIDTH
width
argument to imageUpdate
.
imageUpdate(java.awt.Image, int, int, int, int, int)
,
Constant Field Valuesstatic final int HEIGHT
height
argument to imageUpdate
.
imageUpdate(java.awt.Image, int, int, int, int, int)
,
Constant Field Valuesstatic final int PROPERTIES
imageUpdate(java.awt.Image, int, int, int, int, int)
,
(java.lang.String, java.awt.image.ImageObserver)
,
Constant Field Valuesstatic final int SOMEBITS
imageUpdate(java.awt.Image, int, int, int, int, int)
,
Constant Field Valuesstatic final int FRAMEBITS
imageUpdate(java.awt.Image, int, int, int, int, int)
,
Constant Field Valuesstatic final int ALLBITS
imageUpdate(java.awt.Image, int, int, int, int, int)
,
Constant Field Valuesstatic final int ERROR
imageUpdate(java.awt.Image, int, int, int, int, int)
,
Constant Field Valuesstatic final int ABORT
imageUpdate(java.awt.Image, int, int, int, int, int)
,
Constant Field ValuesMethod Detail |
---|
boolean imageUpdate(Image image, int flags, int x, int y, int width, int height)
image
- the image the update refers toflags
- a bit mask indicating what is provided with this updatex
- the x coordinate of the imagey
- the y coordinate of the imagewidth
- the width of the imageheight
- the height of the imageImage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |