Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.awt
Class ImageCapabilities  view ImageCapabilities download ImageCapabilities.java

java.lang.Object
  extended byjava.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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accelerated

private final boolean accelerated
Whether or not this the image buffer uses accelerated graphics resources.

Constructor Detail

ImageCapabilities

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

Method Detail

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.