Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

constants group Key
Description
These values are used to specifies distinct physical keys.

Constants
NUM0  
NUM1  
NUM2  
NUM3  
NUM4  
NUM5  
NUM6  
NUM7  
NUM8  
NUM9  
A  
B  
C  
D  
E  
F  
G  
H  
I  
J  
K  
L  
M  
N  
O  
P  
Q  
R  
S  
T  
U  
V  
W  
X  
Y  
Z  
F1  
F2  
F3  
F4  
F5  
F6  
F7  
F8  
F9  
F10  
F11  
F12  
F13  
F14  
F15  
F16  
F17  
F18  
F19  
F20  
F21  
F22  
F23  
F24  
F25  
F26  
DOWN  
UP  
LEFT  
RIGHT  
HOME  
END  
PAGEUP  
PAGEDOWN  
RETURN  
ESCAPE  
TAB  
BACKSPACE  
SPACE  
INSERT  
DELETE  
ADD  
SUBTRACT  
MULTIPLY  
DIVIDE  
POINT  
COMMA  
LESS  
GREATER  
EQUAL  
OPEN  
CUT  
COPY  
PASTE  
UNDO  
REPEAT  
FIND  
PROPERTIES  
FRONT  
CONTEXTMENU  
HELP  
MENU  
HANGUL_HANJA  
DECIMAL  
TILDE  
QUOTELEFT  
DELETE_TO_BEGIN_OF_LINE  
DELETE_TO_END_OF_LINE  
DELETE_TO_BEGIN_OF_PARAGRAPH  
DELETE_TO_END_OF_PARAGRAPH  
DELETE_WORD_BACKWARD  
DELETE_WORD_FORWARD  
INSERT_LINEBREAK  
INSERT_PARAGRAPH  
MOVE_WORD_BACKWARD  
MOVE_WORD_FORWARD  
MOVE_TO_BEGIN_OF_LINE  
MOVE_TO_END_OF_LINE  
MOVE_TO_BEGIN_OF_PARAGRAPH  
MOVE_TO_END_OF_PARAGRAPH  
SELECT_BACKWARD  
SELECT_FORWARD  
SELECT_WORD_BACKWARD  
SELECT_WORD_FORWARD  
SELECT_WORD  
SELECT_LINE  
SELECT_PARAGRAPH  
SELECT_ALL  
SELECT_TO_BEGIN_OF_LINE  
SELECT_TO_END_OF_LINE  
MOVE_TO_BEGIN_OF_DOCUMENT  
MOVE_TO_END_OF_DOCUMENT  
SELECT_TO_BEGIN_OF_DOCUMENT  
SELECT_TO_END_OF_DOCUMENT  
SELECT_TO_BEGIN_OF_PARAGRAPH  
SELECT_TO_END_OF_PARAGRAPH  
Constants' Details
NUM0
const short NUM0 = 256;
NUM1
const short NUM1 = 257;
NUM2
const short NUM2 = 258;
NUM3
const short NUM3 = 259;
NUM4
const short NUM4 = 260;
NUM5
const short NUM5 = 261;
NUM6
const short NUM6 = 262;
NUM7
const short NUM7 = 263;
NUM8
const short NUM8 = 264;
NUM9
const short NUM9 = 265;
A
const short A = 512;
B
const short B = 513;
C
const short C = 514;
D
const short D = 515;
E
const short E = 516;
F
const short F = 517;
G
const short G = 518;
H
const short H = 519;
I
const short I = 520;
J
const short J = 521;
K
const short K = 522;
L
const short L = 523;
M
const short M = 524;
N
const short N = 525;
O
const short O = 526;
P
const short P = 527;
Q
const short Q = 528;
R
const short R = 529;
S
const short S = 530;
T
const short T = 531;
U
const short U = 532;
V
const short V = 533;
W
const short W = 534;
X
const short X = 535;
Y
const short Y = 536;
Z
const short Z = 537;
F1
const short F1 = 768;
F2
const short F2 = 769;
F3
const short F3 = 770;
F4
const short F4 = 771;
F5
const short F5 = 772;
F6
const short F6 = 773;
F7
const short F7 = 774;
F8
const short F8 = 775;
F9
const short F9 = 776;
F10
const short F10 = 777;
F11
const short F11 = 778;
F12
const short F12 = 779;
F13
const short F13 = 780;
F14
const short F14 = 781;
F15
const short F15 = 782;
F16
const short F16 = 783;
F17
const short F17 = 784;
F18
const short F18 = 785;
F19
const short F19 = 786;
F20
const short F20 = 787;
F21
const short F21 = 788;
F22
const short F22 = 789;
F23
const short F23 = 790;
F24
const short F24 = 791;
F25
const short F25 = 792;
F26
const short F26 = 793;
DOWN
const short DOWN = 1024;
UP
const short UP = 1025;
LEFT
const short LEFT = 1026;
RIGHT
const short RIGHT = 1027;
HOME
const short HOME = 1028;
END
const short END = 1029;
PAGEUP
const short PAGEUP = 1030;
PAGEDOWN
const short PAGEDOWN = 1031;
RETURN
const short RETURN = 1280;
ESCAPE
const short ESCAPE = 1281;
TAB
const short TAB = 1282;
BACKSPACE
const short BACKSPACE = 1283;
SPACE
const short SPACE = 1284;
INSERT
const short INSERT = 1285;
DELETE
const short DELETE = 1286;
ADD
const short ADD = 1287;
SUBTRACT
const short SUBTRACT = 1288;
MULTIPLY
const short MULTIPLY = 1289;
DIVIDE
const short DIVIDE = 1290;
POINT
const short POINT = 1291;
COMMA
const short COMMA = 1292;
LESS
const short LESS = 1293;
GREATER
const short GREATER = 1294;
EQUAL
const short EQUAL = 1295;
OPEN
const short OPEN = 1296;
CUT
const short CUT = 1297;
COPY
const short COPY = 1298;
PASTE
const short PASTE = 1299;
UNDO
const short UNDO = 1300;
REPEAT
const short REPEAT = 1301;
FIND
const short FIND = 1302;
PROPERTIES
const short PROPERTIES = 1303;
FRONT
const short FRONT = 1304;
CONTEXTMENU
const short CONTEXTMENU = 1305;
HELP
const short HELP = 1306;
MENU
const short MENU = 1307;
HANGUL_HANJA
const short HANGUL_HANJA = 1308;
DECIMAL
const short DECIMAL = 1309;
TILDE
const short TILDE = 1310;
QUOTELEFT
const short QUOTELEFT = 1311;
DELETE_TO_BEGIN_OF_LINE
const short DELETE_TO_BEGIN_OF_LINE = 1536;
DELETE_TO_END_OF_LINE
const short DELETE_TO_END_OF_LINE = 1537;
DELETE_TO_BEGIN_OF_PARAGRAPH
const short DELETE_TO_BEGIN_OF_PARAGRAPH = 1538;
DELETE_TO_END_OF_PARAGRAPH
const short DELETE_TO_END_OF_PARAGRAPH = 1539;
DELETE_WORD_BACKWARD
const short DELETE_WORD_BACKWARD = 1540;
DELETE_WORD_FORWARD
const short DELETE_WORD_FORWARD = 1541;
INSERT_LINEBREAK
const short INSERT_LINEBREAK = 1542;
INSERT_PARAGRAPH
const short INSERT_PARAGRAPH = 1543;
MOVE_WORD_BACKWARD
const short MOVE_WORD_BACKWARD = 1544;
MOVE_WORD_FORWARD
const short MOVE_WORD_FORWARD = 1545;
MOVE_TO_BEGIN_OF_LINE
const short MOVE_TO_BEGIN_OF_LINE = 1546;
MOVE_TO_END_OF_LINE
const short MOVE_TO_END_OF_LINE = 1547;
MOVE_TO_BEGIN_OF_PARAGRAPH
const short MOVE_TO_BEGIN_OF_PARAGRAPH = 1548;
MOVE_TO_END_OF_PARAGRAPH
const short MOVE_TO_END_OF_PARAGRAPH = 1549;
SELECT_BACKWARD
const short SELECT_BACKWARD = 1550;
SELECT_FORWARD
const short SELECT_FORWARD = 1551;
SELECT_WORD_BACKWARD
const short SELECT_WORD_BACKWARD = 1552;
SELECT_WORD_FORWARD
const short SELECT_WORD_FORWARD = 1553;
SELECT_WORD
const short SELECT_WORD = 1554;
SELECT_LINE
const short SELECT_LINE = 1555;
SELECT_PARAGRAPH
const short SELECT_PARAGRAPH = 1556;
SELECT_ALL
const short SELECT_ALL = 1557;
SELECT_TO_BEGIN_OF_LINE
const short SELECT_TO_BEGIN_OF_LINE = 1558;
SELECT_TO_END_OF_LINE
const short SELECT_TO_END_OF_LINE = 1559;
MOVE_TO_BEGIN_OF_DOCUMENT
const short MOVE_TO_BEGIN_OF_DOCUMENT = 1560;
MOVE_TO_END_OF_DOCUMENT
const short MOVE_TO_END_OF_DOCUMENT = 1561;
SELECT_TO_BEGIN_OF_DOCUMENT
const short SELECT_TO_BEGIN_OF_DOCUMENT = 1562;
SELECT_TO_END_OF_DOCUMENT
const short SELECT_TO_END_OF_DOCUMENT = 1563;
SELECT_TO_BEGIN_OF_PARAGRAPH
const short SELECT_TO_BEGIN_OF_PARAGRAPH = 1564;
SELECT_TO_END_OF_PARAGRAPH
const short SELECT_TO_END_OF_PARAGRAPH = 1565;
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.