Package jmsltestsuite

Class MusicGlyphRendererTestSimple

java.lang.Object
jmsltestsuite.MusicGlyphRendererTestSimple
All Implemented Interfaces:
MusicGlyphRendererProxyListener

public class MusicGlyphRendererTestSimple
extends java.lang.Object
implements MusicGlyphRendererProxyListener
JMSL Score lets you add custom music glyph renderers, that might use a real music font for example. Here we test two such renderers, one that uses Sonata music font for most glyphs, but gives the priority to another renderer for microtonal accidentals (Accidentals font by Matthew Hindson, see http://www.hindson.com.au/wordpress/free-fonts-available-for-download/ The order you add MusicGlyphRenderers to JMSL determines the priority. The first renderer to successfully render a glyph returns true and stops the chain. If they all fall through or if none exist, JMSL uses line drawing routines. Test SonataMusicGlyphRenderer and AccidentalsMusicGlyphRenderer
  • Constructor Summary

    Constructors
    Constructor Description
    MusicGlyphRendererTestSimple()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)  
    void notifyRenderMusicGlyph​(java.lang.String msg)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MusicGlyphRendererTestSimple

      public MusicGlyphRendererTestSimple()
  • Method Details