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

Access Bridge: Provide external header files for new F key and control key support

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • None
    • client-libs

      The Java Access Bridge provided support for F keys and control keys used as accelerators. The key constants need to be added to AccessBridgePackages.h. Bit 8 (0 based) in the modifier field indicates and FKey has been pressed and Bit 9 indicates a control key has been pressed. In the first case the character field contains the F key pressed (1-24) and in the second case the character field contains the control key:

                   case KeyEvent.VK_BACK_SPACE:
                   case KeyEvent.VK_DELETE:
                   case KeyEvent.VK_DOWN:
                   case KeyEvent.VK_END:
                   case KeyEvent.VK_HOME:
                   case KeyEvent.VK_INSERT:
                   case KeyEvent.VK_KP_DOWN:
                   case KeyEvent.VK_KP_LEFT:
                   case KeyEvent.VK_KP_RIGHT:
                   case KeyEvent.VK_KP_UP:
                   case KeyEvent.VK_LEFT:
                   case KeyEvent.VK_PAGE_DOWN:
                   case KeyEvent.VK_PAGE_UP:
                   case KeyEvent.VK_RIGHT:
                   case KeyEvent.VK_UP:

      Those constants are from
      http://docs.oracle.com/javase/7/docs/api/constant-values.html#java.awt.event.KeyEvent.CHAR_UNDEFINED

      Suggested names of the modifier bits are ACCERSSIBLE_FKEY_KEYSTROKE and ACCESSIBLE_CONTROLKEY_KEYSTROKE.

            ptbrunet Pete Brunet (Inactive)
            ptbrunet Pete Brunet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: