DocumentEvent.EventType (Java SE 23 & JDK 23)
Description: declaration: module: java.desktop, package: javax.swing.event, interface: DocumentEvent, class: EventType
Keywords: javax.swing.event.DocumentEvent.EventType class

# 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

  Fields
  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