javax.media.nativewindow
Interface OffscreenLayerSurface

All Known Implementing Classes:
JAWTWindow

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(long layerHandle)
          Detaches a previously attached offscreen layer from this offscreen layer surface.
 

Method Detail

attachSurfaceLayer

void attachSurfaceLayer(long layerHandle)
                        throws NativeWindowException
Attach the offscreen layer to this offscreen layer surface.

Throws:
NativeWindowException - if #isOffscreenLayerSurfaceEnabled() == false
See Also:
#isOffscreenLayerSurfaceEnabled()

detachSurfaceLayer

void detachSurfaceLayer(long layerHandle)
                        throws NativeWindowException
Detaches a previously attached offscreen layer from this offscreen layer surface.

Throws:
NativeWindowException - if #isOffscreenLayerSurfaceEnabled() == false
See Also:
attachSurfaceLayer(long), #isOffscreenLayerSurfaceEnabled()


Copyright 2010 JogAmp Community.