Package | Description |
---|---|
javax.swing.event |
Provides for events fired by Swing components.
|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
Modifier and Type | Field and Description |
---|---|
static DocumentEvent.EventType |
DocumentEvent.EventType.CHANGE
Change type.
|
static DocumentEvent.EventType |
DocumentEvent.EventType.INSERT
Insert type.
|
static DocumentEvent.EventType |
DocumentEvent.EventType.REMOVE
Remove type.
|
Modifier and Type | Method and Description |
---|---|
DocumentEvent.EventType |
DocumentEvent.getType()
Gets the type of event.
|
Modifier and Type | Method and Description |
---|---|
DocumentEvent.EventType |
AbstractDocument.DefaultDocumentEvent.getType()
Returns the type of event.
|
Constructor and Description |
---|
DefaultDocumentEvent(int offs,
int len,
DocumentEvent.EventType type)
Constructs a change record.
|
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.