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 voidcalled withinProxySurface.createNotify()within lock, before using surface.final voidcalled 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:UpstreamSurfaceHookcalled withinProxySurface.createNotify()within lock, before using surface.- Specified by:
createin interfaceUpstreamSurfaceHook- Overrides:
createin classUpstreamSurfaceHookMutableSize
-
destroy
Description copied from interface:UpstreamSurfaceHookcalled withinProxySurface.destroyNotify()within lock, before clearing fields.- Specified by:
destroyin interfaceUpstreamSurfaceHook- Overrides:
destroyin classUpstreamSurfaceHookMutableSize
-
toString
- Overrides:
toStringin classUpstreamSurfaceHookMutableSize
-