http://www.eteks.com

com.eteks.java2d
Class PJAGraphicsDevice

java.lang.Object
  extended byjava.awt.GraphicsDevice
      extended bycom.eteks.java2d.PJAGraphicsDevice

public class PJAGraphicsDevice
extends java.awt.GraphicsDevice

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

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

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

Constructor Detail

PJAGraphicsDevice

public PJAGraphicsDevice(int screenNum)
Method Detail

getType

public int getType()
java.awt.GraphicsDevice implementation.

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 java.lang.String getIDstring()
java.awt.GraphicsDevice implementation.

Returns:
":0.0"
See Also:
GraphicsDevice

getConfigurations

public java.awt.GraphicsConfiguration[] getConfigurations()
java.awt.GraphicsDevice implementation.

See Also:
GraphicsDevice

getDefaultConfiguration

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

See Also:
GraphicsDevice

© 1997-2003 eTeks - All rights reserved