| Modifier and Type | Field and Description |
|---|---|
| protected Component | |
| private Font | |
| private int | |
| private GraphicsConfiguration | |
| private int | |
| protected VolatileSurfaceManager | |
| private int |
| Access | Constructor and Description |
|---|---|
| protected | SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, int transparency, ImageCapabilities caps, int accType)
|
| private | SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, ImageCapabilities caps)
|
| public | |
| public | |
| public | SunVolatileImage(GraphicsConfiguration graphicsConfig, int width, int height, int transparency, ImageCapabilities caps)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | contentsLost()
Implements abstract java. Returns |
| public Graphics2D | createGraphics()
Implements abstract java. Creates a |
| private VolatileSurfaceManager | |
| private Color | |
| public BufferedImage | getBackupImage()
This method creates a BufferedImage intended for use as a "snapshot" or a backup surface. |
| public BufferedImage | getBackupImage(double scaleX, double scaleY)
This method creates a BufferedImage intended for use as a "snapshot" or a backup surface with the given horizontal and vertical scale factors. |
| public ImageCapabilities | getCapabilities()
Implements abstract java. Returns an ImageCapabilities object which can be inquired as to the specific capabilities of this VolatileImage. |
| public Component | |
| public Surface | getDestSurface()
Implements sun. Returns a surface currently used as a destination surface for rendering. |
| private Font | |
| public int | |
| private Color | |
| public GraphicsConfiguration | |
| public int | getHeight()
Implements abstract java. Returns the height of the |
| public int | getHeight(ImageObserver observer)
Implements abstract java. Determines the height of the image. |
| public Object | getProperty(String name, ImageObserver observer)
Implements abstract java. Gets a property of this image by name. |
| public BufferedImage | getSnapshot()
Implements abstract java. Returns a static snapshot image of this object. |
| public int | getWidth()
Implements abstract java. Returns the width of the |
| public int | getWidth(ImageObserver observer)
Implements abstract java. Determines the width of the image. |
| public void | |
| public int | validate(GraphicsConfiguration gc)
Implements abstract java. Attempts to restore the drawing surface of the image if the surface
had been lost since the last |
| comp | back to summary |
|---|---|
| protected Component comp | |
| defaultFont | back to summary |
|---|---|
| private Font defaultFont | |
| forcedAccelSurfaceType | back to summary |
|---|---|
| private int forcedAccelSurfaceType | |
| graphicsConfig | back to summary |
|---|---|
| private GraphicsConfiguration graphicsConfig | |
| height | back to summary |
|---|---|
| private int height | |
| volSurfaceManager | back to summary |
|---|---|
| protected VolatileSurfaceManager volSurfaceManager | |
| width | back to summary |
|---|---|
| private int width | |
| SunVolatileImage | back to summary |
|---|---|
| protected SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, int transparency, ImageCapabilities caps, int accType) | |
| SunVolatileImage | back to summary |
|---|---|
| private SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, ImageCapabilities caps) | |
| SunVolatileImage | back to summary |
|---|---|
| public SunVolatileImage(Component comp, int width, int height) | |
| SunVolatileImage | back to summary |
|---|---|
| public SunVolatileImage(Component comp, int width, int height, Object context) | |
| SunVolatileImage | back to summary |
|---|---|
| public SunVolatileImage(GraphicsConfiguration graphicsConfig, int width, int height, int transparency, ImageCapabilities caps) | |
| contentsLost | back to summary |
|---|---|
| public boolean contentsLost() Implements abstract java. Doc from java. Returns | |
| createGraphics | back to summary |
|---|---|
| public Graphics2D createGraphics() Implements abstract java. Doc from java. Creates a | |
| createSurfaceManager | back to summary |
|---|---|
| private VolatileSurfaceManager createSurfaceManager(Object context, ImageCapabilities caps) | |
| getBackground | back to summary |
|---|---|
| private Color getBackground() | |
| getBackupImage | back to summary |
|---|---|
| public BufferedImage getBackupImage() This method creates a BufferedImage intended for use as a "snapshot" or a backup surface. | |
| getBackupImage | back to summary |
|---|---|
| public BufferedImage getBackupImage(double scaleX, double scaleY) This method creates a BufferedImage intended for use as a "snapshot" or a backup surface with the given horizontal and vertical scale factors. | |
| getCapabilities | back to summary |
|---|---|
| public ImageCapabilities getCapabilities() Implements abstract java. Doc from java. Returns an ImageCapabilities object which can be inquired as to the specific capabilities of this VolatileImage. This would allow programmers to find out more runtime information on the specific VolatileImage object that they have created. For example, the user might create a VolatileImage but the system may have no video memory left for creating an image of that size, so although the object is a VolatileImage, it is not as accelerated as other VolatileImage objects on this platform might be. The user might want that information to find other solutions to their problem. | |
| getComponent | back to summary |
|---|---|
| public Component getComponent() | |
| getDestSurface | back to summary |
|---|---|
| public Surface getDestSurface() Implements sun. Doc from sun. Returns a surface currently used as a destination surface for rendering.
| |
| getFont | back to summary |
|---|---|
| private Font getFont() | |
| getForcedAccelSurfaceType | back to summary |
|---|---|
| public int getForcedAccelSurfaceType() | |
| getForeground | back to summary |
|---|---|
| private Color getForeground() | |
| getGraphicsConfig | back to summary |
|---|---|
| public GraphicsConfiguration getGraphicsConfig() | |
| getHeight | back to summary |
|---|---|
| public int getHeight() Implements abstract java. Doc from java. Returns the height of the | |
| getHeight | back to summary |
|---|---|
| public int getHeight(ImageObserver observer) Implements abstract java. Doc from java. Determines the height of the image. If the height is not yet known,
this method returns | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String name, ImageObserver observer) Implements abstract java. Doc from java. Gets a property of this image by name.
Individual property names are defined by the various image
formats. If a property is not defined for a particular image, this
method returns the
If the properties for this image are not yet known, this method
returns
The property name | |
| getSnapshot | back to summary |
|---|---|
| public BufferedImage getSnapshot() Implements abstract java. Doc from java. Returns a static snapshot image of this object. The
| |
| getWidth | back to summary |
|---|---|
| public int getWidth() Implements abstract java. Doc from java. Returns the width of the | |
| getWidth | back to summary |
|---|---|
| public int getWidth(ImageObserver observer) Implements abstract java. Doc from java. Determines the width of the image. If the width is not yet known,
this method returns | |
| updateGraphicsConfig | back to summary |
|---|---|
| public void updateGraphicsConfig() | |
| validate | back to summary |
|---|---|
| public int validate(GraphicsConfiguration gc) Implements abstract java. Doc from java. Attempts to restore the drawing surface of the image if the surface
had been lost since the last | |