com.jogamp.nativewindow.impl.jawt.windows
Class WindowsJAWTWindow
java.lang.Object
com.jogamp.nativewindow.impl.jawt.JAWTWindow
com.jogamp.nativewindow.impl.jawt.windows.WindowsJAWTWindow
- All Implemented Interfaces:
- NativeWindow, SurfaceUpdatedListener
public class WindowsJAWTWindow
- extends JAWTWindow
Methods inherited from class com.jogamp.nativewindow.impl.jawt.JAWTWindow |
destroy, getBounds, getDisplayHandle, getGraphicsConfiguration, getHeight, getLockedStack, getScreenIndex, getSurfaceHandle, getWidth, getWrappedWindow, init, isSurfaceLocked, lockSurface, setSize, surfaceSwap, surfaceUpdated, toString, unlockSurface, updateBounds |
PROFILING
public static final boolean PROFILING
- See Also:
- Constant Field Values
PROFILING_TICKS
public static final int PROFILING_TICKS
- See Also:
- Constant Field Values
windowHandle
protected long windowHandle
WindowsJAWTWindow
public WindowsJAWTWindow(Object comp,
AbstractGraphicsConfiguration config)
initNative
protected void initNative()
throws NativeWindowException
- Specified by:
initNative
in class JAWTWindow
- Throws:
NativeWindowException
invalidate
public void invalidate()
- Description copied from interface:
NativeWindow
- render all native window information invalid,
as if the native window was destroyed
- Specified by:
invalidate
in interface NativeWindow
- Overrides:
invalidate
in class JAWTWindow
- See Also:
NativeWindow.destroy()
lockSurfaceImpl
protected int lockSurfaceImpl()
throws NativeWindowException
- Specified by:
lockSurfaceImpl
in class JAWTWindow
- Throws:
NativeWindowException
unlockSurfaceImpl
protected void unlockSurfaceImpl()
throws NativeWindowException
- Specified by:
unlockSurfaceImpl
in class JAWTWindow
- Throws:
NativeWindowException
getWindowHandle
public long getWindowHandle()
- Description copied from interface:
NativeWindow
- Returns the window handle for this NativeWindow.
The window handle shall reflect the platform one
for all window related operations, e.g. open, close, resize.
On X11 this returns an entity of type Window.
On Microsoft Windows this returns an entity of type HWND.
- Specified by:
getWindowHandle
in interface NativeWindow
- Overrides:
getWindowHandle
in class JAWTWindow
Copyright 2010 JogAmp Community.