接口 | 描述 |
---|---|
StateEditable |
stateeditable为对象定义了一个接口,可以通过stateedit国家撤消/重做。
|
UndoableEdit |
一个
UndoableEdit 代表编辑。
|
类 | 描述 |
---|---|
AbstractUndoableEdit |
UndoableEdit 的抽象实现,实现简单,界面反应的布尔方法。
|
CompoundEdit |
AbstractUndoableEdit的一个具体子类,用于组装成大的小undoableedits。
|
StateEdit |
stateedit是总编辑,改变对象的状态。
|
UndoableEditSupport |
一个支持类用于管理
UndoableEdit 听众。
|
UndoManager |
UndoManager 管理
UndoableEdits 列表,提供一种方式来撤消或恢复适当的编辑。
|
异常 | 描述 |
---|---|
CannotRedoException |
当一个undoableedit告诉
redo() 和不能。
|
CannotUndoException |
当一个undoableedit告诉
undo() 和不能。
|
注:大多数Swing API不是线程安全的。详情见Threads and Swing,java教程中的一部分。
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.