http://www.eteks.com

com.eteks.java2d
Class PJAGraphicsConfiguration

java.lang.Object
  |
  +--java.awt.GraphicsConfiguration
        |
        +--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.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.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.
Overrides:
getDevice in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

createCompatibleImage

public java.awt.image.BufferedImage createCompatibleImage(int width,
                                                          int height)
java.awt.GraphicsConfiguration implementation.
Overrides:
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.
Overrides:
getColorModel in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

getColorModel

public java.awt.image.ColorModel getColorModel(int transparency)
java.awt.GraphicsConfiguration implementation.
Overrides:
getColorModel in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

getDefaultTransform

public java.awt.geom.AffineTransform getDefaultTransform()
java.awt.GraphicsConfiguration implementation.
Overrides:
getDefaultTransform in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

getNormalizingTransform

public java.awt.geom.AffineTransform getNormalizingTransform()
java.awt.GraphicsConfiguration implementation.
Overrides:
getNormalizingTransform in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

getBounds

public java.awt.Rectangle getBounds()
java.awt.GraphicsConfiguration implementation.
Overrides:
getBounds in class java.awt.GraphicsConfiguration
See Also:
GraphicsConfiguration

© 1997-2001 eTeks - All rights reserved