| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.jdic.screensaver.ScreensaverBase
public abstract class ScreensaverBase
Base class for screensavers written in Java.
 All developers should extend either SimpleScreensaver
 or JOGLScreensaver.  This base class makes it possible to
 offer different types of screensavers in the future, such as those that
 can control their own rendering frequency.
SimpleScreensaver| Constructor Summary | |
|---|---|
| ScreensaverBase() | |
| Method Summary | |
|---|---|
|  void | baseDestroy()Called from native code to destroy the screensaver. | 
|  void | baseInit(ScreensaverContext context)Called from native code to do initialization. | 
|  ScreensaverContext | getContext()Gets the ScreenSaver context object | 
|  void | renderFrame()Called from the native layer to render the next frame | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ScreensaverBase()
| Method Detail | 
|---|
public final void baseInit(ScreensaverContext context)
context - Context information for this screensaver (eg window size)public final void baseDestroy()
public ScreensaverContext getContext()
public void renderFrame()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||