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

KeyCode.valueOf should be removed from public API

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: