软件包 | 描述 |
---|---|
javax.swing.event |
提供由摆动组件触发的事件。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Field and Description |
---|---|
static DocumentEvent.EventType |
DocumentEvent.EventType.CHANGE
变化类型。
|
static DocumentEvent.EventType |
DocumentEvent.EventType.INSERT
插入式。
|
static DocumentEvent.EventType |
DocumentEvent.EventType.REMOVE
拆卸式。
|
Modifier and Type | Method and Description |
---|---|
DocumentEvent.EventType |
DocumentEvent.getType()
获取事件的类型。
|
Modifier and Type | Method and Description |
---|---|
DocumentEvent.EventType |
AbstractDocument.DefaultDocumentEvent.getType()
返回事件的类型。
|
Constructor and Description |
---|
DefaultDocumentEvent(int offs, int len, DocumentEvent.EventType type)
构造一个更改记录。
|
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.