All Packages This Package Class Hierarchy Class Search Index
Summary |
public interface GLEventListener { // Methods 4 public abstract void display(GLDrawable); public abstract GL getGL(); public abstract void initialize(GLDrawable); public abstract void reshape(GLDrawable, int, int, int, int); }
This interface defines methods that good programs using GLComponent objects or extensions of GLComponent classes should implement to provide effective rendering. This interface is similar to the functions provided by GLUT.
Cross Reference |
Methods |
· display | Summary | Top |
public abstract void display(GLDrawable component)
This method will handle redrawing the geometry
· initialize | Summary | Top |
public abstract void initialize(GLDrawable component)
This method should be implemented to handle initialization of any OpenGL stuff, usually geometry, materials and lights setup
· reshape | Summary | Top |
public abstract void reshape(GLDrawable component, int x, int y, int width, int height)
This method will handle resizing the GLComponent and setting up the view volume.
· getGL | Summary | Top |
public abstract GL getGL()
This method should return a valid GL pipeline object that can be used internally by the GLComponent
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7