Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

Uses of Class
javax.swing.undo.CannotUndoException

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 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 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 AbstractUndoableEdit.undo()
          Throws CannotUndoException if canUndo returns false.
 


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.