http://www.eteks.com

com.eteks.java2d
Class PJAGraphicsConfiguration

java.lang.Object
  extended byjava.awt.GraphicsConfiguration
      extended bycom.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, 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.

See Also:
GraphicsConfiguration

createCompatibleImage

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

See Also:
GraphicsConfiguration

createCompatibleImage

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

See Also:
GraphicsConfiguration

getColorModel

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

See Also:
GraphicsConfiguration

getColorModel

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

See Also:
GraphicsConfiguration

getDefaultTransform

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

See Also:
GraphicsConfiguration

getNormalizingTransform

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

See Also:
GraphicsConfiguration

getBounds

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

See Also:
GraphicsConfiguration

createCompatibleVolatileImage

public java.awt.image.VolatileImage createCompatibleVolatileImage(int width,
                                                                  int height)

© 1997-2003 eTeks - All rights reserved