软件包 | 描述 |
---|---|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.undo |
允许开发人员在应用程序中提供支持,如文本编辑器中的撤消/重做。
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDocument.DefaultDocumentEvent
当正在修改文档时,存储文档更改。
|
static class |
AbstractDocument.ElementEdit
一个实现elementchange可添加到文件事件。
|
static class |
DefaultStyledDocument.AttributeUndoableEdit
一个undoableedit用来记住attributeset改变元素。
|
Modifier and Type | Class and Description |
---|---|
class |
CompoundEdit
AbstractUndoableEdit的一个具体子类,用于组装成大的小undoableedits。
|
class |
StateEdit
stateedit是总编辑,改变对象的状态。
|
class |
UndoManager
UndoManager 管理
UndoableEdits 列表,提供一种方式来撤消或恢复适当的编辑。
|
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.