Home » openjdk-7 » sun » awt » image » [javadoc | source]
public class: SunVolatileImage [javadoc | source]

All Implemented Interfaces:
    DestSurfaceProvider, Transparency

Direct Known Subclasses:
    AccelTypedVolatileImage, WinBackBuffer

This class is the base implementation of the VolatileImage abstract class. The class implements most of the standard Image methods (width, height, etc.) but delegates all surface management issues to a platform-specific VolatileSurfaceManager. When a new instance of SunVolatileImage is created, it automatically creates an appropriate VolatileSurfaceManager for the GraphicsConfiguration under which this SunVolatileImage was created.
Field Summary
protected  VolatileSurfaceManager volSurfaceManager     
protected  Component comp     
Fields inherited from java.awt.image.VolatileImage:
Fields inherited from java.awt.Image:
accelerationPriority,  UndefinedProperty,  SCALE_DEFAULT,  SCALE_FAST,  SCALE_SMOOTH,  SCALE_REPLICATE,  SCALE_AREA_AVERAGING,  surfaceManager
 public SunVolatileImage(Component comp,
    int width,
    int height) 
 public SunVolatileImage(Component comp,
    int width,
    int height,
    Object context) 
 public SunVolatileImage(GraphicsConfiguration graphicsConfig,
    int width,
    int height,
    int transparency,
    ImageCapabilities caps) 
 protected SunVolatileImage(Component comp,
    GraphicsConfiguration graphicsConfig,
    int width,
    int height,
    Object context,
    int transparency,
    ImageCapabilities caps,
    int accType) 
Method from sun.awt.image.SunVolatileImage Summary:
contentsLost,   createGraphics,   createSurfaceManager,   getBackupImage,   getCapabilities,   getComponent,   getDestSurface,   getForcedAccelSurfaceType,   getGraphicsConfig,   getHeight,   getHeight,   getProperty,   getSnapshot,   getWidth,   getWidth,   updateGraphicsConfig,   validate
Methods from java.awt.image.VolatileImage:
contentsLost,   createGraphics,   getCapabilities,   getGraphics,   getHeight,   getSnapshot,   getSource,   getTransparency,   getWidth,   validate
Methods from java.awt.Image:
flush,   getAccelerationPriority,   getCapabilities,   getGraphics,   getHeight,   getProperty,   getScaledInstance,   getSource,   getWidth,   setAccelerationPriority
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.awt.image.SunVolatileImage Detail:
 public boolean contentsLost() 
 public Graphics2D createGraphics() 
 protected VolatileSurfaceManager createSurfaceManager(Object context,
    ImageCapabilities caps) 
 public BufferedImage getBackupImage() 
    This method creates a BufferedImage intended for use as a "snapshot" or a backup surface.
 public ImageCapabilities getCapabilities() 
 public Component getComponent() 
 public Surface getDestSurface() 
 public int getForcedAccelSurfaceType() 
 public GraphicsConfiguration getGraphicsConfig() 
 public int getHeight() 
 public int getHeight(ImageObserver observer) 
 public Object getProperty(String name,
    ImageObserver observer) 
 public BufferedImage getSnapshot() 
 public int getWidth() 
 public int getWidth(ImageObserver observer) 
 public  void updateGraphicsConfig() 
 public int validate(GraphicsConfiguration gc)