com.jogamp.newt.awt
Class NewtFactoryAWT
java.lang.Object
com.jogamp.newt.NewtFactory
com.jogamp.newt.awt.NewtFactoryAWT
public class NewtFactoryAWT
- extends NewtFactory
Methods inherited from class com.jogamp.newt.NewtFactory |
createCompatibleScreen, createCompatibleScreen, createDisplay, createDisplay, createDisplay, createDisplay, createDisplay, createScreen, createWindow, createWindow, createWindow, createWindow, createWindow, getCustomClass, isScreenCompatible, setUseEDT, useEDT |
DEBUG_IMPLEMENTATION
public static final boolean DEBUG_IMPLEMENTATION
NewtFactoryAWT
public NewtFactoryAWT()
getNativeWindow
public static NativeWindow getNativeWindow(Object awtCompObject,
CapabilitiesImmutable capsRequested)
- Wraps an AWT component into a
NativeWindow
utilizing the NativeWindowFactory
,
using a configuration agnostic dummy DefaultGraphicsConfiguration
.
The actual wrapping implementation is jogamp.nativewindow.jawt.JAWTWindow
.
Purpose of this wrapping is to access the AWT window handle,
not to actually render into it.
Hence the dummy configuration only.
- Parameters:
awtCompObject
- must be of type java.awt.Component
getNativeWindow
public static NativeWindow getNativeWindow(Component awtComp,
CapabilitiesImmutable capsRequested)
Copyright 2010 JogAmp Community.