
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_event_MouseEvent__
#define __java_awt_event_MouseEvent__

#pragma interface

#include <java/awt/event/InputEvent.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
        class Point;
      namespace event
      {
          class MouseEvent;
      }
    }
  }
}

class java::awt::event::MouseEvent : public ::java::awt::event::InputEvent
{

public:
  MouseEvent(::java::awt::Component *, jint, jlong, jint, jint, jint, jint, jboolean, jint);
  MouseEvent(::java::awt::Component *, jint, jlong, jint, jint, jint, jint, jboolean);
  MouseEvent(::java::awt::Component *, jint, jlong, jint, jint, jint, jint, jint, jint, jboolean, jint);
  virtual jint getX();
  virtual jint getY();
  virtual ::java::awt::Point * getLocationOnScreen();
  virtual jint getXOnScreen();
  virtual jint getYOnScreen();
  virtual ::java::awt::Point * getPoint();
  virtual void translatePoint(jint, jint);
  virtual jint getClickCount();
  virtual jint getButton();
  virtual jboolean isPopupTrigger();
  static ::java::lang::String * getMouseModifiersText(jint);
  virtual ::java::lang::String * paramString();
private:
  void readObject(::java::io::ObjectInputStream *);
  static const jlong serialVersionUID = -991214153494842848LL;
public:
  static const jint MOUSE_FIRST = 500;
  static const jint MOUSE_LAST = 507;
  static const jint MOUSE_CLICKED = 500;
  static const jint MOUSE_PRESSED = 501;
  static const jint MOUSE_RELEASED = 502;
  static const jint MOUSE_MOVED = 503;
  static const jint MOUSE_ENTERED = 504;
  static const jint MOUSE_EXITED = 505;
  static const jint NOBUTTON = 0;
  static const jint BUTTON1 = 1;
  static const jint BUTTON2 = 2;
  static const jint BUTTON3 = 3;
  static const jint MOUSE_DRAGGED = 506;
  static const jint MOUSE_WHEEL = 507;
private:
  jint __attribute__((aligned(__alignof__( ::java::awt::event::InputEvent)))) x;
  jint y;
  jint absX;
  jint absY;
  jint clickCount;
  jint button;
  jboolean popupTrigger;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_event_MouseEvent__
