com.eteks.java2d
Class PJAGraphicsDevice

java.lang.Object
  |
  +--java.awt.GraphicsDevice
        |
        +--com.eteks.java2d.PJAGraphicsDevice

public class PJAGraphicsDevice
extends GraphicsDevice

Pure Java AWT GraphicsDevice implementation. Java2D can work with PJA only with JVM version >= 1.2.

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

Fields inherited from class java.awt.GraphicsDevice
TYPE_IMAGE_BUFFER, TYPE_PRINTER, TYPE_RASTER_SCREEN
 
Constructor Summary
PJAGraphicsDevice(int screenNum)
           
 
Method Summary
 GraphicsConfiguration[] getConfigurations()
          java.awt.GraphicsDevice implementation.
 GraphicsConfiguration getDefaultConfiguration()
          java.awt.GraphicsDevice implementation.
 String getIDstring()
          java.awt.GraphicsDevice implementation.
 int getType()
          java.awt.GraphicsDevice implementation.
 
Methods inherited from class java.awt.GraphicsDevice
getBestConfiguration
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

PJAGraphicsDevice

public PJAGraphicsDevice(int screenNum)
Method Detail

getType

public int getType()
java.awt.GraphicsDevice implementation.
Overrides:
getType in class GraphicsDevice
Returns:
TYPE_RASTER_SCREEN. TYPE_IMAGE_BUFFER would be more logical but it prevents to create dummy Window (and Frame) objects.
See Also:
GraphicsDevice

getIDstring

public String getIDstring()
java.awt.GraphicsDevice implementation.
Overrides:
getIDstring in class GraphicsDevice
Returns:
":0.0"
See Also:
GraphicsDevice

getConfigurations

public GraphicsConfiguration[] getConfigurations()
java.awt.GraphicsDevice implementation.
Overrides:
getConfigurations in class GraphicsDevice
See Also:
GraphicsDevice

getDefaultConfiguration

public GraphicsConfiguration getDefaultConfiguration()
java.awt.GraphicsDevice implementation.
Overrides:
getDefaultConfiguration in class GraphicsDevice
See Also:
GraphicsDevice