uk.org.toot.transport
Interface TransportListener

All Known Subinterfaces:
Transport
All Known Implementing Classes:
AbstractMMCMaster, DefaultTransport, TransportAdapter

public interface TransportListener

A TransportListener listens to a Transport. The Transport is either playing or stopped. It may be recording. If it's stopped, you SHOULD BE ABLE TO change the location.


Method Summary
 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 stop()
          Called when the transport has stopped.
 

Method Detail

stop

void stop()
Called when the transport has stopped.


play

void play()
Called when the transport begins playing.


record

void record(boolean rec)
Called when the transport record mode changes.


locate

void locate(long microseconds)
Called when the transport locates to a new microsecond time.



Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.