软件包 | 描述 |
---|---|
javax.swing.event |
提供由摆动组件触发的事件。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
javax.swing.undo |
允许开发人员在应用程序中提供支持,如文本编辑器中的撤消/重做。
|
Modifier and Type | Method and Description |
---|---|
void |
UndoableEditListener.undoableEditHappened(UndoableEditEvent e)
一个撤消编辑发生
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDocument.fireUndoableEditUpdate(UndoableEditEvent e)
通知所有的听众,关于这一事件的类型通知已注册的兴趣。
|
Modifier and Type | Method and Description |
---|---|
protected void |
HTMLDocument.fireUndoableEditUpdate(UndoableEditEvent e)
通知所有的听众,关于这一事件的类型通知已注册的兴趣。
|
Modifier and Type | Method and Description |
---|---|
void |
UndoManager.undoableEditHappened(UndoableEditEvent e)
一个
UndoableEditListener 方法。
|
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.