Class TextJob

  extended by com.softsynth.jmsl.MusicJob
      extended by jmslexamples.TextJob
All Implemented Interfaces:
Composable, Playable, java.lang.Runnable

public class TextJob
extends MusicJob A MusicJob subclass that has a drawing canvas on which it can draw messages. For testing scheduling without having to hear anything.

Phil Burk and Nick Didkovsky

Field Summary
Fields inherited from class com.softsynth.jmsl.MusicJob
Method Summary
 boolean getState()
          return the "state" of the TextJob, used for reversing color, for example
 void printMsg()
          paint TextJob's private message to canvas
 void reverseState()
          reverse the boolean state of the TextJob
 void setColor(java.awt.Color kolor)
          set the drawing color
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, repeat, 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

Method Detail


public boolean getState()
return the "state" of the TextJob, used for reversing color, for example


public void reverseState()
reverse the boolean state of the TextJob


public void setColor(java.awt.Color kolor)
set the drawing color


public void printMsg()
paint TextJob's private message to canvas