Top Fields Constructors Methods
jogamp.nativewindow.jawt.windows

public Class WindowsJAWTWindow

extends JAWTWindow
Class Inheritance
Imports
java.awt.GraphicsConfiguration, com.jogamp.nativewindow.AbstractGraphicsConfiguration, .NativeSurface, .NativeWindow, .NativeWindowException, com.jogamp.nativewindow.util.Point, com.jogamp.nativewindow.awt.JAWTWindow, jogamp.nativewindow.jawt.JAWT, .JAWTFactory, .JAWTUtil, .JAWT_DrawingSurface, .JAWT_DrawingSurfaceInfo, jogamp.nativewindow.windows.GDIUtil

Field Summary

Modifier and TypeField and Description
private JAWT_DrawingSurface
private JAWT_DrawingSurfaceInfo
private boolean
private JAWT_Win32DrawingSurfaceInfo
protected long
Inherited from com.jogamp.nativewindow.awt.JAWTWindow:
boundscomponentDEBUGdrawableinsetsshallUseOffscreenLayer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected JAWT
fetchJAWTImpl()

Implements abstract com.jogamp.nativewindow.awt.JAWTWindow.fetchJAWTImpl.

If JAWT offscreen layer is supported, implementation shall respect getShallUseOffscreenLayer() and may respect isApplet().
protected Point
public long
protected void
protected int
protected void
Inherited from com.jogamp.nativewindow.awt.JAWTWindow:
addSurfaceUpdatedListeneraddSurfaceUpdatedListenerattachSurfaceLayerattachSurfaceLayerImplconvertToPixelUnitsconvertToWindowUnitsdestroydetachSurfaceLayerdetachSurfaceLayerImpldumpJAWTInfogetAttachedSurfaceLayergetAWTComponentgetAWTGraphicsConfigurationgetBoundsgetCurrentSurfaceScalegetDisplayHandlegetGraphicsConfigurationgetHeightgetInsetsgetJAWTgetLocationOnScreengetLocationOnScreenNativegetLockgetMaximumSurfaceScalegetMinimumSurfaceScalegetNativeSurfacegetParentgetPixelScaleXgetPixelScaleYgetRequestedSurfaceScalegetScreenIndexgetShallUseOffscreenLayergetSurfaceHandlegetSurfaceHeightgetSurfaceLockOwnergetSurfaceWidthgetWidthgetXgetYhasFocushasPixelScaleChangedhideCursorinvalidateisAppletisOffscreenLayerSurfaceEnabledisSurfaceLayerAttachedisSurfaceLockedByOtherThreadjawt2StringlayoutSurfaceLayerImpllockSurfacelockSurfaceImplremoveSurfaceUpdatedListenersetAWTGraphicsConfigurationsetChosenCapabilitiessetCursorsetReqPixelScalesetShallUseOffscreenLayersetSurfaceScalesurfaceSwapsurfaceUpdatedtoHexStringtoHexStringtoStringunlockSurfaceupdateLockedDataupdateLockedDataupdatePixelScaleupdatePixelScale

Field Detail

dsback to summary
private JAWT_DrawingSurface ds
dsiback to summary
private JAWT_DrawingSurfaceInfo dsi
dsLockedback to summary
private boolean dsLocked
win32dsiback to summary
private JAWT_Win32DrawingSurfaceInfo win32dsi
windowHandleback to summary
protected long windowHandle

Constructor Detail

WindowsJAWTWindowback to summary
public WindowsJAWTWindow(final Object comp, final AbstractGraphicsConfiguration config)

Method Detail

fetchJAWTImplback to summary
protected JAWT fetchJAWTImpl() throws NativeWindowException

Implements abstract com.jogamp.nativewindow.awt.JAWTWindow.fetchJAWTImpl.

Doc from com.jogamp.nativewindow.awt.JAWTWindow.fetchJAWTImpl.

If JAWT offscreen layer is supported, implementation shall respect getShallUseOffscreenLayer() and may respect isApplet().

Returns:JAWT

The JAWT instance reflecting offscreen layer support, etc.

Annotations
@Override
getLocationOnScreenNativeImplback to summary
protected Point getLocationOnScreenNativeImpl(final int x, final int y)

Implements abstract com.jogamp.nativewindow.awt.JAWTWindow.getLocationOnScreenNativeImpl.

Annotations
@Override
getWindowHandleback to summary
public long getWindowHandle()

Overrides com.jogamp.nativewindow.awt.JAWTWindow.getWindowHandle.

Implements com.jogamp.nativewindow.NativeWindow.getWindowHandle.

Doc from com.jogamp.nativewindow.NativeWindow.getWindowHandle.

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.

Annotations
@Override
invalidateNativeback to summary
protected void invalidateNative()

Implements abstract com.jogamp.nativewindow.awt.JAWTWindow.invalidateNative.

Annotations
@Override
lockSurfaceImplback to summary
protected int lockSurfaceImpl(final GraphicsConfiguration gc) throws NativeWindowException

Implements abstract com.jogamp.nativewindow.awt.JAWTWindow.lockSurfaceImpl.

Annotations
@Override
unlockSurfaceImplback to summary
protected void unlockSurfaceImpl() throws NativeWindowException

Implements abstract com.jogamp.nativewindow.awt.JAWTWindow.unlockSurfaceImpl.

Annotations
@Override