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 Objectclone()static AbstractGraphicsScreencreateDefault()static AbstractGraphicsScreencreateScreenDevice(int index, int unitID)static AbstractGraphicsScreencreateScreenDevice(GraphicsDevice awtDevice, int unitID)static intfindScreenIndex(GraphicsDevice awtDevice)static GraphicsDevicegetScreenDevice(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:
clonein interfaceAbstractGraphicsScreen- Overrides:
clonein classDefaultGraphicsScreen
-
-