Uses of Class
javax.swing.undo.CannotUndoException
-
Packages that use CannotUndoException Package Description javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components.javax.swing.undo 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 Modifier and Type Method Description voidAbstractDocument.DefaultDocumentEvent. undo()Undoes a change.voidAbstractDocument.ElementEdit. undo()Undoes a change.voidDefaultStyledDocument.AttributeUndoableEdit. undo()Undoes a change. -
Uses of CannotUndoException in javax.swing.undo
Methods in javax.swing.undo that throw CannotUndoException Modifier and Type Method Description voidAbstractUndoableEdit. 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.
-