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 UIEvent extends Event default UIEventWrappingImplementation { | 5 interface UIEvent extends Event default UIEventWrappingImplementation { |
6 | 6 |
7 UIEvent(String type, Window view, int detail, [bool canBubble, | 7 UIEvent(String type, Window view, int detail, [bool canBubble, |
8 bool cancelable]); | 8 bool cancelable]); |
9 | 9 |
10 int get charCode(); | 10 int get charCode; |
11 | 11 |
12 int get detail(); | 12 int get detail; |
13 | 13 |
14 int get keyCode(); | 14 int get keyCode; |
15 | 15 |
16 int get layerX(); | 16 int get layerX; |
17 | 17 |
18 int get layerY(); | 18 int get layerY; |
19 | 19 |
20 int get pageX(); | 20 int get pageX; |
21 | 21 |
22 int get pageY(); | 22 int get pageY; |
23 | 23 |
24 Window get view(); | 24 Window get view; |
25 | 25 |
26 int get which(); | 26 int get which; |
27 } | 27 } |
OLD | NEW |