|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
void |
display(GLDrawable component)
This method will handle redrawing the geometry |
GL |
getGL()
This method should return a valid GL pipeline object that can be used internally by the GLComponent |
void |
initialize(GLDrawable component)
This method should be implemented to handle initialization of any OpenGL stuff, usually geometry, materials and lights setup |
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. |
Method Detail |
public void display(GLDrawable component)
public void initialize(GLDrawable component)
public void reshape(GLDrawable component, int x, int y, int width, int height)
public GL getGL()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |