com.softsynth.jmsl.util
Class InvertMusicShapeEditorOperator

java.lang.Object
  extended by com.softsynth.jmsl.util.InvertMusicShapeEditorOperator
All Implemented Interfaces:
Namable, MusicShapeEditorOperator

public class InvertMusicShapeEditorOperator
extends java.lang.Object
implements MusicShapeEditorOperator

Invert a range of a MusicShape about the inversion level set by user.

Author:
Nick Didkovsky, didkovn@mail.rockefeller.edu

Constructor Summary
InvertMusicShapeEditorOperator()
           
 
Method Summary
 java.lang.String getName()
           
 void operate(MusicShapeEditor se, MusicShape s)
          invert selected range of MusicShape
 void setName(java.lang.String n)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvertMusicShapeEditorOperator

public InvertMusicShapeEditorOperator()
Method Detail

operate

public void operate(MusicShapeEditor se,
                    MusicShape s)
invert selected range of MusicShape
 

Specified by:
operate in interface MusicShapeEditorOperator

getName

public java.lang.String getName()
Specified by:
getName in interface Namable

setName

public void setName(java.lang.String n)
Specified by:
setName in interface Namable