Class DocumentEvent.EventType

Enclosing interface:
DocumentEvent

public static final class DocumentEvent.EventType
extends Object

Enumeration for document event types

Fields

Modifier and Type Field and Description
static DocumentEvent.EventType CHANGE

Change type.

static DocumentEvent.EventType INSERT

Insert type.

static DocumentEvent.EventType REMOVE

Remove type.

Methods

Modifier and Type Method and Description
String toString()

Converts the type to a string.

Methods inherited from class java.lang.Object

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

Fields

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.

Methods

toString

public String toString()

Converts the type to a string.

Overrides:
toString in class Object
Returns:
the string

© 1993, 2020, 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/javase/8/docs/api/javax/swing/event/DocumentEvent.EventType.html