jjdh API

jjdh.opengl.program.renderer.common
Class FakedGLAutoDrawable

java.lang.Object
  extended by jjdh.opengl.program.renderer.common.FakedGLAutoDrawable
All Implemented Interfaces:
javax.media.opengl.ComponentEvents, javax.media.opengl.GLAutoDrawable, javax.media.opengl.GLDrawable

public class FakedGLAutoDrawable
extends Object
implements javax.media.opengl.GLAutoDrawable


Field Summary
protected  Component component
           
protected  SystemContext context
           
 
Constructor Summary
FakedGLAutoDrawable(SystemContext context)
           
 
Method Summary
 void addComponentListener(ComponentListener arg0)
           
 void addFocusListener(FocusListener arg0)
           
 void addGLEventListener(javax.media.opengl.GLEventListener arg0)
           
 void addHierarchyBoundsListener(HierarchyBoundsListener arg0)
           
 void addHierarchyListener(HierarchyListener arg0)
           
 void addInputMethodListener(InputMethodListener arg0)
           
 void addKeyListener(KeyListener arg0)
           
 void addMouseListener(MouseListener arg0)
           
 void addMouseMotionListener(MouseMotionListener arg0)
           
 void addMouseWheelListener(MouseWheelListener arg0)
           
 void addPropertyChangeListener(PropertyChangeListener arg0)
           
 void addPropertyChangeListener(String arg0, PropertyChangeListener arg1)
           
 javax.media.opengl.GLContext createContext(javax.media.opengl.GLContext arg0)
           
 void display()
           
 boolean getAutoSwapBufferMode()
           
 javax.media.opengl.GLContext getContext()
           
 javax.media.opengl.GL getGL()
           
 int getHeight()
           
 int getWidth()
           
 void removeComponentListener(ComponentListener arg0)
           
 void removeFocusListener(FocusListener arg0)
           
 void removeGLEventListener(javax.media.opengl.GLEventListener arg0)
           
 void removeHierarchyBoundsListener(HierarchyBoundsListener arg0)
           
 void removeHierarchyListener(HierarchyListener arg0)
           
 void removeInputMethodListener(InputMethodListener arg0)
           
 void removeKeyListener(KeyListener arg0)
           
 void removeMouseListener(MouseListener arg0)
           
 void removeMouseMotionListener(MouseMotionListener arg0)
           
 void removeMouseWheelListener(MouseWheelListener arg0)
           
 void removePropertyChangeListener(PropertyChangeListener arg0)
           
 void removePropertyChangeListener(String arg0, PropertyChangeListener arg1)
           
 void repaint()
           
 void setAutoSwapBufferMode(boolean arg0)
           
 void setGL(javax.media.opengl.GL arg0)
           
 void setRealized(boolean arg0)
           
 void setSize(int arg0, int arg1)
           
 void swapBuffers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected final SystemContext context

component

protected final Component component
Constructor Detail

FakedGLAutoDrawable

public FakedGLAutoDrawable(SystemContext context)
Method Detail

getContext

public javax.media.opengl.GLContext getContext()
Specified by:
getContext in interface javax.media.opengl.GLAutoDrawable

addGLEventListener

public void addGLEventListener(javax.media.opengl.GLEventListener arg0)
Specified by:
addGLEventListener in interface javax.media.opengl.GLAutoDrawable

removeGLEventListener

public void removeGLEventListener(javax.media.opengl.GLEventListener arg0)
Specified by:
removeGLEventListener in interface javax.media.opengl.GLAutoDrawable

display

public void display()
Specified by:
display in interface javax.media.opengl.GLAutoDrawable

repaint

public void repaint()
Specified by:
repaint in interface javax.media.opengl.GLAutoDrawable

setAutoSwapBufferMode

public void setAutoSwapBufferMode(boolean arg0)
Specified by:
setAutoSwapBufferMode in interface javax.media.opengl.GLAutoDrawable

getAutoSwapBufferMode

public boolean getAutoSwapBufferMode()
Specified by:
getAutoSwapBufferMode in interface javax.media.opengl.GLAutoDrawable

getGL

public javax.media.opengl.GL getGL()
Specified by:
getGL in interface javax.media.opengl.GLAutoDrawable

setGL

public void setGL(javax.media.opengl.GL arg0)
Specified by:
setGL in interface javax.media.opengl.GLAutoDrawable

createContext

