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, createWindowImpl, createWindowImpl, createWindowImpl, createWindowImpl, getCustomClass, isScreenCompatible, setUseEDT, useEDT |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 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.