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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PJAGraphicsDevice
public PJAGraphicsDevice(int screenNum)
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