java.lang.Object
java.lang.Thread
irate.client.PlayThread
- All Implemented Interfaces:
- java.lang.Runnable
- public class PlayThread
- extends java.lang.Thread
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, 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 |
currentTrack
private irate.common.Track currentTrack
nextTrack
private irate.common.Track nextTrack
player
private Player player
playerList
private PlayerList playerList
playListManager
private PlayListManager playListManager
updateListeners
private java.util.Vector updateListeners
speech
private Speech speech
speaking
private boolean speaking
toKeepPlaying
private boolean toKeepPlaying
PlayThread
public PlayThread(PlayListManager playListManager,
PlayerList playerList)
isSpeechSupported
public boolean isSpeechSupported()
run
public void run()
- Description copied from class:
java.lang.Thread
- The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.
playFile
private void playFile(java.io.File file)
throws java.lang.Exception
play
public void play(irate.common.Track track)
playTrack
private void playTrack()
getCurrentTrack
public irate.common.Track getCurrentTrack()
reject
public void reject()
setRating
public void setRating(int rating)
setPaused
public void setPaused(boolean paused)
isPaused
public boolean isPaused()
addUpdateListener
public void addUpdateListener(irate.common.UpdateListener updateListener)
notifyUpdateListeners
private void notifyUpdateListeners()