Class DocumentEvent.EventType

java.lang.Object
javax.swing.event.DocumentEvent.EventType
Enclosing interface:
DocumentEvent
public static final class DocumentEvent.EventType extends Object
Enumeration for document event types

Field Summary

Modifier and Type Field Description
static final DocumentEvent.EventType CHANGE
Change type.
static final DocumentEvent.EventType INSERT
Insert type.
static final DocumentEvent.EventType REMOVE
Remove type.

Method Summary

Modifier and Type Method Description
String toString()
Converts the type to a string.

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Details

INSERT

public static final DocumentEvent.EventType INSERT
Insert type.

REMOVE

public static final DocumentEvent.EventType REMOVE
Remove type.

CHANGE

public static final DocumentEvent.EventType CHANGE
Change type.

Method Details

toString

public String toString()
Converts the type to a string.
Overrides:
toString in class Object
Returns:
the string

© 1993, 2021, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/javax/swing/event/DocumentEvent.EventType.html