| 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CannotUndoException | |
|---|---|
| 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 | |
|---|---|
 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 | |
|---|---|
 void | 
UndoManager.undo()
If this UndoManager is inProgress, undo the last significant UndoableEdit before indexOfNextAdd, and all insignificant edits back to it.  | 
 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 that was made.  | 
 void | 
UndoManager.undoOrRedo()
Undo or redo as appropriate.  | 
protected  void | 
UndoManager.undoTo(UndoableEdit edit)
Undoes all changes from indexOfNextAdd to edit.  | 
  | 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.