public abstract class ALcdGLEventAdapter extends Object implements ILcdGLEventListener
Constructor and Description |
---|
ALcdGLEventAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
display(ILcdGLDrawable aDrawable)
Called by the ILcdGLDrawable when it requires repainting.
|
void |
dispose(ILcdGLDrawable aDrawable) |
void |
init(ILcdGLDrawable aDrawable)
Called by the ILcdGLDrawable after its OpenGL context has been
initialized.
|
void |
postDisplay(ILcdGLDrawable aDrawable) |
void |
preDisplay(ILcdGLDrawable aDrawable) |
void |
reshape(ILcdGLDrawable aDrawable,
int aX,
int aY,
int aWidth,
int aHeight)
Called by the ILcdGLDrawable when it has been resized.
|
public void init(ILcdGLDrawable aDrawable)
ILcdGLEventListener
init
in interface ILcdGLEventListener
aDrawable
- the ILcdGLDrawablepublic void display(ILcdGLDrawable aDrawable)
ILcdGLEventListener
display
in interface ILcdGLEventListener
aDrawable
- the ILcdGLDrawablepublic void reshape(ILcdGLDrawable aDrawable, int aX, int aY, int aWidth, int aHeight)
ILcdGLEventListener
reshape
in interface ILcdGLEventListener
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 viewportpublic void dispose(ILcdGLDrawable aDrawable)
dispose
in interface ILcdGLEventListener
public void preDisplay(ILcdGLDrawable aDrawable)
preDisplay
in interface ILcdGLEventListener
public void postDisplay(ILcdGLDrawable aDrawable)
postDisplay
in interface ILcdGLEventListener