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 Link icon

    • ALcdGLEventAdapter Link icon

      public ALcdGLEventAdapter()
  • Method Details Link icon

    • init Link icon

      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 Link icon

      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 Link icon

      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 Link icon

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

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

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