OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 interface WheelEvent extends UIEvent default WheelEventWrappingImplementation { | 5 interface WheelEvent extends UIEvent default WheelEventWrappingImplementation { |
6 | 6 |
7 WheelEvent(int deltaX, int deltaY, Window view, int screenX, int screenY, | 7 WheelEvent(int deltaX, int deltaY, Window view, int screenX, int screenY, |
8 int clientX, int clientY, [bool ctrlKey, bool altKey, bool shiftKey, | 8 int clientX, int clientY, [bool ctrlKey, bool altKey, bool shiftKey, |
9 bool metaKey]); | 9 bool metaKey]); |
10 | 10 |
11 bool get altKey(); | 11 bool get altKey; |
12 | 12 |
13 int get clientX(); | 13 int get clientX; |
14 | 14 |
15 int get clientY(); | 15 int get clientY; |
16 | 16 |
17 bool get ctrlKey(); | 17 bool get ctrlKey; |
18 | 18 |
19 bool get metaKey(); | 19 bool get metaKey; |
20 | 20 |
21 int get offsetX(); | 21 int get offsetX; |
22 | 22 |
23 int get offsetY(); | 23 int get offsetY; |
24 | 24 |
25 int get screenX(); | 25 int get screenX; |
26 | 26 |
27 int get screenY(); | 27 int get screenY; |
28 | 28 |
29 bool get shiftKey(); | 29 bool get shiftKey; |
30 | 30 |
31 int get wheelDelta(); | 31 int get wheelDelta; |
32 | 32 |
33 int get wheelDeltaX(); | 33 int get wheelDeltaX; |
34 | 34 |
35 int get wheelDeltaY(); | 35 int get wheelDeltaY; |
36 | 36 |
37 int get x(); | 37 int get x; |
38 | 38 |
39 int get y(); | 39 int get y; |
40 } | 40 } |
OLD | NEW |