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

KeyCode.valueOf should be removed from public API

    XMLWordPrintable

    Details

      Description

      The KeyCode.valueOf(int code) method translates a numerical code to KeyCode reference. It's a complete nonsense to have this method public, it's even impossible to write a meaningful documentation for it, because user has no access to the numerical codes. The numerical value is part of contract between Toolkit and FX and is completely hidden for users - from user's point of view key code is always represented by the KeyCode reference.

        Attachments

          Activity

            People

            Assignee:
            psafrata Pavel Šafrata
            Reporter:
            psafrata Pavel Šafrata
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: