软件包 | 描述 |
---|---|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.undo |
允许开发人员在应用程序中提供支持,如文本编辑器中的撤消/重做。
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDocument.DefaultDocumentEvent
当正在修改文档时,存储文档更改。
|
Modifier and Type | Class and Description |
---|---|
class |
UndoManager
UndoManager 管理
UndoableEdits 列表,提供一种方式来撤消或恢复适当的编辑。
|
Modifier and Type | Field and Description |
---|---|
protected CompoundEdit |
UndoableEditSupport.compoundEdit |
Modifier and Type | Method and Description |
---|---|
protected CompoundEdit |
UndoableEditSupport.createCompoundEdit()
只有从
beginUpdate 叫。
|
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.