Class NotePropertiesTransformCommand

java.lang.Object
com.softsynth.jmsl.score.ScoreCommand
com.softsynth.jmsl.score.NotePropertiesTransformCommand
All Implemented Interfaces:
Namable, Command, Undoable, java.lang.Cloneable

public class NotePropertiesTransformCommand
extends ScoreCommand
implements java.lang.Cloneable
Before operating, load a hashtable of original notes as keys pointing to their clones. Use the clones to copy properties back to the originals for undo
Author:
Nick Didkovsky, (c) 2004 All rights reserved, Email: nick@didkovsky.com
  • Constructor Details

  • Method Details

    • setScore

      public void setScore​(Score score)
      Overrides:
      setScore in class ScoreCommand
    • execute

      public void execute()
      Specified by:
      execute in interface Command
    • undo

      public void undo()
      Specified by:
      undo in interface Undoable
    • redo

      public void redo()
      Specified by:
      redo in interface Undoable
    • isUndoable

      public boolean isUndoable()
      Overrides:
      isUndoable in class ScoreCommand
    • isRedoable

      public boolean isRedoable()
      Overrides:
      isRedoable in class ScoreCommand
    • 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
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • main

      public static void main​(java.lang.String[] args)