javax.swing.undo
Class MyUndoManager
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
javax.swing.undo.UndoManager
javax.swing.undo.MyUndoManager
- All Implemented Interfaces:
- Serializable, EventListener, UndoableEditListener, UndoableEdit
- Direct Known Subclasses:
- UndoManagerBase
public class MyUndoManager
- extends UndoManager
Pimp UndoManager a bit.
- Version:
- $Id: MyUndoManager.java 1031 2009-07-23 15:06:05Z mro $
- Author:
- M. Rohrmoser
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.undo.UndoManager |
addEdit, canRedo, canUndo, canUndoOrRedo, discardAllEdits, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redo, redoTo, setLimit, toString, trimEdits, trimForLimit, undo, undoableEditHappened, undoOrRedo, undoTo |
MyUndoManager
public MyUndoManager()
getEdits
public List<UndoableEdit> getEdits()
- Get the
Collections.unmodifiableList(List) view of
CompoundEdit#edits.
getIndexOfNextAdd
public int getIndexOfNextAdd()
- Get
UndoManager#indexOfNextAdd. That's the reason for the ugly
package name.
Copyright © 2005-2009 jcurl.org. All Rights Reserved.