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 Object
clone()
static AWTGraphicsDevice
createDefault()
GraphicsDevice
getGraphicsDevice()
String
toString()
-
Methods inherited from class com.jogamp.nativewindow.DefaultGraphicsDevice
clearHandleOwner, close, getConnection, getDefaultDisplayConnection, getDefaultDisplayConnection, getHandle, getToolkitLock, getType, getUniqueID, getUnitID, isHandleOwner, lock, open, swapDeviceHandleAndOwnership, unlock, validateLocked
-
-
-
-
Constructor Detail
-
AWTGraphicsDevice
public AWTGraphicsDevice(GraphicsDevice device, int unitID)
-
-
Method Detail
-
createDefault
public static AWTGraphicsDevice createDefault()
-
clone
public Object clone()
- Specified by:
clone
in interfaceAbstractGraphicsDevice
- Overrides:
clone
in classDefaultGraphicsDevice
-
getGraphicsDevice
public GraphicsDevice getGraphicsDevice()
-
toString
public String toString()
- Overrides:
toString
in classDefaultGraphicsDevice
-
-