| 软件包 | 描述 | 
|---|---|
| javax.swing.event | 
           提供Swing组件触发的事件。 
          | 
| javax.swing.text | 
           提供处理可编辑和不可编辑文本组件的类和接口。 
          | 
| javax.swing.undo | 
           允许开发人员在文本编辑器等应用程序中提供撤消/重做的支持。 
          | 
| Class and Description | 
|---|
| UndoableEdit 
           一个 
           UndoableEdit代表一个编辑。 | 
| Class and Description | 
|---|
| AbstractUndoableEdit 
           UndoableEdit的抽象实现, 
           UndoableEdit对该接口中所有布尔方法的简单响应。 | 
| CannotRedoException 
           抛出一个UndoableEdit被告知 
           redo()并且不能。 | 
| CannotUndoException 
           抛出一个UndoableEdit被告知 
           undo()并且不能。 | 
| CompoundEdit 
           AbstractUndoableEdit的一个具体子类,用于将小的UndoableEdits组合成大型的。 
          | 
| UndoableEdit 
           一个 
           UndoableEdit代表一个编辑。 | 
| Class and Description | 
|---|
| AbstractUndoableEdit 
           UndoableEdit的抽象实现, 
           UndoableEdit对该接口中所有布尔方法的简单响应。 | 
| CannotRedoException 
           抛出一个UndoableEdit被告知到 
           redo()并且不能。 | 
| CannotUndoException 
           抛出一个UndoableEdit被告知 
           undo()并且不能。 | 
| CompoundEdit 
           AbstractUndoableEdit的一个具体子类,用于将小的UndoableEdits组合成大型的。 
          | 
| StateEditable 
           StateEditable定义了可以通过StateEdit使其状态撤消/重做的对象的接口。 
          | 
| UndoableEdit 
           一个 
           UndoableEdit代表一个编辑。 | 
 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, 2014, Oracle and/or its affiliates. All rights reserved.