41package com.jogamp.nativewindow.awt;
43import com.jogamp.nativewindow.*;
44import java.awt.GraphicsDevice;
45import java.awt.GraphicsEnvironment;
46import com.jogamp.nativewindow.AbstractGraphicsDevice;
51 private final GraphicsDevice device;
59 final GraphicsDevice awtDevice = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
final String getType()
Returns the type of the underlying subsystem, ie NativeWindowFactory.TYPE_KD, NativeWindowFactory....
final int getUnitID()
Returns the graphics device unit ID.
final String getConnection()
Returns the semantic GraphicsDevice connection.
final long getHandle()
Returns the native handle of the underlying native device, if such thing exist.
Provides a pluggable mechanism for arbitrary window toolkits to adapt their components to the NativeW...
static final String TYPE_AWT
Generic AWT type, as retrieved with getNativeWindowType(boolean).
A wrapper for an AWT GraphicsDevice allowing it to be handled in a toolkit-independent manner.
static AWTGraphicsDevice createDefault()
AWTGraphicsDevice(final GraphicsDevice device, final int unitID)
GraphicsDevice getGraphicsDevice()
A interface describing a graphics device in a toolkit-independent manner.
static int DEFAULT_UNIT
Default unit id for the 1st device: 0.