|
||||||||||
| 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.SimpleScreensaver
org.jdesktop.jdic.screensaver.bouncingline.BouncingLine
public class BouncingLine
Example classic bouncing line screen saver. Good starting point for new screensavers.
| Constructor Summary | |
|---|---|
BouncingLine()
|
|
| Method Summary | |
|---|---|
void |
init()
Initialize this screen saver - pick two random points and directions. |
void |
paint(java.awt.Graphics g)
Paint the next frame - erase the old line and paint the new line. |
| Methods inherited from class org.jdesktop.jdic.screensaver.SimpleScreensaver |
|---|
renderFrame |
| Methods inherited from class org.jdesktop.jdic.screensaver.ScreensaverBase |
|---|
baseDestroy, baseInit, getContext |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BouncingLine()
| Method Detail |
|---|
public void init()
public void paint(java.awt.Graphics g)
paint in class SimpleScreensaverg - Graphics context used to draw to the screensaver window.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||