summaryrefslogtreecommitdiff
path: root/libjava/java/awt/AWTEvent.h
blob: 94d090a9ff503675cd904bd6facf5166f6815806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_AWTEvent__
#define __java_awt_AWTEvent__

#pragma interface

#include <java/util/EventObject.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class AWTEvent;
        class Event;
    }
  }
}

class java::awt::AWTEvent : public ::java::util::EventObject
{

public:
  AWTEvent(::java::awt::Event *);
  AWTEvent(::java::lang::Object *, jint);
  virtual void setSource(::java::lang::Object *);
  virtual jint getID();
  virtual ::java::lang::String * toString();
  virtual ::java::lang::String * paramString();
public: // actually protected
  virtual void consume();
  virtual jboolean isConsumed();
public: // actually package-private
  static jlong eventIdToMask(jint);
private:
  static const jlong serialVersionUID = -1825314779160409405LL;
public: // actually protected
  jint __attribute__((aligned(__alignof__( ::java::util::EventObject)))) id;
  jboolean consumed;
public: // actually package-private
  ::java::awt::AWTEvent * queueNext;
  JArray< jbyte > * bdata;
  jboolean isFocusManagerEvent;
public:
  static const jlong COMPONENT_EVENT_MASK = 1LL;
  static const jlong CONTAINER_EVENT_MASK = 2LL;
  static const jlong FOCUS_EVENT_MASK = 4LL;
  static const jlong KEY_EVENT_MASK = 8LL;
  static const jlong MOUSE_EVENT_MASK = 16LL;
  static const jlong MOUSE_MOTION_EVENT_MASK = 32LL;
  static const jlong WINDOW_EVENT_MASK = 64LL;
  static const jlong ACTION_EVENT_MASK = 128LL;
  static const jlong ADJUSTMENT_EVENT_MASK = 256LL;
  static const jlong ITEM_EVENT_MASK = 512LL;
  static const jlong TEXT_EVENT_MASK = 1024LL;
  static const jlong INPUT_METHOD_EVENT_MASK = 2048LL;
public: // actually package-private
  static const jlong INPUT_ENABLED_EVENT_MASK = 4096LL;
public:
  static const jlong PAINT_EVENT_MASK = 8192LL;
  static const jlong INVOCATION_EVENT_MASK = 16384LL;
  static const jlong HIERARCHY_EVENT_MASK = 32768LL;
  static const jlong HIERARCHY_BOUNDS_EVENT_MASK = 65536LL;
  static const jlong MOUSE_WHEEL_EVENT_MASK = 131072LL;
  static const jlong WINDOW_STATE_EVENT_MASK = 262144LL;
  static const jlong WINDOW_FOCUS_EVENT_MASK = 524288LL;
  static const jint RESERVED_ID_MAX = 1999;
  static ::java::lang::Class class$;
};

#endif // __java_awt_AWTEvent__