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, waitreadLine, writeLinepublic void run()
public SongContext getSongContext()
RemoteControlgetSongContext in interface RemoteControlpublic void setSongContext(SongContext songContext)
RemoteControlsetSongContext in interface RemoteControlsongContext - the song context