| 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._wrap(ptr) : super._wrap(ptr) {} | |
| 9 | |
| 10 bool get bubbles() { return _ptr.bubbles; } | |
| 11 | |
| 12 bool get cancelBubble() { return _ptr.cancelBubble; } | |
| 13 | |
| 14 void set cancelBubble(bool value) { _ptr.cancelBubble = value; } | |
| 15 | |
| 16 bool get cancelable() { return _ptr.cancelable; } | |
| 17 | |
| 18 EventTarget get currentTarget() { return LevelDom.wrapEventTarget(_ptr.current
Target); } | |
| 19 | |
| 20 bool get defaultPrevented() { return _ptr.defaultPrevented; } | |
| 21 | |
| 22 int get eventPhase() { return _ptr.eventPhase; } | |
| 23 | |
| 24 bool get returnValue() { return _ptr.returnValue; } | |
| 25 | |
| 26 void set returnValue(bool value) { _ptr.returnValue = value; } | |
| 27 | |
| 28 EventTarget get srcElement() { return LevelDom.wrapEventTarget(_ptr.srcElement
); } | |
| 29 | |
| 30 EventTarget get target() { return LevelDom.wrapEventTarget(_ptr.target); } | |
| 31 | |
| 32 int get timeStamp() { return _ptr.timeStamp; } | |
| 33 | |
| 34 String get type() { return _ptr.type; } | |
| 35 | |
| 36 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) { | |
| 37 _ptr.initEvent(eventTypeArg, canBubbleArg, cancelableArg); | |
| 38 return; | |
| 39 } | |
| 40 | |
| 41 void preventDefault() { | |
| 42 _ptr.preventDefault(); | |
| 43 return; | |
| 44 } | |
| 45 | |
| 46 void stopImmediatePropagation() { | |
| 47 _ptr.stopImmediatePropagation(); | |
| 48 return; | |
| 49 } | |
| 50 | |
| 51 void stopPropagation() { | |
| 52 _ptr.stopPropagation(); | |
| 53 return; | |
| 54 } | |
| 55 } | |
| OLD | NEW |