java.awt.image
Interface ImageObserver
java.lang.Object
|
+--java.awt.image.ImageObserver
public interface ImageObserver
An object implementing the ImageObserver interface can
receive updates on image construction from an
ImageProducer asynchronously.
Author:- C. Brian Jones (cbj@gnu.org)
See Also:
ABORT
public static final int ABORT Production of the image was aborted.
See Also:
ALLBITS
public static final int ALLBITS An image with a single frame, a static image, is complete.
See Also:
ERROR
public static final int ERROR An error was encountered while producing the image.
See Also:
FRAMEBITS
public static final int FRAMEBITS All the pixels needed to draw a complete frame of a multi-frame
image are available.
See Also:
HEIGHT
public static final int HEIGHT The height of the image has been provided as the
height argument to imageUpdate.
See Also:
PROPERTIES
public static final int PROPERTIES The properties of the image have been provided.
See Also:
SOMEBITS
public static final int SOMEBITS More pixels are now available for drawing a scaled variation of
the image.
See Also:
WIDTH
public static final int WIDTH The width of the image has been provided as the
width argument to imageUpdate.
See Also:
imageUpdate
public boolean imageUpdate(java.awt.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.
Parameters:
See Also:
ImageObserverinterface can receive updates on image construction from anImageProducerasynchronously.