API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.image. VolatileImage View Source
Author(s)
Since
1.4
Version
Serial
Hierarchy
 Object
      Image
          VolatileImage
Implements
 Transparency
Subclasses
Description
publicabstract abstract class VolatileImage
  VolatileImage is an image which can lose its contents at any time due to circumstances beyond the control of the application (e.g., situations caused by the operating system or by other applications).
See also:   
Constructors
public VolatileImage ()
Methods
Hide/Show inherited methods
publicabstract boolean contentsLost ()
  Returns true if rendering data was lost since last validate call.
publicabstract Graphics2D createGraphics ()
  Creates a Graphics2D, which can be used to draw into this VolatileImage.
public void flush () [Inherited From Image]
  Flushes all reconstructable resources being used by this Image object.
public float getAccelerationPriority () [Inherited From Image]
  Returns the current value of the acceleration priority hint.
publicabstract ImageCapabilities getCapabilities ()
  Returns an ImageCapabilities object which can be inquired as to the specific capabilities of this VolatileImage.
public ImageCapabilities getCapabilities (GraphicsConfiguration gc) [Inherited From Image]
  Returns an ImageCapabilities object which can be inquired as to the capabilities of this Image on the specified GraphicsConfiguration.
public Graphics getGraphics () [Specified in Image]
  This method returns a Graphics2D, but is here for backwards compatibility.
publicabstract int getHeight ()
  Returns the height of the VolatileImage.
publicabstract int getHeight (ImageObserver observer) [Inherited From Image]
  Determines the height of the image.
publicabstract Object getProperty (String name, ImageObserver observer) [Inherited From Image]
  Gets a property of this image by name.
public Image getScaledInstance (int width, int height, int hints) [Inherited From Image]
  Creates a scaled version of this image.
publicabstract BufferedImage getSnapshot ()
  Returns a static snapshot image of this object.
public ImageProducer getSource () [Specified in Image]
  This returns an ImageProducer for this VolatileImage.
public int getTransparency () [Specified in Transparency]
  Returns the transparency.
publicabstract int getWidth ()
  Returns the width of the VolatileImage.
publicabstract int getWidth (ImageObserver observer) [Inherited From Image]
  Determines the width of the image.
public void setAccelerationPriority (float priority) [Inherited From Image]
  Sets a hint for this image about how important acceleration is.
publicabstract int validate (GraphicsConfiguration gc)
  Attempts to restore the drawing surface of the image if the surface had been lost since the last validate call.
Fields
Hide/Show inherited fields
protected float accelerationPriority [Inherited From Image]
  Priority for accelerating this image.
publicfinalstatic int BITMASK = "2" [Inherited From Transparency]
Represents image data that is guaranteed to be either completely opaque, with an alpha value of 1.0, or completely transparent, with an alpha value of 0.0.
publicfinalstatic int IMAGE_INCOMPATIBLE = "2"
  Validated image is incompatible with supplied GraphicsConfiguration object and should be re-created as appropriate.
publicfinalstatic int IMAGE_OK = "0"
Validated image is ready to use as-is.
publicfinalstatic int IMAGE_RESTORED = "1"
  Validated image has been restored and is now ready to use.
publicfinalstatic int OPAQUE = "1" [Inherited From Transparency]
Represents image data that is guaranteed to be completely opaque, meaning that all pixels have an alpha value of 1.0.
publicfinalstatic int SCALE_AREA_AVERAGING = "16" [Inherited From Image]
  Use the Area Averaging image scaling algorithm.
publicfinalstatic int SCALE_DEFAULT = "1" [Inherited From Image]
  Use the default image-scaling algorithm.
publicfinalstatic int SCALE_FAST = "2" [Inherited From Image]
  Choose an image-scaling algorithm that gives higher priority to scaling speed than smoothness of the scaled image.
publicfinalstatic int SCALE_REPLICATE = "8" [Inherited From Image]
  Use the image scaling algorithm embodied in the ReplicateScaleFilter class.
publicfinalstatic int SCALE_SMOOTH = "4" [Inherited From Image]
  Choose an image-scaling algorithm that gives higher priority to image smoothness than scaling speed.
publicfinalstatic int TRANSLUCENT = "3" [Inherited From Transparency]
Represents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0.
protected int transparency
  The transparency value with which this image was created.
publicfinalstatic Object UndefinedProperty [Inherited From Image]
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