1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_Event__
|
5 |
|
|
#define __java_awt_Event__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Event;
|
17 |
|
|
}
|
18 |
|
|
}
|
19 |
|
|
}
|
20 |
|
|
|
21 |
|
|
class java::awt::Event : public ::java::lang::Object
|
22 |
|
|
{
|
23 |
|
|
|
24 |
|
|
public:
|
25 |
|
|
Event(::java::lang::Object *, jint, ::java::lang::Object *);
|
26 |
|
|
Event(::java::lang::Object *, jlong, jint, jint, jint, jint, jint);
|
27 |
|
|
Event(::java::lang::Object *, jlong, jint, jint, jint, jint, jint, ::java::lang::Object *);
|
28 |
|
|
virtual jboolean controlDown();
|
29 |
|
|
virtual jboolean metaDown();
|
30 |
|
|
public: // actually protected
|
31 |
|
|
virtual ::java::lang::String * paramString();
|
32 |
|
|
public:
|
33 |
|
|
virtual jboolean shiftDown();
|
34 |
|
|
virtual ::java::lang::String * toString();
|
35 |
|
|
virtual void translate(jint, jint);
|
36 |
|
|
public: // actually package-private
|
37 |
|
|
static const jlong serialVersionUID = 5488922509400504703LL;
|
38 |
|
|
public:
|
39 |
|
|
static const jint SHIFT_MASK = 1;
|
40 |
|
|
static const jint CTRL_MASK = 2;
|
41 |
|
|
static const jint META_MASK = 4;
|
42 |
|
|
static const jint ALT_MASK = 8;
|
43 |
|
|
static const jint ACTION_EVENT = 1001;
|
44 |
|
|
static const jint BACK_SPACE = 8;
|
45 |
|
|
static const jint CAPS_LOCK = 1022;
|
46 |
|
|
static const jint DELETE = 127;
|
47 |
|
|
static const jint DOWN = 1005;
|
48 |
|
|
static const jint END = 1001;
|
49 |
|
|
static const jint ENTER = 10;
|
50 |
|
|
static const jint ESCAPE = 27;
|
51 |
|
|
static const jint F1 = 1008;
|
52 |
|
|
static const jint F10 = 1017;
|
53 |
|
|
static const jint F11 = 1018;
|
54 |
|
|
static const jint F12 = 1019;
|
55 |
|
|
static const jint F2 = 1009;
|
56 |
|
|
static const jint F3 = 1010;
|
57 |
|
|
static const jint F4 = 1011;
|
58 |
|
|
static const jint F5 = 1012;
|
59 |
|
|
static const jint F6 = 1013;
|
60 |
|
|
static const jint F7 = 1014;
|
61 |
|
|
static const jint F8 = 1015;
|
62 |
|
|
static const jint F9 = 1016;
|
63 |
|
|
static const jint GOT_FOCUS = 1004;
|
64 |
|
|
static const jint HOME = 1000;
|
65 |
|
|
static const jint INSERT = 1025;
|
66 |
|
|
static const jint KEY_ACTION = 403;
|
67 |
|
|
static const jint KEY_ACTION_RELEASE = 404;
|
68 |
|
|
static const jint KEY_PRESS = 401;
|
69 |
|
|
static const jint KEY_RELEASE = 402;
|
70 |
|
|
static const jint LEFT = 1006;
|
71 |
|
|
static const jint LIST_DESELECT = 702;
|
72 |
|
|
static const jint LIST_SELECT = 701;
|
73 |
|
|
static const jint LOAD_FILE = 1002;
|
74 |
|
|
static const jint LOST_FOCUS = 1005;
|
75 |
|
|
static const jint MOUSE_DOWN = 501;
|
76 |
|
|
static const jint MOUSE_DRAG = 506;
|
77 |
|
|
static const jint MOUSE_ENTER = 504;
|
78 |
|
|
static const jint MOUSE_EXIT = 505;
|
79 |
|
|
static const jint MOUSE_MOVE = 503;
|
80 |
|
|
static const jint MOUSE_UP = 502;
|
81 |
|
|
static const jint NUM_LOCK = 1023;
|
82 |
|
|
static const jint PAUSE = 1024;
|
83 |
|
|
static const jint PGDN = 1003;
|
84 |
|
|
static const jint PGUP = 1002;
|
85 |
|
|
static const jint PRINT_SCREEN = 1020;
|
86 |
|
|
static const jint RIGHT = 1007;
|
87 |
|
|
static const jint SAVE_FILE = 1003;
|
88 |
|
|
static const jint SCROLL_ABSOLUTE = 605;
|
89 |
|
|
static const jint SCROLL_BEGIN = 606;
|
90 |
|
|
static const jint SCROLL_END = 607;
|
91 |
|
|
static const jint SCROLL_LINE_DOWN = 602;
|
92 |
|
|
static const jint SCROLL_LINE_UP = 601;
|
93 |
|
|
static const jint SCROLL_LOCK = 1021;
|
94 |
|
|
static const jint SCROLL_PAGE_DOWN = 604;
|
95 |
|
|
static const jint SCROLL_PAGE_UP = 603;
|
96 |
|
|
static const jint TAB = 9;
|
97 |
|
|
static const jint UP = 1004;
|
98 |
|
|
static const jint WINDOW_DEICONIFY = 204;
|
99 |
|
|
static const jint WINDOW_DESTROY = 201;
|
100 |
|
|
static const jint WINDOW_EXPOSE = 202;
|
101 |
|
|
static const jint WINDOW_ICONIFY = 203;
|
102 |
|
|
static const jint WINDOW_MOVED = 205;
|
103 |
|
|
::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) arg;
|
104 |
|
|
jint clickCount;
|
105 |
|
|
public: // actually package-private
|
106 |
|
|
jboolean consumed;
|
107 |
|
|
public:
|
108 |
|
|
::java::awt::Event * evt;
|
109 |
|
|
jint id;
|
110 |
|
|
jint key;
|
111 |
|
|
jint modifiers;
|
112 |
|
|
::java::lang::Object * target;
|
113 |
|
|
jlong when;
|
114 |
|
|
jint x;
|
115 |
|
|
jint y;
|
116 |
|
|
static ::java::lang::Class class$;
|
117 |
|
|
};
|
118 |
|
|
|
119 |
|
|
#endif // __java_awt_Event__
|