PJA Toolkit 2.6

com.eteks.java2d
Class PJAGraphicsDevice

java.lang.Object
  extended by java.awt.GraphicsDevice
      extended by com.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.

Specified by:
getType in class java.awt.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 java.lang.String getIDstring()
java.awt.GraphicsDevice implementation.

Specified by:
getIDstring in class java.awt.GraphicsDevice
Returns:
":0.0"
See Also:
GraphicsDevice

getConfigurations

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

Specified by:
getConfigurations in class java.awt.GraphicsDevice
See Also:
GraphicsDevice

getDefaultConfiguration

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

Specified by:
getDefaultConfiguration in class java.awt.GraphicsDevice
See Also:
GraphicsDevice

PJA Toolkit 2.6

© Copyrights 1997-2008 eTeks - All rights reserved