|
SaverBeans API V0.2-beta Release release | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.jdic.screensaver.ScreensaverBase
org.jdesktop.jdic.screensaver.JOGLScreensaver
Base class for OpenGL (JOGL) screensavers. These screensavers use the JOGL API to render screensavers. Subclasses must provide an implementation of GLEventListener methods and be able to return a GLCapabilities object from which the GLCanvas is created.
Field Summary |
Fields inherited from class org.jdesktop.jdic.screensaver.ScreensaverBase |
context |
Constructor Summary | |
JOGLScreensaver()
|
Method Summary | |
void |
destroy()
Cleanly shuts down the OpenGL subsystem. |
protected net.java.games.jogl.GLCapabilities |
getGLCapabilities()
The GLCapabilities object from which the GLCanvas is constructed. |
void |
init()
Initializes the GLCanvas and attaches it to the screensaver. |
void |
renderFrame()
Called by the native layer to render the next frame. |
Methods inherited from class org.jdesktop.jdic.screensaver.ScreensaverBase |
baseDestroy, baseInit, getContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.java.games.jogl.GLEventListener |
display, displayChanged, init, reshape |
Constructor Detail |
public JOGLScreensaver()
Method Detail |
public final void renderFrame()
renderFrame
in class ScreensaverBase
public final void init()
init
in class ScreensaverBase
public final void destroy()
destroy
in class ScreensaverBase
protected net.java.games.jogl.GLCapabilities getGLCapabilities()
|
SaverBeans API V0.2-beta Release release | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, working code examples, license terms and bug report information.
Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.