java.awt

Class ImageCapabilities

public class ImageCapabilities extends Object implements 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.
Constructor Summary
ImageCapabilities(boolean accelerated)
Create a new image capability descriptor.
Method Summary
Objectclone()
Clone this image capability descriptor.
booleanisAccelerated()
Returns whether or not the image buffer uses accelerated graphics resources.
booleanisTrueVolatile()
Returns whether or not the image buffer's resources are volatile, meaning that they can be reclaimed by the graphics system at any time.

Constructor Detail

ImageCapabilities

public ImageCapabilities(boolean accelerated)
Create a new image capability descriptor.

Parameters: accelerated true if the image buffer uses accelerated graphics resources

Method Detail

clone

public Object clone()
Clone this image capability descriptor.

Returns: a clone of this image capability descriptor

isAccelerated

public boolean isAccelerated()
Returns whether or not the image buffer uses accelerated graphics resources.

Returns: true if the image buffer uses accelerated graphics resources; false otherwise

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.

Returns: true if the image buffer's resources are volatile; false otherwise