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

Proper keyboard navigation must be verified on JTable for the JLF LAF

    XMLWordPrintable

Details

    • 1.2.2
    • generic, unknown
    • generic, solaris_2.4

    Description

      The following navigation, activation and selection keyboard bindings on JTable need verification for proper operation and key binding sequences.

      JTable

         Navigate In - Tab, shift-tab, control-tab, shift-control-tab
         Navigate Out - Control-tab, shift-control-tab (reverses direction)
         Navigate within -
                      The discussion below is for a table (such as a typical
                      spreadsheet) that allows identified or editable cell
                      rectangle selection. Keyboard navigation will be
                      simplified for the other, more restricted, cases.
                      
              Return/shift-return - move focus one cell down/up. If only one
                      cell is selected, the focus should wrap (top to bottom,
                      left to right, and then back to the top, left cell for
                      return) so as to traverse the entire table. If more
                      than one cell is selected, the focus should wrap to
                      traverse each selected rectangle in turn and then
                      repeat from the beginning. Shift-return is similar but
                      moves in the reverse direction.
              Tab/shift-tab - move focus one cell right/left. If only one
                      cell is selected, the focus should wrap (left to right,
                      top to bottom and then back to the top, left cell for
                      tab) so as to traverse the entire table. If more than
                      one cell is selected, the focus should wrap to traverse
                      each selected rectangle in turn and then repeat from
                      the beginning. Shift-tab is similar but moves in the
                      reverse direction.
              Up/down arrow - deselect current selection; move focus one cell up/down
              Left/right arrow - deselect current selection; move focus one cell
                                 left/right
              PageUp/PageDown - deselect current selection; scroll up/down one
                                JViewport view; first visible cell in current
                                column gets focus
              Control-PageUp/PageDown - deselect current selection; scroll
                                        left/right one JViewport view; first
                                        visible cell in current row gets
                                        focus
              Home/end - deselect current selection; move focus and view to
                         first/last cell in current row
              Control-home/end - deselect current selection; move focus and view to
                                 upper-left/lower-right cell in table

         Editing Cells
              F2 - Allows editing in a cell containing information without
                   overwriting the information
              Esc - Resets the cell content back to the state it was in before
                    editing started

         Extending Selections in Tables
              Ctrl+A, Ctrl+/ = Select all
              Ctrl+\ = De-select all
              Shift-up/down arrow - extend selection up/down one row
              Shift-left/right arrow - extend selection left/right one column
              Control-shift up/down arrow - extend selection to top/bottom of column
              Shift-home/end - extend selection to left/right end of row
              Control-shift-home/end - extend selection to beginning/end of data
              Shift-PageUp/PageDown - extend selection up/down one view and scroll
                                      table
              Control-shift-PageUp/PageDown - extend selection left/right one view
                                              and scroll table


      earl.johnson@Eng 1998-10-27

      Attachments

        Issue Links

          Activity

            People

              pmilnesunw Philip Milne (Inactive)
              ejohnsonsunw Earl Johnson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: