Package com.digitizer.ui
Class UndoManager
java.lang.Object
com.digitizer.ui.UndoManager
Simple undo/redo manager for dataset visibility and point edits.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancanRedo()booleancanUndo()voidclear()Returns a short description of the next redoable action, or empty string.Returns a short description of the next undoable action, or empty string.voidpush(UndoManager.UndoableAction action) voidredo()voidvoidundo()
-
Constructor Details
-
UndoManager
-
-
Method Details
-
setCanvasPanel
-
push
-
canUndo
public boolean canUndo() -
canRedo
public boolean canRedo() -
peekUndoDescription
Returns a short description of the next undoable action, or empty string. -
peekRedoDescription
Returns a short description of the next redoable action, or empty string. -
undo
public void undo() -
redo
public void redo() -
clear
public void clear() -
addChangeListener
-