java.awt
Class ImageCapabilities

java.lang.Object
java.awt.ImageCapabilities
- All Implemented Interfaces:
- java.lang.Cloneable
- public class ImageCapabilities
- extends java.lang.Object
- implements java.lang.Cloneable
This class represents the capabilities of an image buffer. An
image buffer may be backed by accelerated graphics resources.
Those resources may or may not be volatile. This class is used to
describe these image buffer characteristics.
|
Field Summary |
private boolean |
accelerated
Whether or not this the image buffer uses accelerated graphics
resources. |
|
Constructor Summary |
ImageCapabilities(boolean accelerated)
Create a new image capability descriptor. |
|
Method Summary |
java.lang.Object |
clone()
Clone this image capability descriptor. |
boolean |
isAccelerated()
Returns whether or not the image buffer uses accelerated graphics
resources. |
boolean |
isTrueVolatile()
Returns whether or not the image buffer's resources are volatile,
meaning that they can be reclaimed by the graphics system at any
time. |
accelerated
private final boolean accelerated
- Whether or not this the image buffer uses accelerated graphics
resources.
ImageCapabilities
public ImageCapabilities(boolean accelerated)
- Create a new image capability descriptor.
isAccelerated
public boolean isAccelerated()
- Returns whether or not the image buffer uses accelerated graphics
resources.
isTrueVolatile
public boolean isTrueVolatile()
- Returns whether or not the image buffer's resources are volatile,
meaning that they can be reclaimed by the graphics system at any
time.
clone
public java.lang.Object clone()
- Clone this image capability descriptor.