|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread org.log4jfugue.SoundBuilder
public class SoundBuilder
One of the two primary threads of the system, this class builds and plays the actual music strings.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected Music |
music
|
protected Player |
player
|
protected com.sun.media.sound.SoftSynthesizer |
synth
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SoundBuilder()
|
Method Summary | |
---|---|
protected java.lang.String |
buildMusicString(java.lang.String allVoices)
|
void |
run()
Build the music string to send to JFugue. |
void |
setMusic(Music music)
likely set by spring |
void |
setPlayer(Player player)
set by spring |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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 |
Field Detail |
---|
protected Music music
protected com.sun.media.sound.SoftSynthesizer synth
protected Player player
Constructor Detail |
---|
public SoundBuilder()
Method Detail |
---|
public void setMusic(Music music)
music
- public void setPlayer(Player player)
player
- public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
protected java.lang.String buildMusicString(java.lang.String allVoices)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |