Package com.jogamp.nativewindow
Class DelegatedUpstreamSurfaceHookMutableSize
java.lang.Object
com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize
- All Implemented Interfaces:
UpstreamSurfaceHook
,UpstreamSurfaceHook.MutableSize
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jogamp.nativewindow.UpstreamSurfaceHook
UpstreamSurfaceHook.MutableSize
-
Constructor Summary
ConstructorsConstructorDescriptionDelegatedUpstreamSurfaceHookMutableSize
(UpstreamSurfaceHook upstream, int width, int height) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
called withinProxySurface.createNotify()
within lock, before using surface.final void
called withinProxySurface.destroyNotify()
within lock, before clearing fields.toString()
Methods inherited from class com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
getSurfaceHeight, getSurfaceWidth, getUpstreamSurface, setSurfaceSize
-
Constructor Details
-
DelegatedUpstreamSurfaceHookMutableSize
- Parameters:
upstream
- optional upstream UpstreamSurfaceHook used forcreate(ProxySurface)
anddestroy(ProxySurface)
.width
- initial widthheight
- initial height
-
-
Method Details
-
create
Description copied from interface:UpstreamSurfaceHook
called withinProxySurface.createNotify()
within lock, before using surface.- Specified by:
create
in interfaceUpstreamSurfaceHook
- Overrides:
create
in classUpstreamSurfaceHookMutableSize
-
destroy
Description copied from interface:UpstreamSurfaceHook
called withinProxySurface.destroyNotify()
within lock, before clearing fields.- Specified by:
destroy
in interfaceUpstreamSurfaceHook
- Overrides:
destroy
in classUpstreamSurfaceHookMutableSize
-
toString
- Overrides:
toString
in classUpstreamSurfaceHookMutableSize
-