UndoManager

util.UndoManager
class UndoManager

Executes commands and keeps an undo and redo stack to undo and redo commands.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def doStep(command: Command): Unit

Executes a command and puts it onto the undo stack.

Executes a command and puts it onto the undo stack.

Value parameters

command

command to execute

Attributes

def redoStep(): Unit

Redoes the last undone command and puts it onto the undo stack.

Redoes the last undone command and puts it onto the undo stack.

Attributes

def undoStep(): Unit

Undoes the last executed command and puts it onto the redo stack.

Undoes the last executed command and puts it onto the redo stack.

Attributes