summaryrefslogtreecommitdiff
path: root/libjava/java/awt/event/MouseEvent.h
blob: 82ef6c22d12db6b8b355105777e67fe0832747f2 (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_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__