connection should know work fine
[gsk.git] / GestureDetectionApp / .metadata / .plugins / org.eclipse.wst.jsdt.core / libraries / browserWindow.js
blob7a7d25c9e422e3d3ce70889b4c02eb56c57285fd
1 /*******************************************************************************
2  * Copyright (c) 2008, 2009 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 function BarProp(){};
12 BarProp.prototype = new Array();
14 /**
15  * Object Window()
16  * @super Global
17  * @constructor
18  * @since Common Usage, no standard
20 function Window(){};
21 Window.prototype = new Global();
22 Window.prototype.self = new Window();
23 Window.prototype.window = new Window();
24 Window.prototype.frames = new Array();
25 /**
26  * Property closed
27  * @type Boolean
28  * @memberOf Window
29  */
30 Window.prototype.closed = new Boolean();
31 /**
32  * Property defaultStatus
33  * @type String
34  * @memberOf Window
35  */
36 Window.prototype.defaultStatus = "";
37 /**
38  * Property document
39  * @type Document
40  * @memberOf Window
41  */
42 Window.prototype.document= new HTMLDocument();
43 /**
44  * Property history
45  * @type History
46  * @memberOf Window
47  */
48 Window.prototype.history= new History();
49 /**
50  * Property location
51  * @type Location
52  * @memberOf Window
53  */
54 Window.prototype.location=new Location();
55 /**
56  * Property name
57  * @type String
58  * @memberOf Window
59  */
60 Window.prototype.name = "";
61 /**
62  * Property navigator
63  * @type Navigator
64  * @memberOf Window
65  */
66 Window.prototype.navigator = new Navigator();
67 /**
68  * Property opener
69  * @type Window
70  * @memberOf Window
71  */
72 Window.prototype.opener = new Window();
73 /**
74  * Property outerWidth
75  * @type Number
76  * @memberOf Window
77  */
78 Window.prototype.outerWidth = 0;
79 /**
80  * Property outerHeight
81  * @type Number
82  * @memberOf Window
83  */
84 Window.prototype.outerHeight = 0;
85 /**
86  * Property pageXOffset
87  * @type Number
88  * @memberOf Window
89  */
90 Window.prototype.pageXOffset = 0;
91 /**
92  * Property pageYOffset
93  * @type Number
94  * @memberOf Window
95  */
96 Window.prototype.pageYOffset = 0;
97 /**
98  * Property parent
99  * @type Window
100  * @memberOf Window
101  */
102 Window.prototype.parent = new Window();
104  * Property screen
105  * @type Screen
106  * @memberOf Window
107  */
108 Window.prototype.screen = new Screen();
110  * Property status
111  * @type String
112  * @memberOf Window
113  */
114 Window.prototype.status = "";
116  * Property top
117  * @type Window
118  * @memberOf Window
119  */
120 Window.prototype.top = new Window();
124  * These properties may need to be moved into a browswer specific library.
125  */
127  /**
128  * Property innerWidth
129  * @type Number
130  * @memberOf Window
131  */
132 Window.prototype.innerWidth = 0;
134  * Property innerHeight
135  * @type Number
136  * @memberOf Window
137  */
138 Window.prototype.innerHeight = 0;
140  * Property screenX
141  * @type Number
142  * @memberOf Window
143  */
144 Window.prototype.screenX = 0;
146  * Property screenY
147  * @type Number
148  * @memberOf Window
149  */
150 Window.prototype.screenY = 0;
152  * Property screenLeft
153  * @type Number
154  * @memberOf Window
155  */
156 Window.prototype.screenLeft = 0;
158  * Property screenTop
159  * @type Number
160  * @memberOf Window
161  */
162 Window.prototype.screenTop = 0;
163 Window.prototype.event = new Object();
164 Window.prototype.length = 0;
165 Window.prototype.scrollbars= new BarProp();
166 Window.prototype.scrollX=0;
167 Window.prototype.scrollY=0;
168 Window.prototype.content= new Window();
169 Window.prototype.menubar= new BarProp();
170 Window.prototype.toolbar= new BarProp();
171 Window.prototype.locationbar= new BarProp();
172 Window.prototype.personalbar= new BarProp();
173 Window.prototype.statusbar= new BarProp();
174 Window.prototype.directories= new BarProp();
175 Window.prototype.scrollMaxX=0;
176 Window.prototype.scrollMaxY=0;
177 Window.prototype.fullScreen="";
178 Window.prototype.frameElement="";
179 Window.prototype.sessionStorage="";
180 /* End properites */
183  * function alert() 
184  * @param {String} arg
185  * @memberOf  Window
186  */
187 Window.prototype.alert = function(arg){};
189  * function blur() 
190  * @memberOf  Window
191  */
192 Window.prototype.blur = function(){};
194  * function clearInterval(arg) 
195  * @param arg
196  * @memberOf  Window
197  */
198 Window.prototype.clearInterval = function(arg){};
200  * function clearTimeout(arg) 
201  * @param arg
202  * @memberOf  Window
203  */
204 Window.prototype.clearTimeout = function(arg){};
206  * function close() 
207  * @memberOf  Window
208  */
209 Window.prototype.close = function(){};
211  * function confirm() 
212  * @param {String} arg
213  * @memberOf  Window
214  * @returns {Boolean}
215  */
216 Window.prototype.confirm = function(arg){return false;};
218  * function focus() 
219  * @memberOf  Window
220  */
221 Window.prototype.focus = function(){};
223  * function getComputedStyle(arg1, arg2) 
224  * @param {Element} arg1
225  * @param {String} arg2
226  * @memberOf  Window
227  * @returns {Object}
228  */
229 Window.prototype.getComputedStyle = function(arg1,arg2){return new Object();};
231  * function moveTo(arg1, arg2) 
232  * @param {Number} arg1
233  * @param {Number} arg2
234  * @memberOf  Window
235  */
236 Window.prototype.moveTo = function(arg1,arg2){};
238  * function moveBy(arg1, arg2) 
239  * @param {Number} arg1
240  * @param {Number} arg2
241  * @memberOf  Window
242  */
243 Window.prototype.moveBy = function(arg1,arg2){};
245  * function open(optionalArg1, optionalArg2, optionalArg3, optionalArg4) 
246  * @param {String} optionalArg1
247  * @param {String} optionalArg2
248  * @param {String} optionalArg3
249  * @param {Boolean} optionalArg4
250  * @memberOf  Window
251  * @returns {Window}
252  */
253 Window.prototype.open = function(optionalArg1, optionalArg2, optionalArg3, optionalArg4){return new Window();};
255  * function print() 
256  * @memberOf  Window
257  */
258 Window.prototype.print = function(){};
260  * function prompt(arg1, arg2) 
261  * @param {String} arg1
262  * @param {String} arg2
263  * @memberOf  Window
264  * @returns {String}
265  */
266 Window.prototype.prompt = function(){return "";};
268  * function resizeTo(arg1, arg2) 
269  * @param {Number} arg1
270  * @param {Number} arg2
271  * @memberOf  Window
272  */
273 Window.prototype.resizeTo=function(arg1,arg2){};
275  * function resizeBy(arg1, arg2) 
276  * @param {Number} arg1
277  * @param {Number} arg2
278  * @memberOf  Window
279  */
280 Window.prototype.resizeBy=function(arg1,arg2){};
282  * function scrollTo(arg1, arg2) 
283  * @param {Number} arg1
284  * @param {Number} arg2
285  * @memberOf  Window
286  */
287 Window.prototype.scrollTo=function(arg1,arg2){};
289  * function scrollBy(arg1, arg2) 
290  * @param {Number} arg1
291  * @param {Number} arg2
292  * @memberOf  Window
293  */
294 Window.prototype.scrollBy=function(arg1,arg2){};
296  * function setInterval(arg1, arg2) 
297  * @param {Object} arg1
298  * @param {Number} arg2
299  * @memberOf  Window
300  * @returns {Object}
301  */
302 Window.prototype.setInterval=function(arg1, arg2){return new Object();};
304  * function setTimeout(arg1, arg2) 
305  * @param {Object} arg1
306  * @param {Number} arg2
307  * @memberOf  Window
308  * @returns {Object}
309  */
310 Window.prototype.setTimeout=function(arg1, arg2){return new Object();};
312  * function atob(arg) 
313  * @param {String} arg
314  * @memberOf  Window
315  * @returns {String}
316  */
317 Window.prototype.atob=function(arg){return "";};
319  * function btoa(arg) 
320  * @param {String} arg
321  * @memberOf  Window
322  * @returns {String}
323  */
324 Window.prototype.btoa=function(arg){return "";};
326  * function setResizable(arg) 
327  * @param {Boolean} arg
328  * @memberOf  Window
329  */
330 Window.prototype.setResizable=function(arg){};
332 Window.prototype.captureEvents=function(arg1){};
333 Window.prototype.releaseEvents=function(arg1){};
334 Window.prototype.routeEvent=function(arg1){};
335 Window.prototype.enableExternalCapture=function(){};
336 Window.prototype.disableExternalCapture=function(){};
337 Window.prototype.find=function(){};
338 Window.prototype.back=function(){};
339 Window.prototype.forward=function(){};
340 Window.prototype.home=function(){};
341 Window.prototype.stop=function(){};
342 Window.prototype.scroll=function(arg1,arg2){};
345  * These functions may need to be moved into a browser specific library.
346  */
347 Window.prototype.dispatchEvent=function(arg1){};
348 Window.prototype.removeEventListener=function(arg1,arg2,arg3){};
349 /* End functions */
352   * Object History()
353   * @super Object
354   * @constructor
355   * @since Common Usage, no standard
356  */
357 function History(){};
358 History.prototype=new Object();
359 History.prototype.history = new History();
361  * Property length
362  * @type Number
363  * @memberOf History
364  */
365 History.prototype.length = 0;
367  * function back()
368  * @memberOf History
369  */
370 History.prototype.back = function(){};
372  * function forward()
373  * @memberOf History
374  */
375 History.prototype.forward = function(){};
377  * function back()
378  * @param arg
379  * @memberOf History
380  */
381 History.prototype.go = function(arg){};
384   * Object Location()
385   * @super Object
386   * @constructor
387   * @since Common Usage, no standard
388  */
389 function Location(){};
390 Location.prototype = new Object();
391 Location.prototype.location = new Location();
393  * Property hash
394  * @type String
395  * @memberOf Location
396  */
397 Location.prototype.hash = "";
399  * Property host
400  * @type String
401  * @memberOf Location
402  */
403 Location.prototype.host = "";
405  * Property hostname
406  * @type String
407  * @memberOf Location
408  */
409 Location.prototype.hostname = "";
411  * Property href
412  * @type String
413  * @memberOf Location
414  */
415 Location.prototype.href = "";
417  * Property pathname
418  * @type String
419  * @memberOf Location
420  */
421 Location.prototype.pathname = "";
423  * Property port
424  * @type String
425  * @memberOf Location
426  */
427 Location.prototype.port = "";
429  * Property protocol
430  * @type String
431  * @memberOf Location
432  */
433 Location.prototype.protocol = "";
435  * Property search
436  * @type String
437  * @memberOf Location
438  */
439 Location.prototype.search = "";
441  * function assign(arg)
442  * @param {String} arg
443  * @memberOf Location
444  */
445 Location.prototype.assign = function(arg){};
447  * function reload(optionalArg)
448  * @param {Boolean} optionalArg
449  * @memberOf Location
450  */
451 Location.prototype.reload = function(optionalArg){};
453  * function replace(arg)
454  * @param {String} arg
455  * @memberOf Location
456  */
457 Location.prototype.replace = function(arg){};
460  * Object Navigator()
461  * @super Object
462  * @constructor
463  * @since Common Usage, no standard
465 function Navigator(){};
466 Navigator.prototype = new Object();
467 Navigator.prototype.navigator = new Navigator();
469  * Property appCodeName
470  * @type String
471  * @memberOf Navigator
472  */
473 Navigator.prototype.appCodeName = "";
475  * Property appName
476  * @type String
477  * @memberOf Navigator
478  */
479 Navigator.prototype.appName = "";
481  * Property appVersion
482  * @type String
483  * @memberOf Navigator
484  */
485 Navigator.prototype.appVersion = "";
487  * Property cookieEnabled
488  * @type Boolean
489  * @memberOf Navigator
490  */
491 Navigator.prototype.cookieEnabled = new Boolean();
493  * Property mimeTypes
494  * @type Array
495  * @memberOf Navigator
496  */
497 Navigator.prototype.mimeTypes = new Array();
499  * Property platform
500  * @type String
501  * @memberOf Navigator
502  */
503 Navigator.prototype.platform = "";
505  * Property plugins
506  * @type Array
507  * @memberOf Navigator
508  */
509 Navigator.prototype.plugins = new Array();
511  * Property userAgent
512  * @type String
513  * @memberOf Navigator
514  */
515 Navigator.prototype.userAgent = "";
517  * function javaEnabled()
518  * @returns {Boolean}
519  * @memberOf Navigator
520  */
521 Navigator.prototype.javaEnabled = function(){return false;};
524  * Object Screen()
525  * @super Object
526  * @constructor
527  * @since Common Usage, no standard
529 function Screen(){};
530 Screen.prototype = new Object();
531 Screen.prototype.screen = new Screen();
533  * Property availHeight
534  * @type Number
535  * @memberOf Screen
536  */
537 Navigator.prototype.availHeight = 0;
539  * Property availWidth
540  * @type Number
541  * @memberOf Screen
542  */
543 Navigator.prototype.availWidth = 0;
545  * Property colorDepth
546  * @type Number
547  * @memberOf Screen
548  */
549 Navigator.prototype.colorDepth = 0;
551  * Property height
552  * @type Number
553  * @memberOf Screen
554  */
555 Navigator.prototype.height = 0;
557  * Property width
558  * @type Number
559  * @memberOf Screen
560  */
561 Navigator.prototype.width = 0;