// 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>

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 jint getID () { return id; }
  virtual ::java::lang::String *paramString ();
  virtual ::java::lang::String *toString ();
public:  // actually protected
  virtual void consume ();
  virtual jboolean isConsumed () { return consumed; }
  jboolean consumed;
  jint id;
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 jint RESERVED_ID_MAX = 1999L;
  static const jlong INPUT_METHOD_EVENT_MASK = 2048LL;
  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 ::java::lang::Class class$;
};

#endif /* __java_awt_AWTEvent__ */
