FileDocCategorySizeDatePackage
ImageObserver.javaAPI DocAndroid 1.5 API3199Wed May 06 22:41:54 BST 2009java.awt.image

ImageObserver

public interface ImageObserver
the ImageObserver interface is an asynchronous update interface for receiving notifications about Image construction status.
since
Android 1.0

Fields Summary
public static final int
WIDTH
The Constant WIDTH indicates that the width of the image is available.
public static final int
HEIGHT
The Constant HEIGHT indicates that the width of the image is available.
public static final int
PROPERTIES
The Constant PROPERTIES indicates that the properties of the image are available.
public static final int
SOMEBITS
The Constant SOMEBITS indicates that more bits needed for drawing a scaled variation of the image pixels are available.
public static final int
FRAMEBITS
The Constant FRAMEBITS indicates that complete frame of a image which was previously drawn is now available for drawing again.
public static final int
ALLBITS
The Constant ALLBITS indicates that an image which was previously drawn is now complete and can be drawn again.
public static final int
ERROR
The Constant ERROR indicates that error occurred.
public static final int
ABORT
The Constant ABORT indicates that the image producing is aborted.
Constructors Summary
Methods Summary
public booleanimageUpdate(java.awt.Image img, int infoflags, int x, int y, int width, int height)
This method is called when information about an Image interface becomes available. This method returns true if further updates are needed, false if not.

param
img the image to be observed.
param
infoflags the bitwise OR combination of information flags: ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH.
param
x the X coordinate.
param
y the Y coordinate.
param
width the width.
param
height the height.
return
true if further updates are needed, false if not.