com.perisic.sound
Class SonicEventThread
java.lang.Object
com.perisic.sound.SonicEventThread
- All Implemented Interfaces:
- java.lang.Runnable
public class SonicEventThread
- extends java.lang.Object
- implements java.lang.Runnable
Starts a thread that runs in the background and loops a sonic event depending on the position
of the mouse on the screen.
Copyright:(c) Marc Conrad, Tim French 2010; Usage of the works is
permitted provided that this instrument is retained with the works,
so that any entity that uses the works is notified of this instrument.
DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.
- Author:
- Marc Conrad
Method Summary |
void |
run()
Implements the method from the Runnable interface. |
static java.lang.Thread |
startThread()
Starts to loop the sonic events and reacts on mouse movements. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SonicEventThread
public SonicEventThread()
startThread
public static java.lang.Thread startThread()
- Starts to loop the sonic events and reacts on mouse movements.
- Returns:
- the Thread that has been started.
run
public void run()
- Implements the method from the Runnable interface. Loops the sonic event with changes when the mouse moves.
- Specified by:
run
in interface java.lang.Runnable
- See Also:
Runnable.run()