Package com.luciad.view.opengl.binding
Class ALcdGLEventAdapter
java.lang.Object
com.luciad.view.opengl.binding.ALcdGLEventAdapter
- All Implemented Interfaces:
ILcdGLEventListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplay(ILcdGLDrawable aDrawable) Called by the ILcdGLDrawable when it requires repainting.voiddispose(ILcdGLDrawable aDrawable) voidinit(ILcdGLDrawable aDrawable) Called by the ILcdGLDrawable after its OpenGL context has been initialized.voidpostDisplay(ILcdGLDrawable aDrawable) voidpreDisplay(ILcdGLDrawable aDrawable) voidreshape(ILcdGLDrawable aDrawable, int aX, int aY, int aWidth, int aHeight) Called by the ILcdGLDrawable when it has been resized.
-
Constructor Details
-
ALcdGLEventAdapter
public ALcdGLEventAdapter()
-
-
Method Details
-
init
Description copied from interface:ILcdGLEventListenerCalled by the ILcdGLDrawable after its OpenGL context has been initialized.- Specified by:
initin interfaceILcdGLEventListener- Parameters:
aDrawable- the ILcdGLDrawable
-
display
Description copied from interface:ILcdGLEventListenerCalled by the ILcdGLDrawable when it requires repainting. The drawable will swap its front and back buffers after the display() methods of all registered ILcdGLEventListeners have been called.- Specified by:
displayin interfaceILcdGLEventListener- Parameters:
aDrawable- the ILcdGLDrawable
-
reshape
Description copied from interface:ILcdGLEventListenerCalled by the ILcdGLDrawable when it has been resized.- Specified by:
reshapein interfaceILcdGLEventListener- Parameters:
aDrawable- the ILcdGLDrawableaX- the new X coordinate of the viewport's lower left corneraY- the new Y coordinate of the viewport's lower left corneraWidth- the new width of the viewportaHeight- the new height of the viewport
-
dispose
- Specified by:
disposein interfaceILcdGLEventListener
-
preDisplay
- Specified by:
preDisplayin interfaceILcdGLEventListener
-
postDisplay
- Specified by:
postDisplayin interfaceILcdGLEventListener
-