Class 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
    • Field Summary

      • Fields inherited from class javax.swing.undo.CompoundEdit

        edits
      • Fields inherited from class javax.swing.undo.AbstractUndoableEdit

        RedoName, UndoName
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void addUndoableEditListener​(javax.swing.event.UndoableEditListener listener)
      Registers an UndoableEditListener.
      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
      • Methods inherited from class javax.swing.undo.CompoundEdit

        die, getPresentationName, isInProgress, isSignificant, lastEdit
      • Methods inherited from class javax.swing.undo.AbstractUndoableEdit

        replaceEdit
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AuthorUndoManager

        public AuthorUndoManager()
    • Method Detail

      • addUndoableEditListener

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