| Modifier and Type | Field and Description |
|---|---|
| pack-priv static long | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| private native void | |
| protected void | createNativeImpl()
Implements abstract jogamp. |
| private native long | CreateSurface(long displayHandle, int scrn_width, int scrn_height, int x, int y, int width, int height)
|
| protected Point | getLocationOnScreenImpl(final int x, final int y)
Implements abstract jogamp. |
| protected final int | getSupportedReconfigMaskImpl()
Implements abstract jogamp. |
| public final long | getSurfaceHandle()
Overrides jogamp. Implements com. |
| protected static native boolean | |
| protected boolean | reconfigureWindowImpl(int
client-area position in window units, or <0 if unchanged x, int client-area position in window units, or <0 if unchanged y, int client-area size in window units, or <=0 if unchanged width, int client-area size in window units, or <=0 if unchanged height, final int bitfield of change and status flags flags)Implements abstract jogamp. |
| protected void | requestFocusImpl(final boolean
if true, bypass reparented)focusChanged(boolean, boolean) and force focus requestImplements abstract jogamp. TIMEOUT_NATIVEWINDOW.
|
| private native void | SetBounds0(long surfaceHandle, int scrn_width, int scrn_height, int x, int y, int width, int height)
|
| private void |
| nextWindowHandle | back to summary |
|---|---|
| pack-priv static long nextWindowHandle | |
| surfaceHandle | back to summary |
|---|---|
| private long surfaceHandle | |
| WindowDriver | back to summary |
|---|---|
| public WindowDriver() | |
| closeNativeImpl | back to summary |
|---|---|
| protected void closeNativeImpl() Implements abstract jogamp.
| |
| CloseSurface | back to summary |
|---|---|
| private native void CloseSurface(long displayHandle, long surfaceHandle) | |
| 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.
| |
| CreateSurface | back to summary |
|---|---|
| private native long CreateSurface(long displayHandle, int scrn_width, int scrn_height, int x, int y, int width, int height) | |
| 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 | |
| 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
| |
| getSurfaceHandle | back to summary |
|---|---|
| public final long getSurfaceHandle() Overrides jogamp. Implements com. Doc from com. Returns the handle to the surface for this NativeSurface.
The surface handle should be set/update by
On X11 this returns an entity of type Window,
since there is no differentiation of surface and window there.
| |
| initIDs | back to summary |
|---|---|
| protected static native boolean initIDs() | |
| reconfigureWindowImpl | back to summary |
|---|---|
| protected boolean reconfigureWindowImpl(int x, int y, int width, int height, final 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.
| |
| requestFocusImpl | back to summary |
|---|---|
| protected void requestFocusImpl(final boolean reparented) Implements abstract jogamp. Doc from jogamp. Async request which shall be performed within
If if
| |
| SetBounds0 | back to summary |
|---|---|
| private native void SetBounds0(long surfaceHandle, int scrn_width, int scrn_height, int x, int y, int width, int height) | |
| updateBounds | back to summary |
|---|---|
| private void updateBounds(final int x, final int y, final int width, final int height) | |