net.fortuna.saverscreens
Class ScreensaverRunner

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.fortuna.saverscreens.ScreensaverRunner
All Implemented Interfaces:
java.lang.Runnable

public class ScreensaverRunner
extends java.lang.Thread

A helper class to simulate the execution of a screensaver.

Author:
benfortuna

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ScreensaverRunner(Screensaver s)
          Constructor.
 
Method Summary
 void exit()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScreensaverRunner

public ScreensaverRunner(Screensaver s)
Constructor.

Method Detail

run

public void run()

exit

public final void exit()