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:
- NativeSurface, NativeWindow, SurfaceUpdatedListener
public class WindowsJAWTWindow
- extends JAWTWindow
Methods inherited from class com.jogamp.nativewindow.impl.jawt.JAWTWindow |
destroy, getAWTComponent, getBounds, getDisplayHandle, getGraphicsConfiguration, getHeight, getLocationOnScreen, getParent, getScreenIndex, getSurfaceHandle, getSurfaceLockOwner, getWidth, getX, getY, isSurfaceLocked, isSurfaceLockedByOtherThread, lockSurface, setSize, surfaceSwap, surfaceUpdated, surfaceUpdated, toString, unlockSurface, updateBounds |
windowHandle
protected long windowHandle
WindowsJAWTWindow
public WindowsJAWTWindow(Object comp,
AbstractGraphicsConfiguration config)
validateNative
protected void validateNative()
throws NativeWindowException
- Specified by:
validateNative
in class JAWTWindow
- Throws:
NativeWindowException
invalidate
protected void invalidate()
- Overrides:
invalidate
in class JAWTWindow
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
getLocationOnScreenImpl
protected Point getLocationOnScreenImpl(int x,
int y)
- Specified by:
getLocationOnScreenImpl
in class JAWTWindow
Copyright 2010 JogAmp Community.