com.eteks.java2d
Class PJAGraphicsDevice
java.lang.Object
|
+--java.awt.GraphicsDevice
|
+--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
Fields inherited from class java.awt.GraphicsDevice |
TYPE_IMAGE_BUFFER, TYPE_PRINTER, TYPE_RASTER_SCREEN |
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 |
getBestConfiguration |
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 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.
- Overrides:
getIDstring
in class java.awt.GraphicsDevice
- Returns:
":0.0"
- See Also:
GraphicsDevice
getConfigurations
public java.awt.GraphicsConfiguration[] getConfigurations()
java.awt.GraphicsDevice
implementation.
- Overrides:
getConfigurations
in class java.awt.GraphicsDevice
- See Also:
GraphicsDevice
getDefaultConfiguration
public java.awt.GraphicsConfiguration getDefaultConfiguration()
java.awt.GraphicsDevice
implementation.
- Overrides:
getDefaultConfiguration
in class java.awt.GraphicsDevice
- See Also:
GraphicsDevice