uk.org.toot.transport
Interface Transport

All Superinterfaces:
TimeSource, TransportListener
All Known Implementing Classes:
DefaultTransport

public interface Transport
extends TransportListener, TimeSource

Transport is either playing or stopped. If it's stopped, you SHOULD BE ABLE TO change the location.


Method Summary
 void addTransportListener(TransportListener listener)
          Add a TransportListener to this Transport.
 boolean isPlaying()
          Reports whether this Transport is playing.
 boolean isRecording()
          Reports whether this Transport is recording.
 void removeTransportListener(TransportListener listener)
          Removes a TransportListener from this Transport.
 
Methods inherited from interface uk.org.toot.transport.TransportListener
locate, play, record, stop
 
Methods inherited from interface uk.org.toot.transport.TimeSource
getMicrosecondLocation
 

Method Detail

addTransportListener

void addTransportListener(TransportListener listener)
Add a TransportListener to this Transport.


removeTransportListener

void removeTransportListener(TransportListener listener)
Removes a TransportListener from this Transport.


isPlaying

boolean isPlaying()
Reports whether this Transport is playing.


isRecording

boolean isRecording()
Reports whether this Transport is recording.



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