Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
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:See Also:

Field Summary

static intABORT

Production of the image was aborted.
static intALLBITS

An image with a single frame, a static image, is complete.
static intERROR

An error was encountered while producing the image.
static intFRAMEBITS

All the pixels needed to draw a complete frame of a multi-frame image are available.
static intHEIGHT

The height of the image has been provided as the height argument to imageUpdate.
static intPROPERTIES

The properties of the image have been provided.
static intSOMEBITS

More pixels are now available for drawing a scaled variation of the image.
static intWIDTH

The width of the image has been provided as the width argument to imageUpdate.

Method Summary

booleanimageUpdate(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.

Field Details

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:


Method Details

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: