de.caff.gimmicks.swing

## Class FormattingHelper

- java.lang.Object
- - de.caff.gimmicks.swing.FormattingHelper

-     public class FormattingHelper
      extends java.lang.Object

  Helper methods for formatting.
  Author:
    Rammi

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.awt.Color` | `INVALID_BACKGROUND`
    `static java.lang.String` | `PROPERTY_EDIT_VALID` The value property of a `JFormattedTextField`.

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `installValidityHinter(javax.swing.JFormattedTextField textField)` Install a visual hinter for validity of a formatted text field.

    - ### Methods inherited from class java.lang.Object

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

- - ### Field Detail

    - #### PROPERTY_EDIT_VALID

          public static final java.lang.String PROPERTY_EDIT_VALID

      The value property of a `JFormattedTextField`.
      See Also:
        Constant Field Values

    - #### INVALID_BACKGROUND

          public static final java.awt.Color INVALID_BACKGROUND

  - ### Method Detail

    - #### installValidityHinter

          public static void installValidityHinter(@NotNull
                                                   javax.swing.JFormattedTextField textField)

      Install a visual hinter for validity of a formatted text field. This will make the background light red when the field is invalid.
      Parameters:
        `textField` - text field where the hinter is install