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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface MouseEvent extends UIEvent { | 7 interface MouseEvent extends UIEvent { |
8 | 8 |
9 bool get altKey(); | 9 final bool altKey; |
10 | 10 |
11 int get button(); | 11 final int button; |
12 | 12 |
13 int get clientX(); | 13 final int clientX; |
14 | 14 |
15 int get clientY(); | 15 final int clientY; |
16 | 16 |
17 bool get ctrlKey(); | 17 final bool ctrlKey; |
18 | 18 |
19 Clipboard get dataTransfer(); | 19 final Clipboard dataTransfer; |
20 | 20 |
21 Node get fromElement(); | 21 final Node fromElement; |
22 | 22 |
23 bool get metaKey(); | 23 final bool metaKey; |
24 | 24 |
25 int get offsetX(); | 25 final int offsetX; |
26 | 26 |
27 int get offsetY(); | 27 final int offsetY; |
28 | 28 |
29 EventTarget get relatedTarget(); | 29 final EventTarget relatedTarget; |
30 | 30 |
31 int get screenX(); | 31 final int screenX; |
32 | 32 |
33 int get screenY(); | 33 final int screenY; |
34 | 34 |
35 bool get shiftKey(); | 35 final bool shiftKey; |
36 | 36 |
37 Node get toElement(); | 37 final Node toElement; |
38 | 38 |
39 int get x(); | 39 final int x; |
40 | 40 |
41 int get y(); | 41 final int y; |
42 | 42 |
43 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); | 43 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); |
44 } | 44 } |
OLD | NEW |