| Modifier and Type | Field and Description |
|---|---|
| pack-priv static long | |
| pack-priv long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | createNativeImpl()
Implements abstract jogamp. |
| public synchronized void | destroy()
Overrides jogamp. Implements com. |
| public Point | getLocationOnScreen(final Point
Optional storage)Point storage.
If not null, null, it is translated about the resulting screen position
and returned.Overrides jogamp. Implements com. |
| protected Point | getLocationOnScreenImpl(final int x, final int y)
Implements abstract jogamp. |
| protected final int | getSupportedReconfigMaskImpl()
Implements abstract jogamp. |
| public long | getSurfaceHandle()
Overrides jogamp. Implements com. |
| 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, 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.
|
| public boolean | setFullscreen(final boolean
enable or disable fullscreen mode fullscreen)Overrides jogamp. Implements com. |
| public boolean | setFullscreen(final List<MonitorDevice>
if monitors)null fullscreen will be spanned across all MonitorDevices,
otherwise across the given list of MonitorDevice.Overrides jogamp. Implements com. MonitorDevices
or across all MonitorDevices.
|
| public void | setPosition(final int
coord of the client-area's top left corner in window units x, final int coord of the client-area's top left corner in window units y)Overrides jogamp. Implements com. |
| public void | setSurfaceHandle(final long handle)
Implements com. |
| nextWindowHandle | back to summary |
|---|---|
| pack-priv static long nextWindowHandle | |
| surfaceHandle | back to summary |
|---|---|
| pack-priv long surfaceHandle | |
| OffscreenWindow | back to summary |
|---|---|
| public OffscreenWindow() | |
| closeNativeImpl | back to summary |
|---|---|
| protected void closeNativeImpl() Implements abstract 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.
| |
| destroy | back to summary |
|---|---|
| public synchronized void destroy() Overrides jogamp. Implements com. Doc from com. Destroys this window incl. releasing all related resources. Also iterates through this window's children and destroys them. Visibility is set to false.
Method sends out
This method invokes
The Window can be recreate via This method is lifecycle heavy.
| |
| getLocationOnScreen | back to summary |
|---|---|
| public Point getLocationOnScreen(final Point storage) Overrides jogamp. Implements com. Doc from com. Returns the window's top-left client-area position in the screen.
If See Coordinate System. Since the position reflects the client area, it does not include the insets. | |
| 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 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.
| |
| reconfigureWindowImpl | back to summary |
|---|---|
| protected boolean reconfigureWindowImpl(final int x, final int y, final int width, final 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
| |
| setFullscreen | back to summary |
|---|---|
| public boolean setFullscreen(final boolean fullscreen) Overrides jogamp. Implements com. Doc from com. Enable or disable fullscreen mode for this window.
Fullscreen mode is established on the This method is lifecycle heavy.
| |
| setFullscreen | back to summary |
|---|---|
| public boolean setFullscreen(final List<MonitorDevice> monitors) Overrides jogamp. Implements com. Doc from com. Enable fullscreen mode for this window spanning across the given
Disable fullscreen via This method is lifecycle heavy.
| |
| setPosition | back to summary |
|---|---|
| public void setPosition(final int x, final int y) Overrides jogamp. Implements com. Doc from com. Sets the location of the window's client area excluding insets (window decorations) in window units.
| |
| setSurfaceHandle | back to summary |
|---|---|
| public void setSurfaceHandle(final long handle) Implements com. Doc from com. Sets the surface handle which is created outside of this implementation.
| |