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.
@param image the image whose status is being checked.
@param width the width of the scaled version whose status isbeing checked, or -1
.
@param height the height of the scaled version whose statusis being checked, or -1
.
@param observer the ImageObserver
object to benotified as the image is being prepared.
@return the bitwise inclusive OR of theImageObserver
flags for the image data that is currently available.
@see java.awt.Toolkit#prepareImage(java.awt.Image,int,int,java.awt.image.ImageObserver)
@see java.awt.Component#checkImage(java.awt.Image,java.awt.image.ImageObserver)
@see java.awt.Component#checkImage(java.awt.Image,int,int,java.awt.image.ImageObserver)
@see java.awt.image.ImageObserver