PJA Toolkit 2.6

com.eteks.java2d
Class PJAGraphicsConfiguration

java.lang.Object
  extended by java.awt.GraphicsConfiguration
      extended by com.eteks.java2d.PJAGraphicsConfiguration

public class PJAGraphicsConfiguration
extends java.awt.GraphicsConfiguration

Pure Java AWT GraphicsConfiguration implementation. Java2D can work with PJA only with JVM version >= 1.2. Implementation of these methods is inspired from sun.awt.X11GraphicsConfig class.

Since:
PJA2.0
Version:
2.4
Author:
Emmanuel Puybaret
See Also:
PJAToolkit

Constructor Summary
PJAGraphicsConfiguration(java.awt.GraphicsDevice device)
           
 
Method Summary
 java.awt.image.BufferedImage createCompatibleImage(int width, int height)
          java.awt.GraphicsConfiguration implementation.
 java.awt.image.BufferedImage createCompatibleImage(int width, int height, int transparency)
          java.awt.GraphicsConfiguration implementation.
 java.awt.image.VolatileImage createCompatibleVolatileImage(int width, int height)
           
 java.awt.Rectangle getBounds()
          java.awt.GraphicsConfiguration implementation.
 java.awt.image.ColorModel getColorModel()
          java.awt.GraphicsConfiguration implementation.
 java.awt.image.ColorModel getColorModel(int transparency)
          java.awt.GraphicsConfiguration implementation.
 java.awt.geom.AffineTransform getDefaultTransform()
          java.awt.GraphicsConfiguration implementation.
 java.awt.GraphicsDevice getDevice()
          java.awt.GraphicsConfiguration implementation.
 java.awt.geom.AffineTransform getNormalizingTransform()
          java.awt.GraphicsConfiguration implementation.
 
Methods inherited from class java.awt.GraphicsConfiguration
createCompatibleVolatileImage, createCompatibleVolatileImage, createCompatibleVolatileImage, getBufferCapabilities, getImageCapabilities
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PJAGraphicsConfiguration

public PJAGraphicsConfiguration(java.awt.GraphicsDevice device)
Method Detail

getDevice

public java.awt.GraphicsDevice getDevice()
java.awt.GraphicsConfiguration implementation.

Specified by:
getDevice in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

createCompatibleImage

public java.awt.image.BufferedImage createCompatibleImage(int width,
                                                          int height)
java.awt.GraphicsConfiguration implementation.

Specified by:
createCompatibleImage in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

createCompatibleImage

public java.awt.image.BufferedImage createCompatibleImage(int width,
                                                          int height,
                                                          int transparency)
java.awt.GraphicsConfiguration implementation.

Overrides:
createCompatibleImage in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

getColorModel

public java.awt.image.ColorModel getColorModel()
java.awt.GraphicsConfiguration implementation.

Specified by:
getColorModel in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

getColorModel

public java.awt.image.ColorModel getColorModel(int transparency)
java.awt.GraphicsConfiguration implementation.

Specified by:
getColorModel in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

getDefaultTransform

public java.awt.geom.AffineTransform getDefaultTransform()
java.awt.GraphicsConfiguration implementation.

Specified by:
getDefaultTransform in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

getNormalizingTransform

public java.awt.geom.AffineTransform getNormalizingTransform()
java.awt.GraphicsConfiguration implementation.

Specified by:
getNormalizingTransform in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

getBounds

public java.awt.Rectangle getBounds()
java.awt.GraphicsConfiguration implementation.

Specified by:
getBounds in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

createCompatibleVolatileImage

public java.awt.image.VolatileImage createCompatibleVolatileImage(int width,
                                                                  int height)
Overrides:
createCompatibleVolatileImage in class java.awt.GraphicsConfiguration

PJA Toolkit 2.6

© Copyrights 1997-2008 eTeks - All rights reserved