ur_rna.Utilities.swing

## Interface SimpleDocumentListener

- All Superinterfaces:
    javax.swing.event.DocumentListener, java.util.EventListener
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface SimpleDocumentListener
      extends javax.swing.event.DocumentListener

  Similar to TextDocListener, but this is lighter weight and allows for lambda syntax. Usage: `field.getDocument().addDocumentListener((SimpleDocumentListener) e -> { // handler code });`

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `changedUpdate(javax.swing.event.DocumentEvent e)`
    `default void` | `insertUpdate(javax.swing.event.DocumentEvent e)`
    `static void` | `listen(javax.swing.text.JTextComponent c, SimpleDocumentListener listener)`
    `default void` | `removeUpdate(javax.swing.event.DocumentEvent e)`
    `void` | `update(javax.swing.event.DocumentEvent e)`

- - ### Method Detail

    - #### changedUpdate

          default void changedUpdate(javax.swing.event.DocumentEvent e)

      Specified by:
        `changedUpdate` in interface `javax.swing.event.DocumentListener`

    - #### insertUpdate

          default void insertUpdate(javax.swing.event.DocumentEvent e)

      Specified by:
        `insertUpdate` in interface `javax.swing.event.DocumentListener`

    - #### listen

          static void listen(javax.swing.text.JTextComponent c,
                             SimpleDocumentListener listener)

    - #### removeUpdate

          default void removeUpdate(javax.swing.event.DocumentEvent e)

      Specified by:
        `removeUpdate` in interface `javax.swing.event.DocumentListener`

    - #### update

          void update(javax.swing.event.DocumentEvent e)