|
||||||||||
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 TransportListener
public void play()
TransportListener
play
in interface TransportListener
public void record(boolean rec)
TransportListener
record
in interface TransportListener
public void locate(long microseconds)
TransportListener
locate
in interface TransportListener
public boolean isPlaying()
Transport
isPlaying
in interface Transport
public boolean isRecording()
Transport
isRecording
in interface Transport
public void addTransportListener(TransportListener listener)
Transport
addTransportListener
in interface Transport
public void removeTransportListener(TransportListener listener)
Transport
removeTransportListener
in interface Transport
public long getMicrosecondLocation()
getMicrosecondLocation
in interface TimeSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |