com.softsynth.jmsl.score
Class DeleteCommand

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

public class DeleteCommand
extends ScoreCommand

Undoable Delete. Stores deleted Notes in a Hashtable whose keys are Tracks and whose values are Vectors of deleted Note

Author:
Nick Didkovsky, (c) 2004 Nick Didkovsky, All rights reserved, didkovn@mail.rockefeller.edu

Constructor Summary
DeleteCommand()
           
 
Method Summary
 void execute()
           
 java.lang.String getName()
           
 boolean isRedoable()
           
 boolean isUndoable()
           
 void redo()
           
 void setName(java.lang.String n)
           
 void undo()
           
 
Methods inherited from class com.softsynth.jmsl.score.ScoreCommand
clone, getScore, setScore
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteCommand

public DeleteCommand()
Method Detail

execute

public void execute()

undo

public void undo()

redo

public void redo()

isUndoable

public boolean isUndoable()
Overrides:
isUndoable in class ScoreCommand

isRedoable

public boolean isRedoable()
Overrides:
isRedoable in class ScoreCommand

getName

public java.lang.String getName()

setName

public void setName(java.lang.String n)