com.softsynth.jmsl.score
Class UnaryCopyBufferTransformCommand
java.lang.Object
com.softsynth.jmsl.score.ScoreCommand
com.softsynth.jmsl.score.UnaryCopyBufferTransformCommand
- All Implemented Interfaces:
- Namable, Command, Undoable, java.lang.Cloneable
public class UnaryCopyBufferTransformCommand
- extends ScoreCommand
- implements java.lang.Cloneable
- Author:
- Nick Didkovsky, (c) 2004 All rights reserved, Email:
didkovn@mail.rockefeller.edu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnaryCopyBufferTransformCommand
public UnaryCopyBufferTransformCommand(UnaryCopyBufferTransform transform)
setScore
public void setScore(Score score)
- Overrides:
setScore
in class ScoreCommand
execute
public void execute()
- Calls transform.operate(Score.copyBuffer);
- 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
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)