Package ro.sync.ecss.extensions.api
Class AuthorUndoManager
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- javax.swing.undo.CompoundEdit
-
- javax.swing.undo.UndoManager
-
- ro.sync.ecss.extensions.api.AuthorUndoManager
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.EventListener
,javax.swing.event.UndoableEditListener
,javax.swing.undo.UndoableEdit
@API(type=NOT_EXTENDABLE, src=PUBLIC) public abstract class AuthorUndoManager extends javax.swing.undo.UndoManager
Undo manager for Author edits. It allows to register listeners that are notified when undoable edits occur.- Since:
- 23.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorUndoManager()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
addUndoableEditListener(javax.swing.event.UndoableEditListener listener)
Registers anUndoableEditListener
.abstract void
removeUndoableEditListener(javax.swing.event.UndoableEditListener listener)
Remove a listener for undoable edits.-
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
-
-
-
-
Method Detail
-
addUndoableEditListener
public abstract void addUndoableEditListener(javax.swing.event.UndoableEditListener listener)
Registers anUndoableEditListener
. The listener is notified when an edit occurs, with the previous undoable edit.- Parameters:
listener
- The listener to be added
-
removeUndoableEditListener
public abstract void removeUndoableEditListener(javax.swing.event.UndoableEditListener listener)
Remove a listener for undoable edits.- Parameters:
listener
- The listener to be removed
-
-