Spec-Zone .ru
спецификации, руководства, описания, API
|
This page gives the Motif-style keystroke-actions for:
Note:
Where the implementation occurs in other than the obvious Look and Feel (L&F) class, the implementing class
is shown in parentheses. For example: (DefaultFocusManager). Currently implemented keystrokes that are not to spec
are shown in ALL CAPS.
Component | Action | Intended Key | Implemented |
---|---|---|---|
JComboBox (Motif L&F) |
Navigate out forward | Tab | yes (DefaultFocusManager) |
Navigate out backward | Shift+Tab | yes (DefaultFocusManager) | |
Post menu | Down, Spacebar | ||
Alt+Down | yes (JComboBox) | ||
Retract menu | Esc | yes (JComboBox) | |
Alt+Up | yes (JComboBox) | ||
Toggle menu up or down | Alt+Up Alt+Down |
yes (JComboBox) | |
Select entry with matching initial character (if not editable) | any char | yes | |
Move up or down | Up, Down | yes | |
Other navigation keys?? | See JList | ||
Edit field | See JTextField | ||
Activate selection | Return | yes (JComboBox) |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JTable (Motif L&F) |
Navigate out forward | Ctrl+Tab | |
Navigate out backward | Ctrl+Shift+Tab | ||
Move to next cell (wrap to next row) |
Tab | ||
Right | yes | ||
Move to previous cell (wrap to previous row) |
Shift+Tab | ||
Left | yes | ||
Move to cell above | Shift+Return | ||
Up | yes | ||
Move to cell below | Return | ||
Down | yes | ||
Block move vertical | PgUp, PgDn | ||
Block move left | Ctrl+PgUp | ||
Block move right | Ctrl+PgDn | ||
Move to first cell in row | Home | ||
Move to last cell in row | End | ||
Move to first cell in table | Ctrl+Home | ||
Move to last cell in table | Ctrl+End | ||
Select all cells | Ctrl+A | ||
Select a non-contiguous row | -none- | ||
Range-select | -none- | ||
Extend selection one row | Shift+Up, Shift+Down | ||
Extend selection one column | Shift+Left, Shift+Right | ||
Extend selection to first/last column | Shift+Home, Shift+End | ||
Extend selection to first/last row | -none- | ||
Extend selection to start/end of data | Ctrl+Shift+Home, Ctrl+Shift+End | ||
Block extend vertical | Shift+PgUp, Shift+PgDn | ||
Block extend left | Ctrl+Shift+PgUp | ||
Block extend right | Ctrl+Shift+PgDn | ||
Begin editing cell | ??? | ||
Edit cell | See JTextField |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JTree (Motif L&F) |
Navigate out forward | Tab | yes (DefaultFocusManager) |
Navigate out backward | Shift+Tab | yes (DefaultFocusManager) | |
Expand entry | Right | yes (JTree) | |
Collapse entry | Left | yes (JTree) | |
Toggle expand/collapse for entry | Return | yes (JTree) | |
Expand all entries | -none- | n/a | |
Collapse all entries | -none- | n/a | |
Move up/down one entry | Up, Down | yes (JTree) | |
Move to first entry | Home | yes (JTree) | |
Move to last visible entry | End | yes (JTree) | |
Block move vertical | PgUp, PgDn | yes (JTree) | |
Block move left | Ctrl+PgUp | ||
Block move right | Ctrl+PgDn | ||
Select all | Ctrl+/ | ||
Deselect all | Ctrl+\ | ||
Select a non-contiguous entry | Ctrl+Spacebar | ||
Range-select | Shift+Spacebar | ||
Extend selection up | Shift+Up | ||
Extend selection down | Shift+Down | ||
Extend selection to start of data | Shift+Home | ||
Extend selection to end of data | Shift+End | ||
Block extend vertical | Shift+PgUp, Shift+PgDn | ||
Edit cell | See JTextField |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JMenu (Motif L&F) |
Move to next item (wrap to top) |
Down | yes |
Move to previous item (wrap to bottom) |
Up | yes | |
Retract menu | Esc | yes |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JCheckBoxMenuItem (Motif L&F) |
Check/Uncheck item (and retract menu) |
See JMenuItem, "Activate item" |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JRadioButtonMenuItem (Motif L&F) |
Check/Uncheck item (and retract menu) |
See JMenuItem, "Activate item" |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JToolTip (Motif L&F) |
Post tip | Ctrl+F1 | |
Retract tip | Esc, Ctrl+F1 |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JPasswordField (Motif L&F) |
Navigate, move within the field, and select | See JTextField | |
??Selection allowed?? |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JTextPane (Motif L&F) |
Navigate, move, select | See JTextArea |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JEditorPane (Motif L&F) |
Navigate, move, select | See JTextArea | |
Move to next/prev HTML link or other focusable element |
Tab, Shift+Tab | ||
Move out of focusable elements that accept a tab | Ctrl+Tab, Ctrl+Shift+Tab | ||
Activate an HTML link | Return |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JOptionPane (Motif L&F) |
Navigate out | Alt+F6 | |
Retract dialog | Esc | ||
Activate the default button (if defined) | Return | yes (JRootPane) |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JDialog (Motif L&F) |
Navigate out | Alt+F6 | |
Retract dialog | Esc | ||
Activate the default button (if defined) | Return | yes (JRootPane) |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JFrame (Motif L&F) |
Navigate out | Alt+Esc | |
Display window menu | Alt+Spacebar | ||
Activate the default button (if defined) | Return | yes (JRootPane) |
Component | Action | Intended Key | Implemented |
---|---|---|---|
JWindow (Motif L&F) |
Activate the default button (if defined) | Return | yes (JRootPane) |