|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OffscreenLayerSurface
Interface specifying the offscreen layer surface protocol.
| Method Summary | |
|---|---|
void |
attachSurfaceLayer(long layerHandle)
Attach the offscreen layer to this offscreen layer surface. |
void |
detachSurfaceLayer()
Detaches a previously attached offscreen layer from this offscreen layer surface. |
long |
getAttachedSurfaceLayer()
Returns the attached surface layer or null if none is attached. |
com.jogamp.common.util.locks.RecursiveLock |
getLock()
Returns the recursive lock object of this surface, which synchronizes multithreaded access. |
boolean |
hideCursor()
Optional method hiding the cursor in the corresponding on-screen surface/window, if exists. |
boolean |
isSurfaceLayerAttached()
Returns true if a surface layer is attached, otherwise false. |
void |
setChosenCapabilities(CapabilitiesImmutable caps)
Sets the capabilities of this instance, allowing upstream API's to refine it, i.e. |
boolean |
setCursor(PixelRectangle pixelrect,
PointImmutable hotSpot)
Optional method setting cursor in the corresponding on-screen surface/window, if exists. |
| Method Detail |
|---|
void attachSurfaceLayer(long layerHandle)
throws NativeWindowException
Implementation may realize all required resources at this point.
NativeWindowException - if #isOffscreenLayerSurfaceEnabled() == false#isOffscreenLayerSurfaceEnabled()
void detachSurfaceLayer()
throws NativeWindowException
NativeWindowException - if #isOffscreenLayerSurfaceEnabled() == false
or no surface layer is attached.attachSurfaceLayer(long),
#isOffscreenLayerSurfaceEnabled()long getAttachedSurfaceLayer()
boolean isSurfaceLayerAttached()
void setChosenCapabilities(CapabilitiesImmutable caps)
com.jogamp.common.util.locks.RecursiveLock getLock()
boolean setCursor(PixelRectangle pixelrect,
PointImmutable hotSpot)
pixelrect - cursor pixels, maybe null for default cursorhotSpot - maybe null for default cursor
boolean hideCursor()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||