Uses of Class
javax.swing.undo.CannotUndoException
Packages that use CannotUndoException
Package
Description
Provides classes and interfaces that deal with editable and noneditable text
components.
Allows developers to provide support for undo/redo in applications such as
text editors.
-
Uses of CannotUndoException in javax.swing.text
Methods in javax.swing.text that throw CannotUndoException -
Uses of CannotUndoException in javax.swing.undo
Methods in javax.swing.undo that throw CannotUndoExceptionModifier and TypeMethodDescriptionvoidAbstractUndoableEdit.undo()ThrowsCannotUndoExceptionifcanUndoreturnsfalse.voidCompoundEdit.undo()Sendsundoto all containedUndoableEditsin the reverse of the order in which they were added.voidUndoableEdit.undo()Undo the edit.voidUndoManager.undo()Undoes the appropriate edits.voidUndoManager.undoOrRedo()Convenience method that invokes one ofundoorredo.protected voidUndoManager.undoTo(UndoableEdit edit) Undoes all changes from the index of the next edit toedit, updating the index of the next edit appropriately.