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 _TouchEventWrappingImplementation extends _UIEventWrappingImplementation i
mplements TouchEvent { | |
8 _TouchEventWrappingImplementation() : super() {} | |
9 | |
10 static create__TouchEventWrappingImplementation() native { | |
11 return new _TouchEventWrappingImplementation(); | |
12 } | |
13 | |
14 bool get altKey() { return _get_altKey(this); } | |
15 static bool _get_altKey(var _this) native; | |
16 | |
17 TouchList get changedTouches() { return _get_changedTouches(this); } | |
18 static TouchList _get_changedTouches(var _this) native; | |
19 | |
20 bool get ctrlKey() { return _get_ctrlKey(this); } | |
21 static bool _get_ctrlKey(var _this) native; | |
22 | |
23 bool get metaKey() { return _get_metaKey(this); } | |
24 static bool _get_metaKey(var _this) native; | |
25 | |
26 bool get shiftKey() { return _get_shiftKey(this); } | |
27 static bool _get_shiftKey(var _this) native; | |
28 | |
29 TouchList get targetTouches() { return _get_targetTouches(this); } | |
30 static TouchList _get_targetTouches(var _this) native; | |
31 | |
32 TouchList get touches() { return _get_touches(this); } | |
33 static TouchList _get_touches(var _this) native; | |
34 | |
35 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan
gedTouches, String type, DOMWindow view, int screenX, int screenY, int clientX,
int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) { | |
36 _initTouchEvent(this, touches, targetTouches, changedTouches, type, view, sc
reenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); | |
37 return; | |
38 } | |
39 static void _initTouchEvent(receiver, touches, targetTouches, changedTouches,
type, view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaK
ey) native; | |
40 | |
41 String get typeName() { return "TouchEvent"; } | |
42 } | |
OLD | NEW |