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

RFE: Support getAsText and setAsText in all default editors

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 7
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        Name: vi73552 Date: 03/22/99


        Its important that the default editors support the getAsText and
        setAsText methods. In my case, I'm using property editors to
        convert string values from an applet's HTML page into actual
        objects. Displaying a GUI object is inappropriate in this case.
        The code works for all classes, except Font and Color because the
        default editors for these classes don't implement the setAsText
        method (it throws IllegalArgumentException for every input).

        The Font and Color editors should accept strings in the same
        form as their corresponding "decode" method. The getAsText method
        will also need to be implemented.
        (Review ID: 55589)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                malenkov Sergey Malenkov (Inactive)
                Reporter:
                vasya Vassili Igouchkine (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: