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

RFE: Support getAsText and setAsText in all default editors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 1.2.0
    • client-libs
    • b10
    • generic
    • generic
    • Verified

        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)
        ======================================================================

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: