uk.org.toot.transport
Class TransportAdapter

java.lang.Object
  extended by uk.org.toot.transport.TransportAdapter
All Implemented Interfaces:
TransportListener

public class TransportAdapter
extends java.lang.Object
implements TransportListener

A default concrete implementation of a TransportListener which has null implementations of each method. Typically used when only a few methods actually require an implementation.


Constructor Summary
TransportAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportAdapter

public TransportAdapter()
Method Detail

stop

public void stop()
Description copied from interface: TransportListener
Called when the transport has stopped.

Specified by:
stop in interface TransportListener

play

public void play()
Description copied from interface: TransportListener
Called when the transport begins playing.

Specified by:
play in interface TransportListener

record

public void record(boolean rec)
Description copied from interface: TransportListener
Called when the transport record mode changes.

Specified by:
record in interface TransportListener

locate

public void locate(long microseconds)
Description copied from interface: TransportListener
Called when the transport locates to a new microsecond time.

Specified by:
locate in interface TransportListener


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