Package com.jogamp.nativewindow.awt
Class AWTGraphicsScreen
- java.lang.Object
-
- com.jogamp.nativewindow.DefaultGraphicsScreen
-
- com.jogamp.nativewindow.awt.AWTGraphicsScreen
-
- All Implemented Interfaces:
AbstractGraphicsScreen
,Cloneable
public class AWTGraphicsScreen extends DefaultGraphicsScreen implements Cloneable
A wrapper for an AWT GraphicsDevice (screen) allowing it to be handled in a toolkit-independent manner.
-
-
Constructor Summary
Constructors Constructor Description AWTGraphicsScreen(AWTGraphicsDevice device)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
static AbstractGraphicsScreen
createDefault()
static AbstractGraphicsScreen
createScreenDevice(int index, int unitID)
static AbstractGraphicsScreen
createScreenDevice(GraphicsDevice awtDevice, int unitID)
static int
findScreenIndex(GraphicsDevice awtDevice)
static GraphicsDevice
getScreenDevice(int index)
-
Methods inherited from class com.jogamp.nativewindow.DefaultGraphicsScreen
createDefault, getDevice, getIndex, toString
-
-
-
-
Constructor Detail
-
AWTGraphicsScreen
public AWTGraphicsScreen(AWTGraphicsDevice device)
-
-
Method Detail
-
getScreenDevice
public static GraphicsDevice getScreenDevice(int index)
-
findScreenIndex
public static int findScreenIndex(GraphicsDevice awtDevice)
-
createScreenDevice
public static AbstractGraphicsScreen createScreenDevice(GraphicsDevice awtDevice, int unitID)
-
createScreenDevice
public static AbstractGraphicsScreen createScreenDevice(int index, int unitID)
-
createDefault
public static AbstractGraphicsScreen createDefault()
-
clone
public Object clone()
- Specified by:
clone
in interfaceAbstractGraphicsScreen
- Overrides:
clone
in classDefaultGraphicsScreen
-
-