| Modifier and Type | Field and Description |
|---|---|
| private static final Buffer | |
| private static final int | |
| private volatile long | javaWindowHandle
Of native type JavaWindow, containing 'jobject window', X11 Window, beside other states. |
| private X11GraphicsDevice | |
| pack-priv volatile boolean | |
| private static final String | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| private native void | CloseWindow0(long display, long javaWindowHandle, final int randr_event_base, final int randr_error_base)
|
| private static native boolean | |
| protected boolean | |
| protected void | createNativeImpl()
Implements abstract jogamp. |
| private long[] | CreateWindow(final long parentWindowHandle, final long display, final int screen_index, final int visualID, final long javaObjectAtom, final long windowDeleteAtom, final int x, final int y, final int width, final int height, final int flags, final int pixelDataSize, final Buffer pixels, final boolean verbose)
|
| private native long[] | CreateWindow0(long parentWindowHandle, long display, int screen_index, int visualID, long javaObjectAtom, long windowDeleteAtom, int x, int y, int width, int height, int flags, int pixelDataSize, Object pixels, int pixels_byte_offset, boolean pixels_is_direct, boolean verbose)
returns long[2] { X11-window-handle, JavaWindow-handle } |
| protected final void | doMouseEvent(final boolean enqueue, final boolean
if true wait until wait, short eventType, int modifiers, final int x, final int y, short button, final float[] rotationXYZ, final float rotationScale)consumed.Overrides jogamp. |
| private static final void | |
| public final void | enqueueKeyEvent(final boolean wait, final short eventType, final int modifiers, final short keyCode, final short keySym, final char keyChar)
Overrides jogamp. |
| protected void | focusChanged(final boolean defer, final boolean focusGained)
Overrides jogamp. Deal w/ tempAlwaysOnTop. |
| private static final String | |
| protected Point | getLocationOnScreenImpl(final int x, final int y)
Implements abstract jogamp. |
| private static native int | |
| protected final int | getSupportedReconfigMaskImpl()
Implements abstract jogamp. |
| protected static native boolean | |
| private static native void | reconfigureWindow0(long display, int screen_index, long parentWindowHandle, long javaWindowHandle, int x, int y, int width, int height, int flags)
|
| protected boolean | reconfigureWindowImpl(final int
client-area position in window units, or <0 if unchanged x, final int client-area position in window units, or <0 if unchanged y, final int client-area size in window units, or <=0 if unchanged width, final int client-area size in window units, or <=0 if unchanged height, int bitfield of change and status flags flags)Implements abstract jogamp. |
| protected void | |
| private static native void | |
| protected void | requestFocusImpl(final boolean
if true, bypass force)focusChanged(boolean, boolean) and force focus requestImplements abstract jogamp. TIMEOUT_NATIVEWINDOW.
|
| private final <T> T | |
| protected final void | sendKeyEvent(final short eventType, final int modifiers, final short keyCode, final short keySym, final char keyChar0, final String keyString)
Called by native TK |
| public final void | sendKeyEvent(final short eventType, final int modifiers, final short keyCode, final short keySym, final char keyChar)
Overrides jogamp. |
| private static native void | |
| protected void | |
| private static native boolean | |
| protected boolean | setPointerVisibleImpl(final boolean pointerVisible)
Overrides jogamp. |
| private static native void | |
| protected void | |
| private static native void | |
| protected void |
| defaultIconData | back to summary |
|---|---|
| private static final Buffer defaultIconData | |
| defaultIconDataSize | back to summary |
|---|---|
| private static final int defaultIconDataSize | |
| javaWindowHandle | back to summary |
|---|---|
| private volatile long javaWindowHandle Of native type JavaWindow, containing 'jobject window', X11 Window, beside other states. | |
| renderDevice | back to summary |
|---|---|
| private X11GraphicsDevice renderDevice | |
| tempFSAlwaysOnTop | back to summary |
|---|---|
| pack-priv volatile boolean tempFSAlwaysOnTop | |
| WINDOW_CLASS_NAME | back to summary |
|---|---|
| private static final String WINDOW_CLASS_NAME | |
| X11_WHEEL_ONE_DOWN_BUTTON | back to summary |
|---|---|
| private static final int X11_WHEEL_ONE_DOWN_BUTTON | |
| X11_WHEEL_ONE_UP_BUTTON | back to summary |
|---|---|
| private static final int X11_WHEEL_ONE_UP_BUTTON | |
| X11_WHEEL_TWO_DOWN_BUTTON | back to summary |
|---|---|
| private static final int X11_WHEEL_TWO_DOWN_BUTTON | |
| X11_WHEEL_TWO_UP_BUTTON | back to summary |
|---|---|
| private static final int X11_WHEEL_TWO_UP_BUTTON | |
| WindowDriver | back to summary |
|---|---|
| public WindowDriver() | |
| closeNativeImpl | back to summary |
|---|---|
| protected void closeNativeImpl() Implements abstract jogamp.
| |
| CloseWindow0 | back to summary |
|---|---|
| private native void CloseWindow0(long display, long javaWindowHandle, final int randr_event_base, final int randr_error_base) | |
| confinePointer0 | back to summary |
|---|---|
| private static native boolean confinePointer0(long display, long javaWindowHandle, boolean grab) | |
| confinePointerImpl | back to summary |
|---|---|
| protected boolean confinePointerImpl(final boolean confine) Overrides jogamp.
| |
| createNativeImpl | back to summary |
|---|---|
| protected void createNativeImpl() Implements abstract jogamp. Doc from jogamp. The native implementation must set the native windowHandle.
The implementation shall respect the states The implementation should invoke the referenced java state callbacks to notify this Java object of state changes.
| |
| CreateWindow | back to summary |
|---|---|
| private long[] CreateWindow(final long parentWindowHandle, final long display, final int screen_index, final int visualID, final long javaObjectAtom, final long windowDeleteAtom, final int x, final int y, final int width, final int height, final int flags, final int pixelDataSize, final Buffer pixels, final boolean verbose) | |
| CreateWindow0 | back to summary |
|---|---|
| private native long[] CreateWindow0(long parentWindowHandle, long display, int screen_index, int visualID, long javaObjectAtom, long windowDeleteAtom, int x, int y, int width, int height, int flags, int pixelDataSize, Object pixels, int pixels_byte_offset, boolean pixels_is_direct, boolean verbose) returns long[2] { X11-window-handle, JavaWindow-handle } | |
| doMouseEvent | back to summary |
|---|---|
| protected final void doMouseEvent(final boolean enqueue, final boolean wait, short eventType, int modifiers, final int x, final int y, short button, final float[] rotationXYZ, final float rotationScale) Overrides jogamp. Doc from jogamp. Send mouse event (one-pointer) either to be directly consumed or to be enqueued | |
| dumpStack | back to summary |
|---|---|
| private static final void dumpStack() | |
| enqueueKeyEvent | back to summary |
|---|---|
| public final void enqueueKeyEvent(final boolean wait, final short eventType, final int modifiers, final short keyCode, final short keySym, final char keyChar) Overrides jogamp.
| |
| focusChanged | back to summary |
|---|---|
| protected void focusChanged(final boolean defer, final boolean focusGained) Overrides jogamp. Doc from jogamp. Deal w/ tempAlwaysOnTop. Triggered by implementation's WM events to update the focus state.
| |
| getCurrentThreadName | back to summary |
|---|---|
| private static final String getCurrentThreadName() | |
| getLocationOnScreenImpl | back to summary |
|---|---|
| protected Point getLocationOnScreenImpl(final int x, final int y) Implements abstract jogamp. Doc from jogamp. Translates the given window client-area coordinates with top-left origin to screen coordinates in window units. Since the position reflects the client area, it does not include the insets.
May return | |
| GetSupportedReconfigMask0 | back to summary |
|---|---|
| private static native int GetSupportedReconfigMask0(long javaWindowHandle) | |
| getSupportedReconfigMaskImpl | back to summary |
|---|---|
| protected final int getSupportedReconfigMaskImpl() Implements abstract jogamp. Doc from jogamp. Returns the reconfigure state-mask supported by the implementation.
Default value is
| |
| initIDs0 | back to summary |
|---|---|
| protected static native boolean initIDs0() | |
| reconfigureWindow0 | back to summary |
|---|---|
| private static native void reconfigureWindow0(long display, int screen_index, long parentWindowHandle, long javaWindowHandle, int x, int y, int width, int height, int flags) | |
| reconfigureWindowImpl | back to summary |
|---|---|
| protected boolean reconfigureWindowImpl(final int x, final int y, final int width, final int height, int flags) Implements abstract jogamp. Doc from jogamp. The native implementation should invoke the referenced java state callbacks to notify this Java object of state changes. Implementations shall set x/y to 0, in case it's negative. This could happen due to insets and positioning a decorated window to 0/0, which would place the frame outside of the screen.
| |
| reparentNotify | back to summary |
|---|---|
| protected void reparentNotify(final long newParentWindowHandle) | |
| requestFocus0 | back to summary |
|---|---|
| private static native void requestFocus0(long display, long javaWindowHandle, boolean force) | |
| requestFocusImpl | back to summary |
|---|---|
| protected void requestFocusImpl(final boolean force) Implements abstract jogamp. Doc from jogamp. Async request which shall be performed within
If if
| |
| runWithLockedDisplayDevice | back to summary |
|---|---|
| private final <T> T runWithLockedDisplayDevice(final DisplayImpl. | |
| sendKeyEvent | back to summary |
|---|---|
| protected final void sendKeyEvent(final short eventType, final int modifiers, final short keyCode, final short keySym, final char keyChar0, final String keyString) Called by native TK | |
| sendKeyEvent | back to summary |
|---|---|
| public final void sendKeyEvent(final short eventType, final int modifiers, final short keyCode, final short keySym, final char keyChar) Overrides jogamp.
| |
| setPointerIcon0 | back to summary |
|---|---|
| private static native void setPointerIcon0(long display, long javaWindowHandle, long handle) | |
| setPointerIconImpl | back to summary |
|---|---|
| protected void setPointerIconImpl(final PointerIconImpl pi) Overrides jogamp.
| |
| setPointerVisible0 | back to summary |
|---|---|
| private static native boolean setPointerVisible0(long display, long javaWindowHandle, boolean visible) | |
| setPointerVisibleImpl | back to summary |
|---|---|
| protected boolean setPointerVisibleImpl(final boolean pointerVisible) Overrides jogamp.
| |
| setTitle0 | back to summary |
|---|---|
| private static native void setTitle0(long display, long javaWindowHandle, String title) | |
| setTitleImpl | back to summary |
|---|---|
| protected void setTitleImpl(final String title) Overrides jogamp.
| |
| warpPointer0 | back to summary |
|---|---|
| private static native void warpPointer0(long display, long javaWindowHandle, int x, int y) | |
| warpPointerImpl | back to summary |
|---|---|
| protected void warpPointerImpl(final int x, final int y) Overrides jogamp.
| |