Package com.softsynth.jmsl.score
Class NotePropertiesTransformCommand
java.lang.Object
com.softsynth.jmsl.score.ScoreCommand
com.softsynth.jmsl.score.NotePropertiesTransformCommand
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 Summary
Constructors Constructor Description NotePropertiesTransformCommand(NotePropertiesTransform transform)
-
Method Summary
Methods inherited from class com.softsynth.jmsl.score.ScoreCommand
clone, getScore
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
NotePropertiesTransformCommand
-
-
Method Details
-
setScore
- Overrides:
setScore
in classScoreCommand
-
execute
public void execute() -
undo
public void undo() -
redo
public void redo() -
isUndoable
public boolean isUndoable()- Overrides:
isUndoable
in classScoreCommand
-
isRedoable
public boolean isRedoable()- Overrides:
isRedoable
in classScoreCommand
-
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String n) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
main
public static void main(java.lang.String[] args)
-