Package Summary Overview Summary

### method:imageUpdate(java.awt.Image,int,int,int,int,int) [CHANGED]
### imageUpdate public boolean imageUpdate (Image img, int infoflags, int x, int y, int w, int h) Repaints the component when the image has changed. This `imageUpdate` method of an `ImageObserver` is called when more information about an image which washad been previously requested using an asynchronous interfaceroutine such as the `drawImage` method of `Graphics` becomes available. Asynchronous interfaces areSee the definition of `imageUpdate` for more information on this method calls such as getWidth(ImageObserver)and drawImage(img, x, y, ImageObserver) which takeits arguments. The `imageUpdate` method of `Component` incrementally draws an ImageObserver objectimage on the component as an argument. Those methods registermore of the caller as interested either in information aboutbits of the overallimage itself (inare available. If the case of getWidth(ImageObserver))system property `awt.image.incrementaldraw` is missing or about an output version of anhas the value `true`, the image (inis incrementally drawn. If the case ofsystem property has any other value, then the drawImage(img, x, y, [w, h,] ImageObserver) call).This method should return true if further updates are needed or false if the required informationimage is not drawn until it has been acquired. The image which was being trackedcompletely loaded. Also, if incremental drawing is passedin usingeffect, the value of the img argument. Various constants are combinedsystem property `awt.image.redrawrate` is interpreted as an integer to formgive the maximum redraw rate, in milliseconds. If the infoflags argument which indicates what information aboutsystem property is missing or cannot be interpreted as an integer, the imageredraw rate is now availableonce every 100ms. The interpretation of the `x`, `y`, `width`, and `height` arguments depends on the contentsvalue of the `infoflags` argument. The `infoflags` argument should be the bitwise inclusive OR of the following flags: `WIDTH`, `HEIGHT`, `PROPERTIES`, `SOMEBITS`, `FRAMEBITS`, `ALLBITS`, `ERROR`, `ABORT`. Specified by: `imageUpdate` in interface `ImageObserver` Overrides: `imageUpdate` in class `Component` Parameters: `img` - the image being observed. `infoflags` - the bitwise inclusive OR of the following flags: `WIDTH`, `HEIGHT`, `PROPERTIES`, `SOMEBITS`, `FRAMEBITS`, `ALLBITS`, `ERROR`, `ABORT`.see `imageUpdate` for more information `x` - the x coordinate. `y` - the y coordinate. `w` - the width. `h` - the height. Returns: `false` if the infoflags indicate that the image is completely loaded; `true` otherwise. Since: 1.7 See Also: `ImageObserver`.WIDTH `ImageObserver.HEIGHT` `ImageObserver.PROPERTIES` `ImageObserver.SOMEBITS` `ImageObserver.FRAMEBITS` `ImageObserver.ALLBITS` `ImageObserver.ERROR` `ImageObserver.ABORT` `Graphics.drawImage(Image.getWidth(, int, int, Color, java.awt.image.ImageObserver)` `Graphics.drawImage(Image.getHeight(, int, int, java.awt.image.ImageObserver)` `Graphics.drawImage(Image, int, int, int, int, Color, java.awt.image.ImageObserver)` `Graphics.drawImage(Image, int, int, int, int, java.awt.image.ImageObserver)` `ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)`
### imageUpdate public boolean imageUpdate (Image img, int infoflags, int x, int y, int w, int h) This method is called when information about an image which was previously requested using an asynchronous interface becomes available. Asynchronous interfaces are method calls such as getWidth(ImageObserver) and drawImage(img, x, y, ImageObserver) which take an ImageObserver object as an argument. Those methods register the caller as interested either in information about the overall image itself (in the case of getWidth(ImageObserver)) or about an output version of an image (in the case of the drawImage(img, x, y, [w, h,] ImageObserver) call). This method should return true if further updates are needed or false if the required information has been acquired. The image which was being tracked is passed in using the img argument. Various constants are combined to form the infoflags argument which indicates what information about the image is now available. The interpretation of the x, y, width, and height arguments depends on the contents of the infoflags argument. The `infoflags` argument should be the bitwise inclusive OR of the following flags: `WIDTH`, `HEIGHT`, `PROPERTIES`, `SOMEBITS`, `FRAMEBITS`, `ALLBITS`, `ERROR`, `ABORT`. Specified by: `imageUpdate` in interface `ImageObserver` Overrides: `imageUpdate` in class `Component` Parameters: `img` - the image being observed. `infoflags` - the bitwise inclusive OR of the following flags: `WIDTH`, `HEIGHT`, `PROPERTIES`, `SOMEBITS`, `FRAMEBITS`, `ALLBITS`, `ERROR`, `ABORT`. `x` - the x coordinate. `y` - the y coordinate. `w` - the width. `h` - the height. Returns: `false` if the infoflags indicate that the image is completely loaded; `true` otherwise. Since: 1.7 See Also: `ImageObserver.WIDTH` `ImageObserver.HEIGHT` `ImageObserver.PROPERTIES` `ImageObserver.SOMEBITS` `ImageObserver.FRAMEBITS` `ImageObserver.ALLBITS` `ImageObserver.ERROR` `ImageObserver.ABORT` `Image.getWidth(java.awt.image.ImageObserver)` `Image.getHeight(java.awt.image.ImageObserver)` `Graphics.drawImage(java.awt.Image, int, int, java.awt.image.ImageObserver)` | ### imageUpdate public boolean imageUpdate (Image img, int infoflags, int x, int y, int w, int h) Repaints the component when the image has changed. This `imageUpdate` method of an `ImageObserver` is called when more information about an image which had been previously requested using an asynchronous routine such as the `drawImage` method of `Graphics` becomes available. See the definition of `imageUpdate` for more information on this method and its arguments. The `imageUpdate` method of `Component` incrementally draws an image on the component as more of the bits of the image are available. If the system property `awt.image.incrementaldraw` is missing or has the value `true`, the image is incrementally drawn. If the system property has any other value, then the image is not drawn until it has been completely loaded. Also, if incremental drawing is in effect, the value of the system property `awt.image.redrawrate` is interpreted as an integer to give the maximum redraw rate, in milliseconds. If the system property is missing or cannot be interpreted as an integer, the redraw rate is once every 100ms. The interpretation of the `x`, `y`, `width`, and `height` arguments depends on the value of the `infoflags` argument. Specified by: `imageUpdate` in interface `ImageObserver` Overrides: `imageUpdate` in class `Component` Parameters: `img` - the image being observed `infoflags` - see `imageUpdate` for more information `x` - the x coordinate `y` - the y coordinate `w` - the width `h` - the height Returns: `false` if the infoflags indicate that the image is completely loaded; `true` otherwise. Since: 1.7 See Also: `ImageObserver` `Graphics.drawImage(Image, int, int, Color, java.awt.image.ImageObserver)` `Graphics.drawImage(Image, int, int, java.awt.image.ImageObserver)` `Graphics.drawImage(Image, int, int, int, int, Color, java.awt.image.ImageObserver)` `Graphics.drawImage(Image, int, int, int, int, java.awt.image.ImageObserver)` `ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)`