1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_event_KeyEvent__
|
5 |
|
|
#define __java_awt_event_KeyEvent__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/awt/event/InputEvent.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Component;
|
17 |
|
|
namespace event
|
18 |
|
|
{
|
19 |
|
|
class KeyEvent;
|
20 |
|
|
}
|
21 |
|
|
}
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
|
25 |
|
|
class java::awt::event::KeyEvent : public ::java::awt::event::InputEvent
|
26 |
|
|
{
|
27 |
|
|
|
28 |
|
|
public:
|
29 |
|
|
KeyEvent(::java::awt::Component *, jint, jlong, jint, jint, jchar, jint);
|
30 |
|
|
KeyEvent(::java::awt::Component *, jint, jlong, jint, jint, jchar);
|
31 |
|
|
KeyEvent(::java::awt::Component *, jint, jlong, jint, jint);
|
32 |
|
|
virtual jint getKeyCode();
|
33 |
|
|
virtual void setKeyCode(jint);
|
34 |
|
|
virtual jchar getKeyChar();
|
35 |
|
|
virtual void setKeyChar(jchar);
|
36 |
|
|
virtual void setModifiers(jint);
|
37 |
|
|
virtual jint getKeyLocation();
|
38 |
|
|
static ::java::lang::String * getKeyText(jint);
|
39 |
|
|
static ::java::lang::String * getKeyModifiersText(jint);
|
40 |
|
|
virtual jboolean isActionKey();
|
41 |
|
|
virtual ::java::lang::String * paramString();
|
42 |
|
|
private:
|
43 |
|
|
void readObject(::java::io::ObjectInputStream *);
|
44 |
|
|
static const jlong serialVersionUID = -2352130953028126954LL;
|
45 |
|
|
public:
|
46 |
|
|
static const jint KEY_FIRST = 400;
|
47 |
|
|
static const jint KEY_LAST = 402;
|
48 |
|
|
static const jint KEY_TYPED = 400;
|
49 |
|
|
static const jint KEY_PRESSED = 401;
|
50 |
|
|
static const jint KEY_RELEASED = 402;
|
51 |
|
|
static const jint VK_ENTER = 10;
|
52 |
|
|
static const jint VK_BACK_SPACE = 8;
|
53 |
|
|
static const jint VK_TAB = 9;
|
54 |
|
|
static const jint VK_CANCEL = 3;
|
55 |
|
|
static const jint VK_CLEAR = 12;
|
56 |
|
|
static const jint VK_SHIFT = 16;
|
57 |
|
|
static const jint VK_CONTROL = 17;
|
58 |
|
|
static const jint VK_ALT = 18;
|
59 |
|
|
static const jint VK_PAUSE = 19;
|
60 |
|
|
static const jint VK_CAPS_LOCK = 20;
|
61 |
|
|
static const jint VK_ESCAPE = 27;
|
62 |
|
|
static const jint VK_SPACE = 32;
|
63 |
|
|
static const jint VK_PAGE_UP = 33;
|
64 |
|
|
static const jint VK_PAGE_DOWN = 34;
|
65 |
|
|
static const jint VK_END = 35;
|
66 |
|
|
static const jint VK_HOME = 36;
|
67 |
|
|
static const jint VK_LEFT = 37;
|
68 |
|
|
static const jint VK_UP = 38;
|
69 |
|
|
static const jint VK_RIGHT = 39;
|
70 |
|
|
static const jint VK_DOWN = 40;
|
71 |
|
|
static const jint VK_COMMA = 44;
|
72 |
|
|
static const jint VK_MINUS = 45;
|
73 |
|
|
static const jint VK_PERIOD = 46;
|
74 |
|
|
static const jint VK_SLASH = 47;
|
75 |
|
|
static const jint VK_0 = 48;
|
76 |
|
|
static const jint VK_1 = 49;
|
77 |
|
|
static const jint VK_2 = 50;
|
78 |
|
|
static const jint VK_3 = 51;
|
79 |
|
|
static const jint VK_4 = 52;
|
80 |
|
|
static const jint VK_5 = 53;
|
81 |
|
|
static const jint VK_6 = 54;
|
82 |
|
|
static const jint VK_7 = 55;
|
83 |
|
|
static const jint VK_8 = 56;
|
84 |
|
|
static const jint VK_9 = 57;
|
85 |
|
|
static const jint VK_SEMICOLON = 59;
|
86 |
|
|
static const jint VK_EQUALS = 61;
|
87 |
|
|
static const jint VK_A = 65;
|
88 |
|
|
static const jint VK_B = 66;
|
89 |
|
|
static const jint VK_C = 67;
|
90 |
|
|
static const jint VK_D = 68;
|
91 |
|
|
static const jint VK_E = 69;
|
92 |
|
|
static const jint VK_F = 70;
|
93 |
|
|
static const jint VK_G = 71;
|
94 |
|
|
static const jint VK_H = 72;
|
95 |
|
|
static const jint VK_I = 73;
|
96 |
|
|
static const jint VK_J = 74;
|
97 |
|
|
static const jint VK_K = 75;
|
98 |
|
|
static const jint VK_L = 76;
|
99 |
|
|
static const jint VK_M = 77;
|
100 |
|
|
static const jint VK_N = 78;
|
101 |
|
|
static const jint VK_O = 79;
|
102 |
|
|
static const jint VK_P = 80;
|
103 |
|
|
static const jint VK_Q = 81;
|
104 |
|
|
static const jint VK_R = 82;
|
105 |
|
|
static const jint VK_S = 83;
|
106 |
|
|
static const jint VK_T = 84;
|
107 |
|
|
static const jint VK_U = 85;
|
108 |
|
|
static const jint VK_V = 86;
|
109 |
|
|
static const jint VK_W = 87;
|
110 |
|
|
static const jint VK_X = 88;
|
111 |
|
|
static const jint VK_Y = 89;
|
112 |
|
|
static const jint VK_Z = 90;
|
113 |
|
|
static const jint VK_OPEN_BRACKET = 91;
|
114 |
|
|
static const jint VK_BACK_SLASH = 92;
|
115 |
|
|
static const jint VK_CLOSE_BRACKET = 93;
|
116 |
|
|
static const jint VK_NUMPAD0 = 96;
|
117 |
|
|
static const jint VK_NUMPAD1 = 97;
|
118 |
|
|
static const jint VK_NUMPAD2 = 98;
|
119 |
|
|
static const jint VK_NUMPAD3 = 99;
|
120 |
|
|
static const jint VK_NUMPAD4 = 100;
|
121 |
|
|
static const jint VK_NUMPAD5 = 101;
|
122 |
|
|
static const jint VK_NUMPAD6 = 102;
|
123 |
|
|
static const jint VK_NUMPAD7 = 103;
|
124 |
|
|
static const jint VK_NUMPAD8 = 104;
|
125 |
|
|
static const jint VK_NUMPAD9 = 105;
|
126 |
|
|
static const jint VK_MULTIPLY = 106;
|
127 |
|
|
static const jint VK_ADD = 107;
|
128 |
|
|
static const jint VK_SEPARATER = 108;
|
129 |
|
|
static const jint VK_SEPARATOR = 108;
|
130 |
|
|
static const jint VK_SUBTRACT = 109;
|
131 |
|
|
static const jint VK_DECIMAL = 110;
|
132 |
|
|
static const jint VK_DIVIDE = 111;
|
133 |
|
|
static const jint VK_DELETE = 127;
|
134 |
|
|
static const jint VK_NUM_LOCK = 144;
|
135 |
|
|
static const jint VK_SCROLL_LOCK = 145;
|
136 |
|
|
static const jint VK_F1 = 112;
|
137 |
|
|
static const jint VK_F2 = 113;
|
138 |
|
|
static const jint VK_F3 = 114;
|
139 |
|
|
static const jint VK_F4 = 115;
|
140 |
|
|
static const jint VK_F5 = 116;
|
141 |
|
|
static const jint VK_F6 = 117;
|
142 |
|
|
static const jint VK_F7 = 118;
|
143 |
|
|
static const jint VK_F8 = 119;
|
144 |
|
|
static const jint VK_F9 = 120;
|
145 |
|
|
static const jint VK_F10 = 121;
|
146 |
|
|
static const jint VK_F11 = 122;
|
147 |
|
|
static const jint VK_F12 = 123;
|
148 |
|
|
static const jint VK_F13 = 61440;
|
149 |
|
|
static const jint VK_F14 = 61441;
|
150 |
|
|
static const jint VK_F15 = 61442;
|
151 |
|
|
static const jint VK_F16 = 61443;
|
152 |
|
|
static const jint VK_F17 = 61444;
|
153 |
|
|
static const jint VK_F18 = 61445;
|
154 |
|
|
static const jint VK_F19 = 61446;
|
155 |
|
|
static const jint VK_F20 = 61447;
|
156 |
|
|
static const jint VK_F21 = 61448;
|
157 |
|
|
static const jint VK_F22 = 61449;
|
158 |
|
|
static const jint VK_F23 = 61450;
|
159 |
|
|
static const jint VK_F24 = 61451;
|
160 |
|
|
static const jint VK_PRINTSCREEN = 154;
|
161 |
|
|
static const jint VK_INSERT = 155;
|
162 |
|
|
static const jint VK_HELP = 156;
|
163 |
|
|
static const jint VK_META = 157;
|
164 |
|
|
static const jint VK_BACK_QUOTE = 192;
|
165 |
|
|
static const jint VK_QUOTE = 222;
|
166 |
|
|
static const jint VK_KP_UP = 224;
|
167 |
|
|
static const jint VK_KP_DOWN = 225;
|
168 |
|
|
static const jint VK_KP_LEFT = 226;
|
169 |
|
|
static const jint VK_KP_RIGHT = 227;
|
170 |
|
|
static const jint VK_DEAD_GRAVE = 128;
|
171 |
|
|
static const jint VK_DEAD_ACUTE = 129;
|
172 |
|
|
static const jint VK_DEAD_CIRCUMFLEX = 130;
|
173 |
|
|
static const jint VK_DEAD_TILDE = 131;
|
174 |
|
|
static const jint VK_DEAD_MACRON = 132;
|
175 |
|
|
static const jint VK_DEAD_BREVE = 133;
|
176 |
|
|
static const jint VK_DEAD_ABOVEDOT = 134;
|
177 |
|
|
static const jint VK_DEAD_DIAERESIS = 135;
|
178 |
|
|
static const jint VK_DEAD_ABOVERING = 136;
|
179 |
|
|
static const jint VK_DEAD_DOUBLEACUTE = 137;
|
180 |
|
|
static const jint VK_DEAD_CARON = 138;
|
181 |
|
|
static const jint VK_DEAD_CEDILLA = 139;
|
182 |
|
|
static const jint VK_DEAD_OGONEK = 140;
|
183 |
|
|
static const jint VK_DEAD_IOTA = 141;
|
184 |
|
|
static const jint VK_DEAD_VOICED_SOUND = 142;
|
185 |
|
|
static const jint VK_DEAD_SEMIVOICED_SOUND = 143;
|
186 |
|
|
static const jint VK_AMPERSAND = 150;
|
187 |
|
|
static const jint VK_ASTERISK = 151;
|
188 |
|
|
static const jint VK_QUOTEDBL = 152;
|
189 |
|
|
static const jint VK_LESS = 153;
|
190 |
|
|
static const jint VK_GREATER = 160;
|
191 |
|
|
static const jint VK_BRACELEFT = 161;
|
192 |
|
|
static const jint VK_BRACERIGHT = 162;
|
193 |
|
|
static const jint VK_AT = 512;
|
194 |
|
|
static const jint VK_COLON = 513;
|
195 |
|
|
static const jint VK_CIRCUMFLEX = 514;
|
196 |
|
|
static const jint VK_DOLLAR = 515;
|
197 |
|
|
static const jint VK_EURO_SIGN = 516;
|
198 |
|
|
static const jint VK_EXCLAMATION_MARK = 517;
|
199 |
|
|
static const jint VK_INVERTED_EXCLAMATION_MARK = 518;
|
200 |
|
|
static const jint VK_LEFT_PARENTHESIS = 519;
|
201 |
|
|
static const jint VK_NUMBER_SIGN = 520;
|
202 |
|
|
static const jint VK_PLUS = 521;
|
203 |
|
|
static const jint VK_RIGHT_PARENTHESIS = 522;
|
204 |
|
|
static const jint VK_UNDERSCORE = 523;
|
205 |
|
|
static const jint VK_FINAL = 24;
|
206 |
|
|
static const jint VK_CONVERT = 28;
|
207 |
|
|
static const jint VK_NONCONVERT = 29;
|
208 |
|
|
static const jint VK_ACCEPT = 30;
|
209 |
|
|
static const jint VK_MODECHANGE = 31;
|
210 |
|
|
static const jint VK_KANA = 21;
|
211 |
|
|
static const jint VK_KANJI = 25;
|
212 |
|
|
static const jint VK_ALPHANUMERIC = 240;
|
213 |
|
|
static const jint VK_KATAKANA = 241;
|
214 |
|
|
static const jint VK_HIRAGANA = 242;
|
215 |
|
|
static const jint VK_FULL_WIDTH = 243;
|
216 |
|
|
static const jint VK_HALF_WIDTH = 244;
|
217 |
|
|
static const jint VK_ROMAN_CHARACTERS = 245;
|
218 |
|
|
static const jint VK_ALL_CANDIDATES = 256;
|
219 |
|
|
static const jint VK_PREVIOUS_CANDIDATE = 257;
|
220 |
|
|
static const jint VK_CODE_INPUT = 258;
|
221 |
|
|
static const jint VK_JAPANESE_KATAKANA = 259;
|
222 |
|
|
static const jint VK_JAPANESE_HIRAGANA = 260;
|
223 |
|
|
static const jint VK_JAPANESE_ROMAN = 261;
|
224 |
|
|
static const jint VK_KANA_LOCK = 262;
|
225 |
|
|
static const jint VK_INPUT_METHOD_ON_OFF = 263;
|
226 |
|
|
static const jint VK_CUT = 65489;
|
227 |
|
|
static const jint VK_COPY = 65485;
|
228 |
|
|
static const jint VK_PASTE = 65487;
|
229 |
|
|
static const jint VK_UNDO = 65483;
|
230 |
|
|
static const jint VK_AGAIN = 65481;
|
231 |
|
|
static const jint VK_FIND = 65488;
|
232 |
|
|
static const jint VK_PROPS = 65482;
|
233 |
|
|
static const jint VK_STOP = 65480;
|
234 |
|
|
static const jint VK_COMPOSE = 65312;
|
235 |
|
|
static const jint VK_ALT_GRAPH = 65406;
|
236 |
|
|
static const jint VK_BEGIN = 65368;
|
237 |
|
|
static const jint VK_CONTEXT_MENU = 525;
|
238 |
|
|
static const jint VK_WINDOWS = 524;
|
239 |
|
|
static const jint VK_UNDEFINED = 0;
|
240 |
|
|
static const jchar CHAR_UNDEFINED = 65535;
|
241 |
|
|
static const jint KEY_LOCATION_UNKNOWN = 0;
|
242 |
|
|
static const jint KEY_LOCATION_STANDARD = 1;
|
243 |
|
|
static const jint KEY_LOCATION_LEFT = 2;
|
244 |
|
|
static const jint KEY_LOCATION_RIGHT = 3;
|
245 |
|
|
static const jint KEY_LOCATION_NUMPAD = 4;
|
246 |
|
|
private:
|
247 |
|
|
jint __attribute__((aligned(__alignof__( ::java::awt::event::InputEvent)))) keyCode;
|
248 |
|
|
jchar keyChar;
|
249 |
|
|
jint keyLocation;
|
250 |
|
|
jboolean isProxyActive;
|
251 |
|
|
public:
|
252 |
|
|
static ::java::lang::Class class$;
|
253 |
|
|
};
|
254 |
|
|
|
255 |
|
|
#endif // __java_awt_event_KeyEvent__
|