Class OctavaTransform

  extended by com.softsynth.jmsl.score.NotePropertiesTransform
      extended by com.softsynth.jmsl.score.transforms.OctavaTransform

public class OctavaTransform
extends NotePropertiesTransform

8va/8vb selected Notes.

Nick Didkovsky, copyright 2002 Nick Didkovsky, all rights reserved

Field Summary
static java.lang.String copyright
Constructor Summary
OctavaTransform(boolean octava)
Method Summary
 void operate(Score score, SelectionBuffer selectionBuffer)
          If any are 8va'ed or 8vb'ed, 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 Detail


public static final java.lang.String copyright
See Also:
Constant Field Values
Constructor Detail


public OctavaTransform(boolean octava)
Method Detail


public void operate(Score score,
                    SelectionBuffer selectionBuffer)
If any are 8va'ed or 8vb'ed, undo all. Else go through all elements and set Notes set8va(8vb)Out(true), until a track changes. The last note of such a break is set8va(8vb)Out(false); This way, selections across staffs are ok.

Specified by:
operate in class NotePropertiesTransform