OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class _MouseEventWrappingImplementation extends _UIEventWrappingImplementation i
mplements MouseEvent { | |
8 _MouseEventWrappingImplementation() : super() {} | |
9 | |
10 static create__MouseEventWrappingImplementation() native { | |
11 return new _MouseEventWrappingImplementation(); | |
12 } | |
13 | |
14 bool get altKey() { return _get_altKey(this); } | |
15 static bool _get_altKey(var _this) native; | |
16 | |
17 int get button() { return _get_button(this); } | |
18 static int _get_button(var _this) native; | |
19 | |
20 int get clientX() { return _get_clientX(this); } | |
21 static int _get_clientX(var _this) native; | |
22 | |
23 int get clientY() { return _get_clientY(this); } | |
24 static int _get_clientY(var _this) native; | |
25 | |
26 bool get ctrlKey() { return _get_ctrlKey(this); } | |
27 static bool _get_ctrlKey(var _this) native; | |
28 | |
29 Clipboard get dataTransfer() { return _get_dataTransfer(this); } | |
30 static Clipboard _get_dataTransfer(var _this) native; | |
31 | |
32 Node get fromElement() { return _get_fromElement(this); } | |
33 static Node _get_fromElement(var _this) native; | |
34 | |
35 bool get metaKey() { return _get_metaKey(this); } | |
36 static bool _get_metaKey(var _this) native; | |
37 | |
38 int get offsetX() { return _get_offsetX(this); } | |
39 static int _get_offsetX(var _this) native; | |
40 | |
41 int get offsetY() { return _get_offsetY(this); } | |
42 static int _get_offsetY(var _this) native; | |
43 | |
44 EventTarget get relatedTarget() { return _get_relatedTarget(this); } | |
45 static EventTarget _get_relatedTarget(var _this) native; | |
46 | |
47 int get screenX() { return _get_screenX(this); } | |
48 static int _get_screenX(var _this) native; | |
49 | |
50 int get screenY() { return _get_screenY(this); } | |
51 static int _get_screenY(var _this) native; | |
52 | |
53 bool get shiftKey() { return _get_shiftKey(this); } | |
54 static bool _get_shiftKey(var _this) native; | |
55 | |
56 Node get toElement() { return _get_toElement(this); } | |
57 static Node _get_toElement(var _this) native; | |
58 | |
59 int get x() { return _get_x(this); } | |
60 static int _get_x(var _this) native; | |
61 | |
62 int get y() { return _get_y(this); } | |
63 static int _get_y(var _this) native; | |
64 | |
65 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi
ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey
, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge
t) { | |
66 _initMouseEvent(this, type, canBubble, cancelable, view, detail, screenX, sc
reenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarg
et); | |
67 return; | |
68 } | |
69 static void _initMouseEvent(receiver, type, canBubble, cancelable, view, detai
l, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, butto
n, relatedTarget) native; | |
70 | |
71 String get typeName() { return "MouseEvent"; } | |
72 } | |
OLD | NEW |