com.croftsoft.core.media.jogl
Class JoglAdapter
java.lang.Object
com.croftsoft.core.media.jogl.JoglAdapter
- All Implemented Interfaces:
- EventListener, GLEventListener
public final class JoglAdapter
- extends Object
- implements GLEventListener
Adapts interface JoglRenderer to GLEventListener.
- Since:
- 2005-08-18
- Version:
- $Id: JoglAdapter.java,v 1.4 2008/09/28 21:49:39 croft Exp $
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoglAdapter
public JoglAdapter(JoglRenderer joglRenderer)
- Main constructor.
init
public void init(GLAutoDrawable glAutoDrawable)
- Specified by:
init
in interface GLEventListener
reshape
public void reshape(GLAutoDrawable glAutoDrawable,
int x,
int y,
int width,
int height)
- Specified by:
reshape
in interface GLEventListener
displayChanged
public void displayChanged(GLAutoDrawable glAutoDrawable,
boolean modeChanged,
boolean deviceChanged)
- Specified by:
displayChanged
in interface GLEventListener
display
public void display(GLAutoDrawable glAutoDrawable)
- Specified by:
display
in interface GLEventListener
CroftSoft Core Javadoc (2008-09-28 20:58:02)