Class InsertMeasureCommand

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

public class InsertMeasureCommand
extends ScoreCommand
  • Constructor Details

    • InsertMeasureCommand

      public InsertMeasureCommand​(Score score, int index)
  • 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
    • getInsertedMeasureIndex

      public int getInsertedMeasureIndex()
      find out what the seleceed index was when insert measure was called
    • getInsertedMeasure

      public Measure getInsertedMeasure()