* doc/xml/faq.xml (a-how_to_set_paths): Expand FAQ answer.
[official-gcc.git] / libjava / java / awt / AWTEvent.h
blob94d090a9ff503675cd904bd6facf5166f6815806
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_AWTEvent__
5 #define __java_awt_AWTEvent__
7 #pragma interface
9 #include <java/util/EventObject.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace awt
18 class AWTEvent;
19 class Event;
24 class java::awt::AWTEvent : public ::java::util::EventObject
27 public:
28 AWTEvent(::java::awt::Event *);
29 AWTEvent(::java::lang::Object *, jint);
30 virtual void setSource(::java::lang::Object *);
31 virtual jint getID();
32 virtual ::java::lang::String * toString();
33 virtual ::java::lang::String * paramString();
34 public: // actually protected
35 virtual void consume();
36 virtual jboolean isConsumed();
37 public: // actually package-private
38 static jlong eventIdToMask(jint);
39 private:
40 static const jlong serialVersionUID = -1825314779160409405LL;
41 public: // actually protected
42 jint __attribute__((aligned(__alignof__( ::java::util::EventObject)))) id;
43 jboolean consumed;
44 public: // actually package-private
45 ::java::awt::AWTEvent * queueNext;
46 JArray< jbyte > * bdata;
47 jboolean isFocusManagerEvent;
48 public:
49 static const jlong COMPONENT_EVENT_MASK = 1LL;
50 static const jlong CONTAINER_EVENT_MASK = 2LL;
51 static const jlong FOCUS_EVENT_MASK = 4LL;
52 static const jlong KEY_EVENT_MASK = 8LL;
53 static const jlong MOUSE_EVENT_MASK = 16LL;
54 static const jlong MOUSE_MOTION_EVENT_MASK = 32LL;
55 static const jlong WINDOW_EVENT_MASK = 64LL;
56 static const jlong ACTION_EVENT_MASK = 128LL;
57 static const jlong ADJUSTMENT_EVENT_MASK = 256LL;
58 static const jlong ITEM_EVENT_MASK = 512LL;
59 static const jlong TEXT_EVENT_MASK = 1024LL;
60 static const jlong INPUT_METHOD_EVENT_MASK = 2048LL;
61 public: // actually package-private
62 static const jlong INPUT_ENABLED_EVENT_MASK = 4096LL;
63 public:
64 static const jlong PAINT_EVENT_MASK = 8192LL;
65 static const jlong INVOCATION_EVENT_MASK = 16384LL;
66 static const jlong HIERARCHY_EVENT_MASK = 32768LL;
67 static const jlong HIERARCHY_BOUNDS_EVENT_MASK = 65536LL;
68 static const jlong MOUSE_WHEEL_EVENT_MASK = 131072LL;
69 static const jlong WINDOW_STATE_EVENT_MASK = 262144LL;
70 static const jlong WINDOW_FOCUS_EVENT_MASK = 524288LL;
71 static const jint RESERVED_ID_MAX = 1999;
72 static ::java::lang::Class class$;
75 #endif // __java_awt_AWTEvent__