Class CrescTransform

java.lang.Object
com.softsynth.jmsl.score.NotePropertiesTransform
com.softsynth.jmsl.score.transforms.CrescTransform

public class CrescTransform
extends NotePropertiesTransform
(De)Cresce/un(De)cresc selected Notes.
Author:
Nick Didkovsky, copyright 2002 Nick Didkovsky, all rights reserved
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String copyright  
  • Constructor Summary

    Constructors
    Constructor Description
    CrescTransform​(boolean cresc)  
  • Method Summary

    Modifier and Type Method Description
    void operate​(Score score, SelectionBuffer selectionBuffer)
    If any are cresced or decresced, undo all.

    Methods inherited from class com.softsynth.jmsl.score.NotePropertiesTransform

    getName, setName

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • CrescTransform

      public CrescTransform​(boolean cresc)
  • Method Details

    • operate

      public void operate​(Score score, SelectionBuffer selectionBuffer)
      If any are cresced or decresced, undo all. Else go through all elements and set Notes set(De)CrescOut(true), until a track changes. The last note of such a break is set(De)CrescOut(false); This way, selections across staffs are ok.
      Specified by:
      operate in class NotePropertiesTransform