com.croftsoft.core.media.jogl
Class JoglAdapter

java.lang.Object
  extended by 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

Constructor Summary
JoglAdapter(JoglRenderer joglRenderer)
          Main constructor.
 
Method Summary
 void display(GLAutoDrawable glAutoDrawable)
           
 void displayChanged(GLAutoDrawable glAutoDrawable, boolean modeChanged, boolean deviceChanged)
           
 void init(GLAutoDrawable glAutoDrawable)
           
 void reshape(GLAutoDrawable glAutoDrawable, int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoglAdapter

public JoglAdapter(JoglRenderer joglRenderer)
Main constructor.

Method Detail

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 Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)