com.softsynth.jmsl.view
Class ClockTicker

java.lang.Object
  extended by com.softsynth.jmsl.MusicJob
      extended by com.softsynth.jmsl.view.ClockTicker
All Implemented Interfaces:
Composable, Playable, java.lang.Runnable

public class ClockTicker
extends MusicJob

MusicJob which acts like a simple hh:mm:ss timer

Author:
Nick Didkovsky

Field Summary
 
Fields inherited from class com.softsynth.jmsl.MusicJob
repeatCount
 
Constructor Summary
ClockTicker(double totalDuration, PVLabel label)
           
 
Method Summary
 double repeat(double playTime)
          This will be called N times based on the setRepeat(N) Override this for custom operation.
 void setCountDown(boolean f)
           
 
Methods inherited from class com.softsynth.jmsl.MusicJob
add, addPlayLurker, addRepeatPlayable, addStartPlayable, addStopPlayable, advanceCurrentTime, contains, elements, finish, finishAll, getChild, getChildren, getCurrentTime, getDataTranslator, getDuration, getInstrument, getName, getParent, getPlayLurkers, getRepeatCount, getRepeatPause, getRepeats, getStartDelay, getStartPause, getStartTime, getStopDelay, getTimeStretch, getTransposition, halt, indexOf, insert, internalRepeat, isRunning, launch, launch, main, play, play, print, printHierarchy, printHierarchy, remove, remove, removeAll, removeAllPlayLurkers, removeAllRepeatPlayables, removeAllStartPlayables, removeAllStopPlayables, removePlayLurker, removeRepeatPlayable, removeStartPlayable, removeStopPlayable, run, setCurrentTime, setDataTranslator, setDuration, setInstrument, setName, setParent, setRepeatPause, setRepeats, setStartDelay, setStartPause, setStartTime, setStopDelay, setTimeStretch, setTransposition, size, start, stop, timeStretch, transposition, waitForDone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClockTicker

public ClockTicker(double totalDuration,
                   PVLabel label)
Method Detail

setCountDown

public void setCountDown(boolean f)

repeat

public double repeat(double playTime)
Description copied from class: MusicJob
This will be called N times based on the setRepeat(N) Override this for custom operation. Called immediately after internalRepeat() called.

Specified by:
repeat in interface Composable
Overrides:
repeat in class MusicJob
Returns:
stopTime