Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8090453

Provide some useful TextInputControl.Formatter implementations

    XMLWordPrintable

Details

    Description

      After RT-14000 is fixed, we should add some basic Formatter implementations to cover the most common cases.

      Some ideas:
      * A formatter (or just a StringConverter) that uses toString and valueOf methods (or constructor) - similar to DefaultFormatter in swing.
      * A formatter that uses java.text.Format or StringConverter
      * Predefined formatters for currency, date, numbers (?) - we have Format instances for that, but can we make it more convenient than that?
      * javax.swing.text.MaskFormatter equivalent.
      * Regexp formatter or only a filter

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              msladecek Martin Sládeček
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Imported: