OLD | NEW |
1 | 1 |
2 class WheelEvent extends UIEvent native "*WheelEvent" { | 2 class WheelEvent extends UIEvent native "*WheelEvent" { |
3 | 3 |
4 bool altKey; | 4 bool get altKey() native "return this.altKey;"; |
5 | 5 |
6 int clientX; | 6 int get clientX() native "return this.clientX;"; |
7 | 7 |
8 int clientY; | 8 int get clientY() native "return this.clientY;"; |
9 | 9 |
10 bool ctrlKey; | 10 bool get ctrlKey() native "return this.ctrlKey;"; |
11 | 11 |
12 bool metaKey; | 12 bool get metaKey() native "return this.metaKey;"; |
13 | 13 |
14 int offsetX; | 14 int get offsetX() native "return this.offsetX;"; |
15 | 15 |
16 int offsetY; | 16 int get offsetY() native "return this.offsetY;"; |
17 | 17 |
18 int screenX; | 18 int get screenX() native "return this.screenX;"; |
19 | 19 |
20 int screenY; | 20 int get screenY() native "return this.screenY;"; |
21 | 21 |
22 bool shiftKey; | 22 bool get shiftKey() native "return this.shiftKey;"; |
23 | 23 |
24 bool webkitDirectionInvertedFromDevice; | 24 bool get webkitDirectionInvertedFromDevice() native "return this.webkitDirecti
onInvertedFromDevice;"; |
25 | 25 |
26 int wheelDelta; | 26 int get wheelDelta() native "return this.wheelDelta;"; |
27 | 27 |
28 int wheelDeltaX; | 28 int get wheelDeltaX() native "return this.wheelDeltaX;"; |
29 | 29 |
30 int wheelDeltaY; | 30 int get wheelDeltaY() native "return this.wheelDeltaY;"; |
31 | 31 |
32 int x; | 32 int get x() native "return this.x;"; |
33 | 33 |
34 int y; | 34 int get y() native "return this.y;"; |
35 | 35 |
36 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) native; | 36 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) native; |
37 } | 37 } |
OLD | NEW |