B.6 JEditorPane


Table B-6. Bound JEditorPane actions (when focused)

ActionMap entry

Metal L&F

Mac L&F

caret-backward

Left-P

Left-P

caret-begin

Ctrl Home-P

Home-PCommand Up-P

caret-begin-line

Home-P

Command Left-P

caret-begin-paragraph

Not bound

Option Up-P

caret-down

Down-P

Down-P

caret-end

Ctrl End-P

End-PCommand Down-P

caret-end-line

End-P

Command Right-P

caret-end-paragraph

Not bound

Option Down-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

caret-up

Up-P

Up-P

copy-to-clipboard

Ctrl C-PCopy-P

Command C-P

cut-to-clipboard

Ctrl X-PCut-P

Command X-P

delete-next

Delete-P

Delete-PShift Delete-P

delete-previous

Backspace*

Shift Backspace-PBackspace-P

insert-break

Enter-P

Enter-P

insert-tab

Tab-P

Tab-P

page-down

Page Down-P

Page Down-P

page-up

Page Up-P

Page Up-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

Ctrl+Shift Home-P

Command+Shift Up-PShift Home-P

selection-begin-line

Shift Home-P

Command Left-PCommand+Shift Left-P

selection-begin-paragraph

Not bound

Option+Shift Up-P

selection-begin-word

Not bound

Option+Shift Left-P

selection-down

Shift Down-P

Shift Down-P

selection-end

Ctrl+Shift End-P

Shift End-PCommand+Shift Down-P

selection-end-line

Shift End-P

Command+Shift Right-PCommand Right-P

selection-end-paragraph

Not bound

Option+Shift Down-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-page-down

Shift Page Down-P

Shift Page Down-P

selection-page-left

Ctrl+Shift Page Up-P

Not bound

selection-page-right

Ctrl+Shift Page Down-P

Not bound

selection-page-up

Shift Page Up-P

Shift Page Up-P

selection-previous-word

Ctrl+Shift Left-P

Not bound

selection-up

Shift Up-P

Shift Up-P

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-7. JEditorPane bindings with no default actions (when focused)

ActionMap key

Metal L&F

Mac L&F

activate-link-action

Ctrl Space-P

Not present

next-link-action

Ctrl T-P

Not present

previous-link-action

Ctrl+Shift T-P

Not present

Table B-8. Unbound JEditorPane actions

beep

insert-tab

caret-begin-word

paste

caret-end-word

requestFocus

copy

select-line

cut

select-paragraph

default-typed

select-word

dump-model

set-read-only

insert-break

set-writable

insert-content

 



Java Swing
Graphic Java 2: Mastering the Jfc, By Geary, 3Rd Edition, Volume 2: Swing
ISBN: 0130796670
EAN: 2147483647
Year: 2001
Pages: 289
Authors: David Geary

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net