API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. Image View Source
Author(s)
Sami Shaio
Arthur van Hoff
Since
JDK1.0
Version
1.43, 04/07/06
Serial
Hierarchy
 Object
      Image
Implements
Subclasses
Description
publicabstract abstract class Image
  The abstract class Image is the superclass of all classes that represent graphical images.
See also:   
Constructors
public Image ()
Methods
Hide/Show inherited methods
public void flush ()
  Flushes all reconstructable resources being used by this Image object.
public float getAccelerationPriority ()
  Returns the current value of the acceleration priority hint.
public ImageCapabilities getCapabilities (GraphicsConfiguration gc)
  Returns an ImageCapabilities object which can be inquired as to the capabilities of this Image on the specified GraphicsConfiguration.
publicabstract Graphics getGraphics ()
  Creates a graphics context for drawing to an off-screen image.
publicabstract int getHeight (ImageObserver observer)
  Determines the height of the image.
publicabstract Object getProperty (String name, ImageObserver observer)
  Gets a property of this image by name.
public Image getScaledInstance (int width, int height, int hints)
  Creates a scaled version of this image.
publicabstract ImageProducer getSource ()
  Gets the object that produces the pixels for the image.
publicabstract int getWidth (ImageObserver observer)
  Determines the width of the image.
public void setAccelerationPriority (float priority)
  Sets a hint for this image about how important acceleration is.
Fields
Hide/Show inherited fields
protected float accelerationPriority
  Priority for accelerating this image.
publicfinalstatic int SCALE_AREA_AVERAGING = "16"
  Use the Area Averaging image scaling algorithm.
publicfinalstatic int SCALE_DEFAULT = "1"
  Use the default image-scaling algorithm.
publicfinalstatic int SCALE_FAST = "2"
  Choose an image-scaling algorithm that gives higher priority to scaling speed than smoothness of the scaled image.
publicfinalstatic int SCALE_REPLICATE = "8"
  Use the image scaling algorithm embodied in the ReplicateScaleFilter class.
publicfinalstatic int SCALE_SMOOTH = "4"
  Choose an image-scaling algorithm that gives higher priority to image smoothness than scaling speed.
pack-private sun.awt.image.SurfaceManager surfaceManager
publicfinalstatic Object UndefinedProperty
The UndefinedProperty object should be returned whenever a property which was not defined for a particular image is fetched.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar