Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

Uses of Interface
java.awt.image.ImageObserver

Packages that use ImageObserver
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.image Provides classes for creating and modifying images. 
 

Uses of ImageObserver in java.awt
 

Classes in java.awt that implement ImageObserver
 class Component
          A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.
 class Container
          A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.
 class Frame
          A Frame is a top-level window with a title and a border.
 class Window
          A Window object is a top-level window with no borders and no menubar.
 

Methods in java.awt with parameters of type ImageObserver
abstract  boolean Toolkit.prepareImage(Image image, int width, int height, ImageObserver observer)
          Prepares an image for rendering.
abstract  int Toolkit.checkImage(Image image, int width, int height, ImageObserver observer)
          Indicates the construction status of a specified image that is being prepared for display.
abstract  boolean Graphics.drawImage(Image img, int x, int y, ImageObserver observer)
          Draws as much of the specified image as is currently available.
abstract  boolean Graphics.drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)
          Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.
abstract  boolean Graphics.drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)
          Draws as much of the specified image as is currently available.
abstract  boolean Graphics.drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)
          Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.
abstract  boolean Graphics.drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
          Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
abstract  boolean Graphics.drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)
          Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
abstract  int Image.getWidth(ImageObserver observer)
          Determines the width of the image.
abstract  int Image.getHeight(ImageObserver observer)
          Determines the height of the image.
abstract  Object Image.getProperty(String name, ImageObserver observer)
          Gets a property of this image by name.
 boolean Component.prepareImage(Image image, ImageObserver observer)
          Prepares an image for rendering on this component.
 boolean Component.prepareImage(Image image, int width, int height, ImageObserver observer)
          Prepares an image for rendering on this component at the specified width and height.
 int Component.checkImage(Image image, ImageObserver observer)
          Returns the status of the construction of a screen representation of the specified image.
 int Component.checkImage(Image image, int width, int height, ImageObserver observer)
          Returns the status of the construction of a screen representation of the specified image.
 

Uses of ImageObserver in java.awt.image
 

Methods in java.awt.image with parameters of type ImageObserver
 int BufferedImage.getWidth(ImageObserver observer)
          Returns the width of the BufferedImage.
 int BufferedImage.getHeight(ImageObserver observer)
          Returns the height of the BufferedImage.
 Object BufferedImage.getProperty(String name, ImageObserver observer)
          Returns a property of the image by name.
 


JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.
ing HTML relocated from here.-->