public abstract class AbstractTextRemoteControl extends Object implements TextRemoteControl
Constructor and Description |
---|
AbstractTextRemoteControl() |
Modifier and Type | Method and Description |
---|---|
SongContext |
getSongContext()
Gets the song context to be remote-controlled.
|
void |
run()
Implements the main functionality of the remote control.
|
void |
setSongContext(SongContext songContext)
Sets the song context to be remote-controlled.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readLine, writeLine
public void run()
public SongContext getSongContext()
RemoteControl
getSongContext
in interface RemoteControl
public void setSongContext(SongContext songContext)
RemoteControl
setSongContext
in interface RemoteControl
songContext
- the song context