public javax.media.opengl.GLContext createContext(javax.media.opengl.GLContext arg0)
Specified by:
createContext in interface javax.media.opengl.GLDrawable

setRealized

public void setRealized(boolean arg0)
Specified by:
setRealized in interface javax.media.opengl.GLDrawable

setSize

public void setSize(int arg0,
                    int arg1)
Specified by:
setSize in interface javax.media.opengl.GLDrawable

getWidth

public int getWidth()
Specified by:
getWidth in interface javax.media.opengl.GLDrawable

getHeight

public int getHeight()
Specified by:
getHeight in interface javax.media.opengl.GLDrawable

swapBuffers

public void swapBuffers()
                 throws javax.media.opengl.GLException
Specified by:
swapBuffers in interface javax.media.opengl.GLDrawable
Throws:
javax.media.opengl.GLException

addComponentListener

public void addComponentListener(ComponentListener arg0)
Specified by:
addComponentListener in interface javax.media.opengl.ComponentEvents

removeComponentListener

public void removeComponentListener(ComponentListener arg0)
Specified by:
removeComponentListener in interface javax.media.opengl.ComponentEvents

addFocusListener

public void addFocusListener(FocusListener arg0)
Specified by:
addFocusListener in interface javax.media.opengl.ComponentEvents

removeFocusListener

public void removeFocusListener(FocusListener arg0)
Specified by:
removeFocusListener in interface javax.media.opengl.ComponentEvents

addHierarchyBoundsListener

public void addHierarchyBoundsListener(HierarchyBoundsListener arg0)
Specified by:
addHierarchyBoundsListener in interface javax.media.opengl.ComponentEvents

removeHierarchyBoundsListener

public void removeHierarchyBoundsListener(HierarchyBoundsListener arg0)
Specified by:
removeHierarchyBoundsListener in interface javax.media.opengl.ComponentEvents

addHierarchyListener

public void addHierarchyListener(HierarchyListener arg0)
Specified by:
addHierarchyListener in interface javax.media.opengl.ComponentEvents

removeHierarchyListener

public void removeHierarchyListener(HierarchyListener arg0)
Specified by:
removeHierarchyListener in interface javax.media.opengl.ComponentEvents

addInputMethodListener

public void addInputMethodListener(InputMethodListener arg0)
Specified by:
addInputMethodListener in interface javax.media.opengl.ComponentEvents

removeInputMethodListener

public void removeInputMethodListener(InputMethodListener arg0)
Specified by:
removeInputMethodListener in interface javax.media.opengl.ComponentEvents

addKeyListener

public void addKeyListener(KeyListener arg0)
Specified by:
addKeyListener in interface javax.media.opengl.ComponentEvents

removeKeyListener

public void removeKeyListener(KeyListener arg0)
Specified by:
removeKeyListener in interface javax.media.opengl.ComponentEvents

addMouseListener

public void addMouseListener(MouseListener arg0)
Specified by:
addMouseListener in interface javax.media.opengl.ComponentEvents

removeMouseListener

public void removeMouseListener(MouseListener arg0)
Specified by:
removeMouseListener in interface javax.media.opengl.ComponentEvents

addMouseMotionListener

public void addMouseMotionListener(MouseMotionListener arg0)
Specified by:
addMouseMotionListener in interface javax.media.opengl.ComponentEvents

removeMouseMotionListener

public void removeMouseMotionListener(MouseMotionListener arg0)
Specified by:
removeMouseMotionListener in interface javax.media.opengl.ComponentEvents

addMouseWheelListener

public void addMouseWheelListener(MouseWheelListener arg0)
Specified by:
addMouseWheelListener in interface javax.media.opengl.ComponentEvents

removeMouseWheelListener

public void removeMouseWheelListener(MouseWheelListener arg0)
Specified by:
removeMouseWheelListener in interface javax.media.opengl.ComponentEvents

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener arg0)
Specified by:
addPropertyChangeListener in interface javax.media.opengl.ComponentEvents

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener arg0)
Specified by:
removePropertyChangeListener in interface javax.media.opengl.ComponentEvents

addPropertyChangeListener

public void addPropertyChangeListener(String arg0,
                                      PropertyChangeListener arg1)
Specified by:
addPropertyChangeListener in interface javax.media.opengl.ComponentEvents

removePropertyChangeListener

public void removePropertyChangeListener(String arg0,
                                         PropertyChangeListener arg1)
Specified by:
removePropertyChangeListener in interface javax.media.opengl.ComponentEvents

jjdh API

Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.