На главную Graphic Java 2: Mastering the Jfc, By Geary, 3Rd Edition, Volume 2: Swing 2017-07-07 02:10:07 Table B-35. Bound JTextField actions (when focused) ActionMap entry Metal L&F Mac L&F caret-backward Left-P Left-P caret-begin-line Home-P Up-PCommand Left-P caret-end-line End-P Down-PCommand Right-P caret-forward Right-P Right-P caret-next-word Ctrl Right-P Option Right-P caret-previous-word Ctrl Left-P Option Left-P copy-to-clipboard Ctrl C-PCopy-P Command C-P cut-to-clipboard Cut-PCtrl X-P Command X-P delete-next Delete-P Delete-PShift Delete-P delete-previous Backspace* Shift Backspace-PBackspace-P notify-field-accept Enter-P Enter-P paste-from-clipboard Ctrl V-PPaste-P Command V-P select-all Ctrl A-P Command A-P selection-backward Shift Left-P Shift Left-P selection-begin Not bound Shift Up-P selection-begin-line Shift Home-P Command Left-PCommand+Shift Left-P selection-begin-word Not bound Option+Shift Left-P selection-end Not bound Shift Down-P selection-end-line Shift End-P Command+Shift Right-PCommand Right-P selection-end-word Not bound Option+Shift Right-P selection-forward Shift Right-P Shift Right-P selection-next-word Ctrl+Shift Right-P Not bound selection-previous-word Ctrl+Shift Left-P Not bound toggle-componentOrientation Ctrl+Shift O-P Not bound unselect Ctrl \-P Not bound *This is actually stored as the ASCII DEL character (0x7F), the character sent when the Delete key is pressed. Table B-36. Unbound JTextField actions beep page-down caret-begin page-up caret-begin-paragraph paste caret-begin-word requestFocus caret-down selection-begin-paragraph caret-end selection-down caret-end-paragraph selection-end-paragraph caret-end-word selection-page-down caret-up selection-page-left copy selection-page-right cut selection-page-up default-typed selection-up dump-model select-line insert-break select-paragraph insert-content select-word insert-tab set-read-only notify-field-accept set-writable Related Категории Search