org.herac.tuxguitar.gui.undo.undoables.measure
Class UndoableReplaceMeasures

java.lang.Object
  extended by org.herac.tuxguitar.gui.undo.undoables.measure.UndoableReplaceMeasures
All Implemented Interfaces:
UndoableEdit

public class UndoableReplaceMeasures
extends java.lang.Object
implements UndoableEdit


Field Summary
 
Fields inherited from interface org.herac.tuxguitar.gui.undo.UndoableEdit
REDO_ACTION, UNDO_ACTION
 
Constructor Summary
UndoableReplaceMeasures(int p1, int p2, int toTrack)
           
 
Method Summary
 boolean canRedo()
           
 boolean canUndo()
           
 UndoableReplaceMeasures endUndo(TGSongSegment tracksMeasures, int count, int freeSpace, long theMove)
           
 void redo()
           
 void undo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UndoableReplaceMeasures

public UndoableReplaceMeasures(int p1,
                               int p2,
                               int toTrack)
Method Detail

redo

public void redo()
          throws CannotRedoException
Specified by:
redo in interface UndoableEdit
Throws:
CannotRedoException

undo

public void undo()
          throws CannotUndoException
Specified by:
undo in interface UndoableEdit
Throws:
CannotUndoException

canRedo

public boolean canRedo()
Specified by:
canRedo in interface UndoableEdit

canUndo

public boolean canUndo()
Specified by:
canUndo in interface UndoableEdit

endUndo

public UndoableReplaceMeasures endUndo(TGSongSegment tracksMeasures,
                                       int count,
                                       int freeSpace,
                                       long theMove)