public class UndoAndRedo extends Object implements UndoableEditListener
UndoManager
which provides a more lean and application-oriented interface.Constructor and Description |
---|
UndoAndRedo() |
Modifier and Type | Method and Description |
---|---|
Action |
getRedoAction()
Returns an Action that can be used for Redo.
|
Action |
getUndoAction()
Returns an Action that can be used for Undo.
|
void |
undoableEditHappened(UndoableEditEvent e) |
public void undoableEditHappened(UndoableEditEvent e)
undoableEditHappened
in interface UndoableEditListener
public Action getUndoAction()
public Action getRedoAction()
Copyright © 2016 Nelkinda Software Craft Pvt Ltd. All rights reserved.