Package com.jogamp.nativewindow.awt
Class AWTGraphicsDevice
- java.lang.Object
-
- com.jogamp.nativewindow.DefaultGraphicsDevice
-
- com.jogamp.nativewindow.awt.AWTGraphicsDevice
-
- All Implemented Interfaces:
AbstractGraphicsDevice,Cloneable
public class AWTGraphicsDevice extends DefaultGraphicsDevice implements Cloneable
A wrapper for an AWT GraphicsDevice allowing it to be handled in a toolkit-independent manner.
-
-
Field Summary
-
Fields inherited from interface com.jogamp.nativewindow.AbstractGraphicsDevice
DEBUG, DEFAULT_CONNECTION, DEFAULT_UNIT, EXTERNAL_CONNECTION
-
-
Constructor Summary
Constructors Constructor Description AWTGraphicsDevice(GraphicsDevice device, int unitID)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()static AWTGraphicsDevicecreateDefault()GraphicsDevicegetGraphicsDevice()StringtoString()-
Methods inherited from class com.jogamp.nativewindow.DefaultGraphicsDevice
clearHandleOwner, close, getConnection, getDefaultDisplayConnection, getDefaultDisplayConnection, getHandle, getToolkitLock, getType, getUniqueID, getUnitID, isHandleOwner, lock, open, swapHandleAndOwnership, unlock, validateLocked
-
-
-
-
Constructor Detail
-
AWTGraphicsDevice
public AWTGraphicsDevice(GraphicsDevice device, int unitID)
-
-
Method Detail
-
createDefault
public static AWTGraphicsDevice createDefault()
-
clone
public Object clone()
- Specified by:
clonein interfaceAbstractGraphicsDevice- Overrides:
clonein classDefaultGraphicsDevice
-
getGraphicsDevice
public GraphicsDevice getGraphicsDevice()
-
toString
public String toString()
- Overrides:
toStringin classDefaultGraphicsDevice
-
-