OLD | NEW |
1 | 1 |
2 class Event native "*Event" { | 2 class EventJS implements Event native "*Event" { |
3 | 3 |
4 static final int AT_TARGET = 2; | 4 static final int AT_TARGET = 2; |
5 | 5 |
6 static final int BLUR = 8192; | 6 static final int BLUR = 8192; |
7 | 7 |
8 static final int BUBBLING_PHASE = 3; | 8 static final int BUBBLING_PHASE = 3; |
9 | 9 |
10 static final int CAPTURING_PHASE = 1; | 10 static final int CAPTURING_PHASE = 1; |
11 | 11 |
12 static final int CHANGE = 32768; | 12 static final int CHANGE = 32768; |
(...skipping 27 matching lines...) Expand all Loading... |
40 static final int SELECT = 16384; | 40 static final int SELECT = 16384; |
41 | 41 |
42 bool get bubbles() native "return this.bubbles;"; | 42 bool get bubbles() native "return this.bubbles;"; |
43 | 43 |
44 bool get cancelBubble() native "return this.cancelBubble;"; | 44 bool get cancelBubble() native "return this.cancelBubble;"; |
45 | 45 |
46 void set cancelBubble(bool value) native "this.cancelBubble = value;"; | 46 void set cancelBubble(bool value) native "this.cancelBubble = value;"; |
47 | 47 |
48 bool get cancelable() native "return this.cancelable;"; | 48 bool get cancelable() native "return this.cancelable;"; |
49 | 49 |
50 Clipboard get clipboardData() native "return this.clipboardData;"; | 50 ClipboardJS get clipboardData() native "return this.clipboardData;"; |
51 | 51 |
52 EventTarget get currentTarget() native "return this.currentTarget;"; | 52 EventTargetJS get currentTarget() native "return this.currentTarget;"; |
53 | 53 |
54 bool get defaultPrevented() native "return this.defaultPrevented;"; | 54 bool get defaultPrevented() native "return this.defaultPrevented;"; |
55 | 55 |
56 int get eventPhase() native "return this.eventPhase;"; | 56 int get eventPhase() native "return this.eventPhase;"; |
57 | 57 |
58 bool get returnValue() native "return this.returnValue;"; | 58 bool get returnValue() native "return this.returnValue;"; |
59 | 59 |
60 void set returnValue(bool value) native "this.returnValue = value;"; | 60 void set returnValue(bool value) native "this.returnValue = value;"; |
61 | 61 |
62 EventTarget get srcElement() native "return this.srcElement;"; | 62 EventTargetJS get srcElement() native "return this.srcElement;"; |
63 | 63 |
64 EventTarget get target() native "return this.target;"; | 64 EventTargetJS get target() native "return this.target;"; |
65 | 65 |
66 int get timeStamp() native "return this.timeStamp;"; | 66 int get timeStamp() native "return this.timeStamp;"; |
67 | 67 |
68 String get type() native "return this.type;"; | 68 String get type() native "return this.type;"; |
69 | 69 |
70 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat
ive; | 70 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat
ive; |
71 | 71 |
72 void preventDefault() native; | 72 void preventDefault() native; |
73 | 73 |
74 void stopImmediatePropagation() native; | 74 void stopImmediatePropagation() native; |
75 | 75 |
76 void stopPropagation() native; | 76 void stopPropagation() native; |
77 | 77 |
78 var dartObjectLocalStorage; | 78 var dartObjectLocalStorage; |
79 | 79 |
80 String get typeName() native; | 80 String get typeName() native; |
81 } | 81 } |
OLD | NEW |