Package jmslexamples

Class TextJob

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

public class TextJob
extends MusicJob
TextJob.java A MusicJob subclass that has a drawing canvas on which it can draw messages. For testing scheduling without having to hear anything.
Author:
Phil Burk and Nick Didkovsky
  • Method Details

    • getState

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

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

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

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