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 _EventWrappingImplementation extends DOMWrapperBase implements Event { | |
8 _EventWrappingImplementation() : super() {} | |
9 | |
10 static create__EventWrappingImplementation() native { | |
11 return new _EventWrappingImplementation(); | |
12 } | |
13 | |
14 bool get bubbles() { return _get_bubbles(this); } | |
15 static bool _get_bubbles(var _this) native; | |
16 | |
17 bool get cancelBubble() { return _get_cancelBubble(this); } | |
18 static bool _get_cancelBubble(var _this) native; | |
19 | |
20 void set cancelBubble(bool value) { _set_cancelBubble(this, value); } | |
21 static void _set_cancelBubble(var _this, bool value) native; | |
22 | |
23 bool get cancelable() { return _get_cancelable(this); } | |
24 static bool _get_cancelable(var _this) native; | |
25 | |
26 Clipboard get clipboardData() { return _get_clipboardData(this); } | |
27 static Clipboard _get_clipboardData(var _this) native; | |
28 | |
29 EventTarget get currentTarget() { return _get_currentTarget(this); } | |
30 static EventTarget _get_currentTarget(var _this) native; | |
31 | |
32 bool get defaultPrevented() { return _get_defaultPrevented(this); } | |
33 static bool _get_defaultPrevented(var _this) native; | |
34 | |
35 int get eventPhase() { return _get_eventPhase(this); } | |
36 static int _get_eventPhase(var _this) native; | |
37 | |
38 bool get returnValue() { return _get_returnValue(this); } | |
39 static bool _get_returnValue(var _this) native; | |
40 | |
41 void set returnValue(bool value) { _set_returnValue(this, value); } | |
42 static void _set_returnValue(var _this, bool value) native; | |
43 | |
44 EventTarget get srcElement() { return _get_srcElement(this); } | |
45 static EventTarget _get_srcElement(var _this) native; | |
46 | |
47 EventTarget get target() { return _get_target(this); } | |
48 static EventTarget _get_target(var _this) native; | |
49 | |
50 int get timeStamp() { return _get_timeStamp(this); } | |
51 static int _get_timeStamp(var _this) native; | |
52 | |
53 String get type() { return _get_type(this); } | |
54 static String _get_type(var _this) native; | |
55 | |
56 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) { | |
57 _initEvent(this, eventTypeArg, canBubbleArg, cancelableArg); | |
58 return; | |
59 } | |
60 static void _initEvent(receiver, eventTypeArg, canBubbleArg, cancelableArg) na
tive; | |
61 | |
62 void preventDefault() { | |
63 _preventDefault(this); | |
64 return; | |
65 } | |
66 static void _preventDefault(receiver) native; | |
67 | |
68 void stopImmediatePropagation() { | |
69 _stopImmediatePropagation(this); | |
70 return; | |
71 } | |
72 static void _stopImmediatePropagation(receiver) native; | |
73 | |
74 void stopPropagation() { | |
75 _stopPropagation(this); | |
76 return; | |
77 } | |
78 static void _stopPropagation(receiver) native; | |
79 | |
80 String get typeName() { return "Event"; } | |
81 } | |
OLD | NEW |