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 _KeyboardEventWrappingImplementation extends _UIEventWrappingImplementatio
n implements KeyboardEvent { | |
8 _KeyboardEventWrappingImplementation() : super() {} | |
9 | |
10 static create__KeyboardEventWrappingImplementation() native { | |
11 return new _KeyboardEventWrappingImplementation(); | |
12 } | |
13 | |
14 bool get altGraphKey() { return _get_altGraphKey(this); } | |
15 static bool _get_altGraphKey(var _this) native; | |
16 | |
17 bool get altKey() { return _get_altKey(this); } | |
18 static bool _get_altKey(var _this) native; | |
19 | |
20 bool get ctrlKey() { return _get_ctrlKey(this); } | |
21 static bool _get_ctrlKey(var _this) native; | |
22 | |
23 String get keyIdentifier() { return _get_keyIdentifier(this); } | |
24 static String _get_keyIdentifier(var _this) native; | |
25 | |
26 int get keyLocation() { return _get_keyLocation(this); } | |
27 static int _get_keyLocation(var _this) native; | |
28 | |
29 bool get metaKey() { return _get_metaKey(this); } | |
30 static bool _get_metaKey(var _this) native; | |
31 | |
32 bool get shiftKey() { return _get_shiftKey(this); } | |
33 static bool _get_shiftKey(var _this) native; | |
34 | |
35 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow
view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh
iftKey, bool metaKey, bool altGraphKey) { | |
36 _initKeyboardEvent(this, type, canBubble, cancelable, view, keyIdentifier, k
eyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); | |
37 return; | |
38 } | |
39 static void _initKeyboardEvent(receiver, type, canBubble, cancelable, view, ke
yIdentifier, keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey) nativ
e; | |
40 | |
41 String get typeName() { return "KeyboardEvent"; } | |
42 } | |
OLD | NEW |