Top Fields Constructors Methods
com.jogamp.nativewindow

public Class DelegatedUpstreamSurfaceHookMutableSize

extends UpstreamSurfaceHookMutableSize
Class Inheritance
Imports
com.jogamp.nativewindow.ProxySurface, .UpstreamSurfaceHook

Field Summary

Modifier and TypeField and Description
pack-priv final UpstreamSurfaceHook
Inherited from com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize:
pixHeightpixWidth

Constructor Summary

AccessConstructor and Description
public
DelegatedUpstreamSurfaceHookMutableSize(final UpstreamSurfaceHook
optional upstream UpstreamSurfaceHook used for create(ProxySurface) and destroy(ProxySurface).
upstream
,
final int
initial width
width
,
final int
initial height
height
)

Method Summary

Modifier and TypeMethod and Description
public final void
public final void
public String
toString()

Overrides com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.toString.

Returns a string representation of the object.
Inherited from com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize:
getSurfaceHeightgetSurfaceWidthgetUpstreamSurfacesetSurfaceSize

Field Detail

upstreamback to summary
pack-priv final UpstreamSurfaceHook upstream

Constructor Detail

DelegatedUpstreamSurfaceHookMutableSizeback to summary
public DelegatedUpstreamSurfaceHookMutableSize(final UpstreamSurfaceHook upstream, final int width, final int height)
Parameters
upstream:UpstreamSurfaceHook

optional upstream UpstreamSurfaceHook used for create(ProxySurface) and destroy(ProxySurface).

width:int

initial width

height:int

initial height

Method Detail

createback to summary
public final void create(final ProxySurface s)

Overrides com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.create.

Implements com.jogamp.nativewindow.UpstreamSurfaceHook.create.

Doc from com.jogamp.nativewindow.UpstreamSurfaceHook.create.

called within ProxySurface#createNotify() within lock, before using surface.

Annotations
@Override
destroyback to summary
public final void destroy(final ProxySurface s)

Overrides com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.destroy.

Implements com.jogamp.nativewindow.UpstreamSurfaceHook.destroy.

Doc from com.jogamp.nativewindow.UpstreamSurfaceHook.destroy.

called within ProxySurface#destroyNotify() within lock, before clearing fields.

Annotations
@Override
toStringback to summary
public String toString()

Overrides com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override