Package jmri.jmrit.audio
Class AbstractAudioSource.AudioSourceFadeThread
java.lang.Object
java.lang.Thread
jmri.jmrit.audio.AbstractAudioThread
jmri.jmrit.audio.AbstractAudioSource.AudioSourceFadeThread
- All Implemented Interfaces:
Runnable,AudioThread
- Enclosing class:
- AbstractAudioSource
An internal class used to create a new thread to monitor and maintain
fade in and fade out levels.
Will exist only as long as this source is in the process of fading in or out.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITYFields inherited from interface jmri.jmrit.audio.AudioThread
GET, NA, SET -
Constructor Summary
ConstructorsConstructorDescriptionAudioSourceFadeThread(AbstractAudioSource audioSource) Constructor that takes handle to looping AudioSource to monitor. -
Method Summary
Methods inherited from class jmri.jmrit.audio.AbstractAudioThread
die, dying, isThreadAlive, snoozeMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
AudioSourceFadeThread
AudioSourceFadeThread(AbstractAudioSource audioSource) Constructor that takes handle to looping AudioSource to monitor.- Parameters:
audioSource- looping AudioSource to monitor
-
-
Method Details