summaryrefslogtreecommitdiff
path: root/libjava/java/awt/EventQueue.h
blob: 71da1550e98379d342b0f9bfcc30514c2e5aa6f3 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_EventQueue__
#define __java_awt_EventQueue__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class AWTEvent;
        class EventDispatchThread;
        class EventQueue;
        class EventQueue$Queue;
    }
  }
}

class java::awt::EventQueue : public ::java::lang::Object
{

  jboolean isShutdown();
public:
  EventQueue();
  virtual ::java::awt::AWTEvent * getNextEvent();
private:
  ::java::awt::AWTEvent * getNextEventImpl(jboolean);
public:
  virtual ::java::awt::AWTEvent * peekEvent();
  virtual ::java::awt::AWTEvent * peekEvent(jint);
  virtual void postEvent(::java::awt::AWTEvent *);
private:
  void postEventImpl(::java::awt::AWTEvent *);
  void postEventImpl(::java::awt::AWTEvent *, jint);
public:
  static void invokeAndWait(::java::lang::Runnable *);
  static void invokeLater(::java::lang::Runnable *);
  static jboolean isDispatchThread();
  static ::java::awt::AWTEvent * getCurrentEvent();
  virtual void push(::java::awt::EventQueue *);
public: // actually protected
  virtual void pop();
  virtual void dispatchEvent(::java::awt::AWTEvent *);
public:
  static jlong getMostRecentEventTime();
private:
  static const jint NORM_PRIORITY = 0;
  static const jint LOW_PRIORITY = 1;
  JArray< ::java::awt::EventQueue$Queue * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) queues;
  ::java::awt::EventQueue * next;
  ::java::awt::EventQueue * prev;
  ::java::awt::AWTEvent * currentEvent;
  jlong lastWhen;
  ::java::awt::EventDispatchThread * dispatchThread;
  jboolean nativeLoopRunning;
public: // actually package-private
  static jboolean $assertionsDisabled;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_EventQueue__