Share via


Toolkit.checkImage

Class Overview | Class Members | This Package | All Packages

Syntax

public abstract int checkImage( Image image**, int** width**, int** height**, ImageObserver** observer )

Parameters
  • image
    the image whose status is being checked.
  • width
    the width of the scaled version whose status is being checked, or -1.
  • height
    the height of the scaled version whose status is being checked, or -1.
  • observer
    the ImageObserver object to be notified as the image is being prepared.
Returns

the bitwise inclusive OR of the ImageObserver flags for the image data that is currently available.

Description

Indicates the construction status of a specified image that is being prepared for display.

If the values of the width and height arguments are both -1, this method returns the construction status of a screen representation of the specified image in this toolkit. Otherwise, this method returns the construction status of a scaled representation of the image at the specified width and height.

This method does not cause the image to begin loading. An application must call prepareImage to force the loading of an image.

This method is called by the component's checkImage methods.

Information on the flags returned by this method can be found with the definition of the ImageObserver interface.

See Also

prepareImage, checkImage, checkImage, ImageObserver