Debian Codegraph @

externs/ie_event.js

raw symbols SCIP
1 /*
2 * Copyright 2008 Closure Compiler Authors
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 /**
18 * @fileoverview Definitions for all the extensions over the
19 * W3C's event specification by IE in JScript. This file depends on
20 * w3c_event.js.
21 *
22 * @see http://msdn.microsoft.com/en-us/library/ms535863.aspx
23 * @externs
24 */
25
26 /** @type {string} */
27 Event.prototype.Abstract;
28
29 /** @type {boolean} */
30 Event.prototype.altKey;
31
32 /** @type {boolean} */
33 Event.prototype.altLeft;
34
35 /** @type {string} */
36 Event.prototype.Banner;
37
38 /** @type {number} */
39 Event.prototype.button;
40
41 /** @type {boolean} */
42 Event.prototype.cancelBubble;
43
44 /** @type {number} */
45 Event.prototype.clientX;
46
47 /** @type {number} */
48 Event.prototype.clientY;
49
50 /**
51 * @see http://msdn.microsoft.com/en-us/library/ms535220.aspx
52 * @type {(ClipboardData|undefined)}
53 */
54 Event.prototype.clipboardData;
55
56 /** @type {boolean} */
57 Event.prototype.contentOverflow;
58
59 /** @type {boolean} */
60 Event.prototype.ctrlKey;
61
62 /** @type {boolean} */
63 Event.prototype.ctrlLeft;
64
65 /** @type {string} */
66 Event.prototype.data;
67
68 /** @type {string} */
69 Event.prototype.dataFld;
70
71 Event.prototype.domain;
72
73 /** @type {Element} */
74 Event.prototype.fromElement;
75
76 /** @type {number} */
77 Event.prototype.keyCode;
78
79 /** @type {string} */
80 Event.prototype.MoreInfo;
81
82 /** @type {string} */
83 Event.prototype.nextPage;
84
85 /** @type {number} */
86 Event.prototype.offsetX;
87
88 /** @type {number} */
89 Event.prototype.offsetY;
90
91 /** @type {string} */
92 Event.prototype.propertyName;
93
94 /** @type {string} */
95 Event.prototype.qualifier;
96
97 /** @type {number} */
98 Event.prototype.reason;
99
100 /** @type {Object.<*,*>} */
101 Event.prototype.recordset;
102
103 /** @type {boolean} */
104 Event.prototype.repeat;
105
106 /** @type {(boolean|string|undefined)} */
107 Event.prototype.returnValue;
108
109 /** @type {string} */
110 Event.prototype.saveType;
111
112 Event.prototype.scheme;
113
114 /** @type {number} */
115 Event.prototype.screenX;
116
117 /** @type {number} */
118 Event.prototype.screenY;
119
120 /** @type {boolean} */
121 Event.prototype.shiftKey;
122
123 /** @type {boolean} */
124 Event.prototype.shiftLeft;
125
126 /** @type {Window} */
127 Event.prototype.source;
128
129 /** @type {Element} */
130 Event.prototype.srcElement;
131
132 Event.prototype.srcFilter;
133
134 /** @type {string} */
135 Event.prototype.srcUrn;
136
137 /** @type {Element} */
138 Event.prototype.toElement;
139
140 Event.prototype.userName;
141
142 /** @type {number} */
143 Event.prototype.wheelDelta;
144
145 /** @type {number} */
146 Event.prototype.x;
147
148 /** @type {number} */
149 Event.prototype.y;
150
151 /**
152 * @constructor
153 * @see http://msdn.microsoft.com/en-us/library/windows/apps/hh441257.aspx
154 */
155 function MSPointerPoint() {}
156
157 /** @type {number} */
158 MSPointerPoint.prototype.pointerId;
159
160 /** @type {number} */
161 MSPointerPoint.prototype.pointerType;
162
163 /**
164 * @constructor
165 * @extends {Event}
166 * @see http://msdn.microsoft.com/en-us/library/windows/apps/hh441233.aspx
167 */
168 function MSPointerEvent() {}
169
170 /** @type {number} */
171 MSPointerEvent.MSPOINTER_TYPE_MOUSE;
172
173 /** @type {number} */
174 MSPointerEvent.MSPOINTER_TYPE_PEN;
175
176 /** @type {number} */
177 MSPointerEvent.MSPOINTER_TYPE_TOUCH;
178
179 /** @type {number} */
180 MSPointerEvent.prototype.pointerId;
181
182 /** @type {number} */
183 MSPointerEvent.prototype.pointerType;
184
185 /**
186 * @param {string} typeArg
187 * @param {boolean} canBubbleArg
188 * @param {boolean} cancelableArg
189 * @param {Window} viewArg
190 * @param {number} detailArg
191 * @param {number} screenXArg
192 * @param {number} screenYArg
193 * @param {number} clientXArg
194 * @param {number} clientYArg
195 * @param {boolean} ctrlKeyArg
196 * @param {boolean} altKeyArg
197 * @param {boolean} shiftKeyArg
198 * @param {boolean} metaKeyArg
199 * @param {number} buttonArg
200 * @param {Element} relatedTargetArg
201 * @param {number} offsetXArg
202 * @param {number} offsetYArg
203 * @param {number} widthArg
204 * @param {number} heightArg
205 * @param {number} pressure
206 * @param {number} rotation
207 * @param {number} tiltX
208 * @param {number} tiltY
209 * @param {number} pointerIdArg
210 * @param {number} pointerType
211 * @param {number} hwTimestampArg
212 * @param {boolean} isPrimary
213 * @return {undefined}
214 * @see http://msdn.microsoft.com/en-us/library/windows/apps/hh441246.aspx
215 */
216 MSPointerEvent.prototype.initPointerEvent;
217
218 /**
219 * @constructor
220 * @see http://msdn.microsoft.com/en-us/library/ie/hh968249(v=vs.85).aspx
221 */
222 function MSGesture() {}
223
224 /**
225 * @type {Element}
226 */
227 MSGesture.prototype.target;
228
229 /**
230 * @param {number} pointerId
231 */
232 MSGesture.prototype.addPointer = function(pointerId) {};
233
234 MSGesture.prototype.stop = function() {};
235
236 /**
237 * @constructor
238 * @extends {Event}
239 * @see http://msdn.microsoft.com/en-us/library/ie/hh772076(v=vs.85).aspx
240 */
241 function MSGestureEvent() {}
242
243 /** @type {number} */
244 MSGestureEvent.prototype.expansion;
245
246 /** @type {!MSGesture} */
247 MSGestureEvent.prototype.gestureObject;
248
249 /** @type {number} */
250 MSGestureEvent.prototype.hwTimestamp;
251
252 /** @type {number} */
253 MSGestureEvent.prototype.rotation;
254
255 /** @type {number} */
256 MSGestureEvent.prototype.scale;
257
258 /** @type {number} */
259 MSGestureEvent.prototype.translationX;
260
261 /** @type {number} */
262 MSGestureEvent.prototype.translationY;
263
264 /** @type {number} */
265 MSGestureEvent.prototype.velocityAngular;
266
267 /** @type {number} */
268 MSGestureEvent.prototype.velocityExpansion;
269
270 /** @type {number} */
271 MSGestureEvent.prototype.velocityX;
272
273 /** @type {number} */
274 MSGestureEvent.prototype.velocityY;
275
276 /**
277 * @param {string} typeArg
278 * @param {boolean} canBubbleArg
279 * @param {boolean} cancelableArg
280 * @param {Window} viewArg
281 * @param {number} detailArg
282 * @param {number} screenXArg
283 * @param {number} screenYArg
284 * @param {number} clientXArg
285 * @param {number} clientYArg
286 * @param {number} offsetXArg
287 * @param {number} offsetYArg
288 * @param {number} translationXArg
289 * @param {number} translationYArg
290 * @param {number} scaleArg
291 * @param {number} expansionArg
292 * @param {number} rotationArg
293 * @param {number} velocityXArg
294 * @param {number} velocityYArg
295 * @param {number} velocityExpansionArg
296 * @param {number} velocityAngularArg
297 * @param {number} hwTimestampArg
298 * @param {EventTarget} relatedTargetArg
299 * @return {undefined}
300 * @see http://msdn.microsoft.com/en-us/library/windows/apps/hh441187.aspx
301 */
302 MSGestureEvent.prototype.initGestureEvent;