com.softsynth.jmsl.score.transforms
Class BeamTransform

java.lang.Object
  extended by com.softsynth.jmsl.score.NotePropertiesTransform
      extended by com.softsynth.jmsl.score.transforms.BeamTransform

public class BeamTransform
extends NotePropertiesTransform

Beam/unbeam selected Notes.

Author:
Nick Didkovsky, copyright 2000 Nick Didkovsky, all rights reserved

Field Summary
static java.lang.String copyright
           
 
Constructor Summary
BeamTransform()
          A constructor that sets this.name = "Beam"
 
Method Summary
 void operate(Score score, SelectionBuffer selectionBuffer)
          If any are beamed, unbeam 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

copyright

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

BeamTransform

public BeamTransform()
A constructor that sets this.name = "Beam"

Method Detail

operate

public void operate(Score score,
                    SelectionBuffer selectionBuffer)
If any are beamed, unbeam all. Else go through all elements and set Notes setBeamedOut(true), until a track changes or a measure break is encountered. The last note of such a break is setBeamedOut(false); This way, selections across staffs and measures are handled.

Specified by:
operate in class NotePropertiesTransform