Class AuthorUndoManager

All Implemented Interfaces:
Serializable, EventListener, UndoableEditListener, UndoableEdit

@API(type=NOT_EXTENDABLE, src=PUBLIC) public abstract class AuthorUndoManager extends UndoManager
Undo manager for Author edits. It allows to register listeners that are notified when undoable edits occur.
Since:
23.1
See Also:
  • Constructor Details

    • AuthorUndoManager

      public AuthorUndoManager()
  • Method Details

    • addUndoableEditListener

      public abstract void addUndoableEditListener(UndoableEditListener listener)
      Registers an UndoableEditListener. 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(UndoableEditListener listener)
      Remove a listener for undoable edits.
      Parameters:
      listener - The listener to be removed