org.herac.tuxguitar.gui.undo.undoables.custom

Class UndoableChangeKeySignature

Implemented Interfaces:
UndoableEdit

public class UndoableChangeKeySignature
extends java.lang.Object
implements UndoableEdit

Fields inherited from interface org.herac.tuxguitar.gui.undo.UndoableEdit

REDO_ACTION, UNDO_ACTION

Method Summary

boolean
canRedo()
boolean
canUndo()
UndoableChangeKeySignature
endUndo(int keySignature, boolean toEnd)
void
redo()
static UndoableChangeKeySignature
startUndo()
void
undo()

Method Details

canRedo

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

canUndo

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

endUndo

public UndoableChangeKeySignature endUndo(int keySignature,
                                          boolean toEnd)

redo

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

startUndo

public static UndoableChangeKeySignature startUndo()

undo

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