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 _WheelEventWrappingImplementation extends _UIEventWrappingImplementation i
mplements WheelEvent { | |
8 _WheelEventWrappingImplementation() : super() {} | |
9 | |
10 static create__WheelEventWrappingImplementation() native { | |
11 return new _WheelEventWrappingImplementation(); | |
12 } | |
13 | |
14 bool get altKey() { return _get_altKey(this); } | |
15 static bool _get_altKey(var _this) native; | |
16 | |
17 int get clientX() { return _get_clientX(this); } | |
18 static int _get_clientX(var _this) native; | |
19 | |
20 int get clientY() { return _get_clientY(this); } | |
21 static int _get_clientY(var _this) native; | |
22 | |
23 bool get ctrlKey() { return _get_ctrlKey(this); } | |
24 static bool _get_ctrlKey(var _this) native; | |
25 | |
26 bool get metaKey() { return _get_metaKey(this); } | |
27 static bool _get_metaKey(var _this) native; | |
28 | |
29 int get offsetX() { return _get_offsetX(this); } | |
30 static int _get_offsetX(var _this) native; | |
31 | |
32 int get offsetY() { return _get_offsetY(this); } | |
33 static int _get_offsetY(var _this) native; | |
34 | |
35 int get screenX() { return _get_screenX(this); } | |
36 static int _get_screenX(var _this) native; | |
37 | |
38 int get screenY() { return _get_screenY(this); } | |
39 static int _get_screenY(var _this) native; | |
40 | |
41 bool get shiftKey() { return _get_shiftKey(this); } | |
42 static bool _get_shiftKey(var _this) native; | |
43 | |
44 bool get webkitDirectionInvertedFromDevice() { return _get_webkitDirectionInve
rtedFromDevice(this); } | |
45 static bool _get_webkitDirectionInvertedFromDevice(var _this) native; | |
46 | |
47 int get wheelDelta() { return _get_wheelDelta(this); } | |
48 static int _get_wheelDelta(var _this) native; | |
49 | |
50 int get wheelDeltaX() { return _get_wheelDeltaX(this); } | |
51 static int _get_wheelDeltaX(var _this) native; | |
52 | |
53 int get wheelDeltaY() { return _get_wheelDeltaY(this); } | |
54 static int _get_wheelDeltaY(var _this) native; | |
55 | |
56 int get x() { return _get_x(this); } | |
57 static int _get_x(var _this) native; | |
58 | |
59 int get y() { return _get_y(this); } | |
60 static int _get_y(var _this) native; | |
61 | |
62 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, in
t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo
l shiftKey, bool metaKey) { | |
63 _initWebKitWheelEvent(this, wheelDeltaX, wheelDeltaY, view, screenX, screenY
, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); | |
64 return; | |
65 } | |
66 static void _initWebKitWheelEvent(receiver, wheelDeltaX, wheelDeltaY, view, sc
reenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey) native; | |
67 | |
68 String get typeName() { return "WheelEvent"; } | |
69 } | |
OLD | NEW |