OLD | NEW |
1 | 1 |
2 class MouseEventJs extends UIEventJs implements MouseEvent native "*MouseEvent"
{ | 2 class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent
" { |
3 | 3 |
4 bool get altKey() native "return this.altKey;"; | 4 bool get altKey() native "return this.altKey;"; |
5 | 5 |
6 int get button() native "return this.button;"; | 6 int get button() native "return this.button;"; |
7 | 7 |
8 int get clientX() native "return this.clientX;"; | 8 int get clientX() native "return this.clientX;"; |
9 | 9 |
10 int get clientY() native "return this.clientY;"; | 10 int get clientY() native "return this.clientY;"; |
11 | 11 |
12 bool get ctrlKey() native "return this.ctrlKey;"; | 12 bool get ctrlKey() native "return this.ctrlKey;"; |
13 | 13 |
14 ClipboardJs get dataTransfer() native "return this.dataTransfer;"; | 14 _ClipboardJs get dataTransfer() native "return this.dataTransfer;"; |
15 | 15 |
16 NodeJs get fromElement() native "return this.fromElement;"; | 16 _NodeJs get fromElement() native "return this.fromElement;"; |
17 | 17 |
18 bool get metaKey() native "return this.metaKey;"; | 18 bool get metaKey() native "return this.metaKey;"; |
19 | 19 |
20 int get offsetX() native "return this.offsetX;"; | 20 int get offsetX() native "return this.offsetX;"; |
21 | 21 |
22 int get offsetY() native "return this.offsetY;"; | 22 int get offsetY() native "return this.offsetY;"; |
23 | 23 |
24 EventTargetJs get relatedTarget() native "return this.relatedTarget;"; | 24 _EventTargetJs get relatedTarget() native "return this.relatedTarget;"; |
25 | 25 |
26 int get screenX() native "return this.screenX;"; | 26 int get screenX() native "return this.screenX;"; |
27 | 27 |
28 int get screenY() native "return this.screenY;"; | 28 int get screenY() native "return this.screenY;"; |
29 | 29 |
30 bool get shiftKey() native "return this.shiftKey;"; | 30 bool get shiftKey() native "return this.shiftKey;"; |
31 | 31 |
32 NodeJs get toElement() native "return this.toElement;"; | 32 _NodeJs get toElement() native "return this.toElement;"; |
33 | 33 |
34 int get webkitMovementX() native "return this.webkitMovementX;"; | 34 int get webkitMovementX() native "return this.webkitMovementX;"; |
35 | 35 |
36 int get webkitMovementY() native "return this.webkitMovementY;"; | 36 int get webkitMovementY() native "return this.webkitMovementY;"; |
37 | 37 |
38 int get x() native "return this.x;"; | 38 int get x() native "return this.x;"; |
39 | 39 |
40 int get y() native "return this.y;"; | 40 int get y() native "return this.y;"; |
41 | 41 |
42 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindowJs
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlK
ey, bool altKey, bool shiftKey, bool metaKey, int button, EventTargetJs relatedT
arget) native; | 42 void initMouseEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrl
Key, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetJs relate
dTarget) native; |
43 } | 43 } |
OLD | NEW |