Class DeleteMeasureCommand

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

public class DeleteMeasureCommand
extends ScoreCommand
  • Constructor Details

    • DeleteMeasureCommand

      public DeleteMeasureCommand​(Measure measure)
  • Method Details

    • execute

      public void execute()
    • undo

      public void undo()
    • redo

      public void redo()
    • getName

      public java.lang.String getName()
    • setName

      public void setName​(java.lang.String n)
    • isUndoable

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

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

      public int getDeletedMeasureIndex()
      find out what the seleceed index was when delete measure was called
    • getDeletedMeasure

      public Measure getDeletedMeasure()