| Modifier and Type | Method and Description |
|---|---|
| public void | attachSurfaceLayer(final long layerHandle)
Attach the offscreen layer to this offscreen layer surface. |
| public void | detachSurfaceLayer()
Detaches a previously attached offscreen layer from this offscreen layer surface. |
| public long | |
| public RecursiveLock | getLock()
Returns the recursive lock object of this surface, which synchronizes multithreaded access. |
| public boolean | Returns: true if successful, i.e. on-screen surface/window w/ cursor capabilities exists. Otherwise false.Optional method hiding the cursor in the corresponding on-screen surface/window, if exists. |
| public boolean | |
| public void | setChosenCapabilities(CapabilitiesImmutable caps)
Sets the capabilities of this instance, allowing upstream API's to refine it, i.e. OpenGL related settings. |
| public boolean | Returns: true if successful, i.e. on-screen surface/window w/ cursor capabilities exists. Otherwise false.cursor pixels, maybe null for default cursor pixelrect, PointImmutable maybe null for default cursor hotSpot)Optional method setting cursor in the corresponding on-screen surface/window, if exists. |
| attachSurfaceLayer | back to summary |
|---|---|
| public void attachSurfaceLayer(final long layerHandle) throws NativeWindowException Attach the offscreen layer to this offscreen layer surface. Implementation may realize all required resources at this point.
| |
| detachSurfaceLayer | back to summary |
|---|---|
| public void detachSurfaceLayer() throws NativeWindowException Detaches a previously attached offscreen layer from this offscreen layer surface.
| |
| getAttachedSurfaceLayer | back to summary |
|---|---|
| public long getAttachedSurfaceLayer() Returns the attached surface layer or null if none is attached. | |
| getLock | back to summary |
|---|---|
| public RecursiveLock getLock() Returns the recursive lock object of this surface, which synchronizes multithreaded access. | |
| hideCursor | back to summary |
|---|---|
| public boolean hideCursor() Optional method hiding the cursor in the corresponding on-screen surface/window, if exists.
| |
| isSurfaceLayerAttached | back to summary |
|---|---|
| public boolean isSurfaceLayerAttached() Returns true if a surface layer is attached, otherwise false. | |
| setChosenCapabilities | back to summary |
|---|---|
| public void setChosenCapabilities(CapabilitiesImmutable caps) Sets the capabilities of this instance, allowing upstream API's to refine it, i.e. OpenGL related settings. | |
| setCursor | back to summary |
|---|---|
| public boolean setCursor(PixelRectangle pixelrect, PointImmutable hotSpot) Optional method setting cursor in the corresponding on-screen surface/window, if exists.
| |