com.softsynth.jmsl.score
Class UnaryCopyBufferTransformCommand

java.lang.Object
  extended by com.softsynth.jmsl.score.ScoreCommand
      extended by 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

Constructor Summary
UnaryCopyBufferTransformCommand(UnaryCopyBufferTransform transform)
           
 
Method Summary
 void execute()
          Calls transform.operate(Score.copyBuffer);
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void redo()
           
 void setName(java.lang.String n)
           
 void setScore(Score score)
           
 java.lang.String toString()
           
 void undo()
           
 
Methods inherited from class com.softsynth.jmsl.score.ScoreCommand
clone, getScore, isRedoable, isUndoable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnaryCopyBufferTransformCommand

public UnaryCopyBufferTransformCommand(UnaryCopyBufferTransform transform)
Method Detail

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)