Class UndoManager

java.lang.Object
com.digitizer.ui.UndoManager

public class UndoManager extends Object
Simple undo/redo manager for dataset visibility and point edits.
  • Constructor Details

  • Method Details

    • setCanvasPanel

      public void setCanvasPanel(CanvasPanel cp)
    • push

      public void push(UndoManager.UndoableAction action)
    • canUndo

      public boolean canUndo()
    • canRedo

      public boolean canRedo()
    • peekUndoDescription

      public String peekUndoDescription()
      Returns a short description of the next undoable action, or empty string.
    • peekRedoDescription

      public 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

      public void addChangeListener(Runnable r)