public final class GlobalUndoableEdit extends AbstractUndoableEdit
RedoName, UndoName| Constructor and Description |
|---|
GlobalUndoableEdit(UndoHistoryItem item,
UndoHistoryItem previous,
Consumer<UndoHistoryItem> loader) |
| Modifier and Type | Method and Description |
|---|---|
void |
redo() |
void |
undo() |
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toStringpublic GlobalUndoableEdit(UndoHistoryItem item, UndoHistoryItem previous, Consumer<UndoHistoryItem> loader)
public void undo()
throws CannotUndoException
undo in interface UndoableEditundo in class AbstractUndoableEditCannotUndoExceptionpublic void redo()
throws CannotRedoException
redo in interface UndoableEditredo in class AbstractUndoableEditCannotRedoExceptionCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.