|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.org.toot.transport.DefaultTransport
public class DefaultTransport
A default concrete implementation of a Transport.
| Constructor Summary | |
|---|---|
DefaultTransport()
|
|
| Method Summary | |
|---|---|
void |
addTransportListener(TransportListener listener)
Add a TransportListener to this Transport. |
long |
getMicrosecondLocation()
called by Slaves |
boolean |
isPlaying()
Reports whether this Transport is playing. |
boolean |
isRecording()
Reports whether this Transport is recording. |
void |
locate(long microseconds)
Called when the transport locates to a new microsecond time. |
void |
play()
Called when the transport begins playing. |
void |
record(boolean rec)
Called when the transport record mode changes. |
void |
removeTransportListener(TransportListener listener)
Removes a TransportListener from this Transport. |
void |
stop()
Called when the transport has stopped. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTransport()
| Method Detail |
|---|
public void stop()
TransportListener
stop in interface TransportListenerpublic void play()
TransportListener
play in interface TransportListenerpublic void record(boolean rec)
TransportListener
record in interface TransportListenerpublic void locate(long microseconds)
TransportListener
locate in interface TransportListenerpublic boolean isPlaying()
Transport
isPlaying in interface Transportpublic boolean isRecording()
Transport
isRecording in interface Transportpublic void addTransportListener(TransportListener listener)
Transport
addTransportListener in interface Transportpublic void removeTransportListener(TransportListener listener)
Transport
removeTransportListener in interface Transportpublic long getMicrosecondLocation()
getMicrosecondLocation in interface TimeSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||