javax.media.nativewindow
Interface SurfaceUpdatedListener

All Known Subinterfaces:
MutableSurface, NativeSurface, NativeWindow, ProxySurface, Window
All Known Implementing Classes:
GLWindow, JAWTWindow

public interface SurfaceUpdatedListener

Clients may add their SurfaceUpdateListener implementation to a NativeSurface allowing to get notified after the surface has been updated, eg. after a swap buffer operation.


Method Summary
 void surfaceUpdated(Object updater, NativeSurface ns, long when)
          Notification of a surface update event, eg.
 

Method Detail

surfaceUpdated

void surfaceUpdated(Object updater,
                    NativeSurface ns,
                    long when)
Notification of a surface update event, eg. after a swap buffer operation.

Parameters:
updater - is the caller object who updated the surface, e.g. a JOGL GLDrawable.
ns - the updated NativeSurface
when - the time in ms, when the surface was updated


Copyright 2010 JogAmp Community.