Class ALcdGLEventAdapter

java.lang.Object
com.luciad.view.opengl.binding.ALcdGLEventAdapter
All Implemented Interfaces:
ILcdGLEventListener

public abstract class ALcdGLEventAdapter extends Object implements ILcdGLEventListener
  • Constructor Details

    • ALcdGLEventAdapter

      public ALcdGLEventAdapter()
  • Method Details

    • init

      public void init(ILcdGLDrawable aDrawable)
      Description copied from interface: ILcdGLEventListener
      Called by the ILcdGLDrawable after its OpenGL context has been initialized.
      Specified by:
      init in interface ILcdGLEventListener
      Parameters:
      aDrawable - the ILcdGLDrawable
    • display

      public void display(ILcdGLDrawable aDrawable)
      Description copied from interface: ILcdGLEventListener
      Called 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:
      display in interface ILcdGLEventListener
      Parameters:
      aDrawable - the ILcdGLDrawable
    • reshape

      public void reshape(ILcdGLDrawable aDrawable, int aX, int aY, int aWidth, int aHeight)
      Description copied from interface: ILcdGLEventListener
      Called by the ILcdGLDrawable when it has been resized.
      Specified by:
      reshape in interface ILcdGLEventListener
      Parameters:
      aDrawable - the ILcdGLDrawable
      aX - the new X coordinate of the viewport's lower left corner
      aY - the new Y coordinate of the viewport's lower left corner
      aWidth - the new width of the viewport
      aHeight - the new height of the viewport
    • dispose

      public void dispose(ILcdGLDrawable aDrawable)
      Specified by:
      dispose in interface ILcdGLEventListener
    • preDisplay

      public void preDisplay(ILcdGLDrawable aDrawable)
      Specified by:
      preDisplay in interface ILcdGLEventListener
    • postDisplay

      public void postDisplay(ILcdGLDrawable aDrawable)
      Specified by:
      postDisplay in interface ILcdGLEventListener