站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class javax.swing.undo.CannotUndoException - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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 Provides support for undo/redo capabilities in an application such as a text editor. 
 

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.
 void DefaultStyledDocument.AttributeUndoableEdit.undo()
          Undoes a change.
 

Uses of CannotUndoException in javax.swing.undo
 

Methods in javax.swing.undo that throw CannotUndoException
 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.
protected  void UndoManager.undoTo(UndoableEdit edit)
          Undoes all changes from indexOfNextAdd to edit.
 void UndoManager.undoOrRedo()
          Undo or redo as appropriate.
 void UndoManager.undo()
          If this UndoManager is inProgress, undo the last significant UndoableEdit before indexOfNextAdd, and all insignificant edits back to it.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.