JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Class
javax.swing.undo.CannotRedoException

Packages that use CannotRedoException
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.undo Provides support for undo/redo capabilities in an application such as a text editor. 
 

Uses of CannotRedoException in javax.swing.text
 

Methods in javax.swing.text that throw CannotRedoException
 void AbstractDocument.DefaultDocumentEvent.redo()
          Redoes a change.
 void AbstractDocument.ElementEdit.redo()
          Redoes a change.
 void DefaultStyledDocument.AttributeUndoableEdit.redo()
          Redoes a change.
 

Uses of CannotRedoException in javax.swing.undo
 

Methods in javax.swing.undo that throw CannotRedoException
 void AbstractUndoableEdit.redo()
          Throws CannotRedoException if canRedo() returns false.
 void CompoundEdit.redo()
          Sends redo() to all contained UndoableEdits in the order in which they were added.
protected  void UndoManager.redoTo(UndoableEdit edit)
          Redoes all changes from indexOfNextAdd to edit.
 void UndoManager.undoOrRedo()
          Undo or redo as appropriate.
 void UndoManager.redo()
          If this UndoManager is inProgress, redoes the last significant UndoableEdit at indexOfNextAdd or after, and all insignificant edits up to it.
 void UndoableEdit.redo()
          Re-apply the edit, assuming that it has been undone.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

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

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.