Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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 and Description
 void DefaultStyledDocument.AttributeUndoableEdit.undo()
          Undoes a change.
 void AbstractDocument.DefaultDocumentEvent.undo()
          Undoes a change.
 void AbstractDocument.ElementEdit.undo()
          Undoes a change.
 

Uses of CannotUndoException in javax.swing.undo
 

Methods in javax.swing.undo that throw CannotUndoException
Modifier and Type Method and Description
 void UndoManager.undo()
          Undoes the appropriate edits.
 void AbstractUndoableEdit.undo()
          Throws CannotUndoException if canUndo returns false.
 void CompoundEdit.undo()
          Sends undo to all contained UndoableEdits in the reverse of the order in which they were added.
 void UndoableEdit.undo()
          Undo the edit.
 void UndoManager.undoOrRedo()
          Convenience method that invokes one of undo or redo.
protected  void UndoManager.undoTo(UndoableEdit edit)
          Undoes all changes from the index of the next edit to edit, updating the index of the next edit appropriately.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.