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

Class UndoableChangeTimeSignature

Implemented Interfaces:
UndoableEdit

public class UndoableChangeTimeSignature
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()
UndoableChangeTimeSignature
endUndo(TimeSignature timeSignature, boolean toEnd)
void
redo()
static UndoableChangeTimeSignature
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 UndoableChangeTimeSignature endUndo(TimeSignature timeSignature,
                                           boolean toEnd)

redo

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

startUndo

public static UndoableChangeTimeSignature startUndo()

undo

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