public class UndoStack
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UndoStack.UndoActionResult |
Modifier and Type | Field and Description |
---|---|
protected java.util.Stack<UndoAction> |
undoStack |
Constructor and Description |
---|
UndoStack() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
boolean |
hasAction() |
void |
push(UndoAction action) |
UndoStack.UndoActionResult |
undo() |
protected java.util.Stack<UndoAction> undoStack
public void dispose()
public void push(UndoAction action)
public boolean hasAction()
public UndoStack.UndoActionResult undo()