com.netbreeze.swing
Class PlayStopController

java.lang.Object
  |
  +--com.netbreeze.swing.PlayStopController

public class PlayStopController
extends java.lang.Object

This class controls a play and stop button so that they act consistently. The PlayStopController has four possible states:

- play = play button on, stop button off
- stop = play button off, stop button on
- willPlay = play button blink, stop button on
- willStop = play button on, stop button blink

Version:
1.0
Author:
Henrik
See Also:
PlayButton, StopButton

Constructor Summary
PlayStopController(PlayButton play, StopButton stop)
           
 
Method Summary
 void setPlay()
           
 void setStop()
           
 void setWillPlay()
           
 void setWillStop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayStopController

public PlayStopController(PlayButton play,
                          StopButton stop)
Method Detail

setPlay

public void setPlay()

setStop

public void setStop()

setWillPlay

public void setWillPlay()

setWillStop

public void setWillStop()