d5f6e348c9be064d4b5245f4beaf91b2d5aaab40
[roojs1] / docs / symbols / Roo.json
1 {
2   "name" : "Roo",
3   "augments" : [],
4   "childClasses" : {  },
5   "tree_children" : [],
6   "tree_parent" : [],
7   "desc" : "Roo core utilities and functions.",
8   "isSingleton" : false,
9   "isStatic" : true,
10   "isBuiltin" : false,
11   "isAbstract" : false,
12   "isBuilderTop" : false,
13   "memberOf" : "Roo",
14   "example" : "",
15   "deprecated" : "",
16   "since" : "",
17   "see" : "",
18   "params" : [],
19   "returns" : [],
20   "throws" : "",
21   "requires" : "",
22   "config" : [
23     {
24       "name" : "grid",
25       "type" : "Roo.grid.Grid",
26       "desc" : "The grid for this panel",
27       "memberOf" : ""
28     },
29     {
30       "name" : "layout",
31       "type" : "Roo.BorderLayout",
32       "desc" : "[required] The layout for this panel",
33       "memberOf" : ""
34     }
35   ],
36   "methods" : [
37     {
38       "name" : "each",
39       "type" : "function",
40       "desc" : "Iterates an array calling the passed function with each item, stopping if your function returns false. If the\npassed array is not really an array, your function is called once with it.\nThe supplied function is called with (Object item, Number index, Array allItems).",
41       "sig" : "(array, fn, scope)",
42       "static" : true,
43       "memberOf" : "",
44       "isStatic" : true,
45       "isConstructor" : false,
46       "isPrivate" : false,
47       "example" : "",
48       "deprecated" : "",
49       "since" : "",
50       "see" : "",
51       "exceptions" : "",
52       "requires" : "",
53       "params" : [
54         {
55           "name" : "array",
56           "type" : "Array/NodeList/Mixed",
57           "desc" : "",
58           "isOptional" : false
59         },
60         {
61           "name" : "fn",
62           "type" : "Function",
63           "desc" : "",
64           "isOptional" : false
65         },
66         {
67           "name" : "scope",
68           "type" : "Object",
69           "desc" : "",
70           "isOptional" : false
71         }
72       ],
73       "returns" : []
74     },
75     {
76       "name" : "get",
77       "type" : "function",
78       "desc" : "Static method to retrieve Element objects. Uses simple caching to consistently return the same object.\nAutomatically fixes if an object was recreated with the same id via AJAX or DOM.\nShorthand of {@link Roo.Element#get}",
79       "sig" : "(el)",
80       "static" : true,
81       "memberOf" : "",
82       "isStatic" : true,
83       "isConstructor" : false,
84       "isPrivate" : false,
85       "example" : "",
86       "deprecated" : "",
87       "since" : "",
88       "see" : "",
89       "exceptions" : "",
90       "requires" : "",
91       "params" : [
92         {
93           "name" : "el",
94           "type" : "String/HTMLElement/Element",
95           "desc" : "The id of the node, a DOM Node or an existing Element.",
96           "isOptional" : false
97         }
98       ],
99       "returns" : [
100         {
101           "name" : "",
102           "type" : "Element",
103           "desc" : "The Element object"
104         }
105       ]
106     },
107     {
108       "name" : "decode",
109       "type" : "function",
110       "desc" : "Shorthand for {@link Roo.util.JSON#decode}",
111       "sig" : "()\n{\n\n}",
112       "static" : true,
113       "memberOf" : "",
114       "isStatic" : true,
115       "isConstructor" : false,
116       "isPrivate" : false,
117       "example" : "",
118       "deprecated" : "",
119       "since" : "",
120       "see" : "",
121       "exceptions" : "",
122       "requires" : "",
123       "params" : [],
124       "returns" : []
125     },
126     {
127       "name" : "getDom",
128       "type" : "function",
129       "desc" : "Return the dom node for the passed string (id), dom node, or Roo.Element",
130       "sig" : "(el)",
131       "static" : true,
132       "memberOf" : "",
133       "isStatic" : true,
134       "isConstructor" : false,
135       "isPrivate" : false,
136       "example" : "",
137       "deprecated" : "",
138       "since" : "",
139       "see" : "",
140       "exceptions" : "",
141       "requires" : "",
142       "params" : [
143         {
144           "name" : "el",
145           "type" : "String/HTMLElement/Roo.Element",
146           "desc" : "",
147           "isOptional" : false
148         }
149       ],
150       "returns" : [
151         {
152           "name" : "",
153           "type" : "",
154           "desc" : "HTMLElement"
155         }
156       ]
157     },
158     {
159       "name" : "urlEncode",
160       "type" : "function",
161       "desc" : "Takes an object and converts it to an encoded URL. e.g. Roo.urlEncode({foo: 1, bar: 2}); would return \"foo=1&bar=2\".  Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value.",
162       "sig" : "(o)",
163       "static" : true,
164       "memberOf" : "",
165       "isStatic" : true,
166       "isConstructor" : false,
167       "isPrivate" : false,
168       "example" : "",
169       "deprecated" : "",
170       "since" : "",
171       "see" : "",
172       "exceptions" : "",
173       "requires" : "",
174       "params" : [
175         {
176           "name" : "o",
177           "type" : "Object",
178           "desc" : "",
179           "isOptional" : false
180         }
181       ],
182       "returns" : [
183         {
184           "name" : "",
185           "type" : "String",
186           "desc" : ""
187         }
188       ]
189     },
190     {
191       "name" : "log",
192       "type" : "function",
193       "desc" : "Logs to console if it can.",
194       "sig" : "(string)",
195       "static" : true,
196       "memberOf" : "",
197       "isStatic" : true,
198       "isConstructor" : false,
199       "isPrivate" : false,
200       "example" : "",
201       "deprecated" : "",
202       "since" : "",
203       "see" : "",
204       "exceptions" : "",
205       "requires" : "",
206       "params" : [
207         {
208           "name" : "string",
209           "type" : "String|Object",
210           "desc" : "",
211           "isOptional" : false
212         }
213       ],
214       "returns" : []
215     },
216     {
217       "name" : "addBehaviors",
218       "type" : "function",
219       "desc" : "Applies event listeners to elements by selectors when the document is ready.\nThe event name is specified with an @ suffix.\n<pre><code>\nRoo.addBehaviors({\n   // add a listener for click on all anchors in element with id foo\n   '#foo a@click' : function(e, t){\n       // do something\n   },\n\n   // add the same listener to multiple selectors (separated by comma BEFORE the @)\n   '#foo a, #bar span.some-class@mouseover' : function(){\n       // do something\n   }\n});\n</code></pre>",
220       "sig" : "(obj)",
221       "static" : true,
222       "memberOf" : "",
223       "isStatic" : true,
224       "isConstructor" : false,
225       "isPrivate" : false,
226       "example" : "",
227       "deprecated" : "",
228       "since" : "",
229       "see" : "",
230       "exceptions" : "",
231       "requires" : "",
232       "params" : [
233         {
234           "name" : "obj",
235           "type" : "Object",
236           "desc" : "The list of behaviors to apply",
237           "isOptional" : false
238         }
239       ],
240       "returns" : []
241     },
242     {
243       "name" : "getGridSize",
244       "type" : "function",
245       "desc" : "Find the current bootstrap width Grid size\nNote xs is the default for smaller.. - this is currently used by grids to render correct columns",
246       "sig" : "()\n{\n\n}",
247       "static" : true,
248       "memberOf" : "",
249       "isStatic" : true,
250       "isConstructor" : false,
251       "isPrivate" : false,
252       "example" : "",
253       "deprecated" : "",
254       "since" : "",
255       "see" : "",
256       "exceptions" : "",
257       "requires" : "",
258       "params" : [],
259       "returns" : []
260     },
261     {
262       "name" : "factory",
263       "type" : "function",
264       "desc" : "Creates namespaces to be used for scoping variables and classes so that they are not global.  Usage:\n<pre><code>\nRoo.factory({ xns: Roo.data, xtype : 'Store', .....});\nRoo.factory(conf, Roo.data);\n</code></pre>",
265       "sig" : "(classname, namespace)",
266       "static" : true,
267       "memberOf" : "",
268       "isStatic" : true,
269       "isConstructor" : false,
270       "isPrivate" : false,
271       "example" : "",
272       "deprecated" : "",
273       "since" : "",
274       "see" : "",
275       "exceptions" : "",
276       "requires" : "",
277       "params" : [
278         {
279           "name" : "classname",
280           "type" : "String",
281           "desc" : "",
282           "isOptional" : false
283         },
284         {
285           "name" : "namespace",
286           "type" : "String",
287           "desc" : "(optional)",
288           "isOptional" : false
289         }
290       ],
291       "returns" : []
292     },
293     {
294       "name" : "apply",
295       "type" : "function",
296       "desc" : "Copies all the properties of config to obj.",
297       "sig" : "(obj, config, defaults)",
298       "static" : true,
299       "memberOf" : "",
300       "isStatic" : true,
301       "isConstructor" : false,
302       "isPrivate" : false,
303       "example" : "",
304       "deprecated" : "",
305       "since" : "",
306       "see" : "",
307       "exceptions" : "",
308       "requires" : "",
309       "params" : [
310         {
311           "name" : "obj",
312           "type" : "Object",
313           "desc" : "The receiver of the properties",
314           "isOptional" : false
315         },
316         {
317           "name" : "config",
318           "type" : "Object",
319           "desc" : "The source of the properties",
320           "isOptional" : false
321         },
322         {
323           "name" : "defaults",
324           "type" : "Object",
325           "desc" : "A different object that will also be applied for default values",
326           "isOptional" : false
327         }
328       ],
329       "returns" : [
330         {
331           "name" : "",
332           "type" : "Object",
333           "desc" : "returns obj"
334         }
335       ]
336     },
337     {
338       "name" : "onReady",
339       "type" : "function",
340       "desc" : "Fires when the document is ready (before onload and before images are loaded).  Shorthand of {@link Roo.EventManager#onDocumentReady}.",
341       "sig" : "(fn, scope, override)",
342       "static" : true,
343       "memberOf" : "",
344       "isStatic" : true,
345       "isConstructor" : false,
346       "isPrivate" : false,
347       "example" : "",
348       "deprecated" : "",
349       "since" : "",
350       "see" : "",
351       "exceptions" : "",
352       "requires" : "",
353       "params" : [
354         {
355           "name" : "fn",
356           "type" : "Function",
357           "desc" : "The method the event invokes",
358           "isOptional" : false
359         },
360         {
361           "name" : "scope",
362           "type" : "Object",
363           "desc" : "An  object that becomes the scope of the handler",
364           "isOptional" : false
365         },
366         {
367           "name" : "override",
368           "type" : "boolean",
369           "desc" : "If true, the obj passed in becomes\n                            the execution scope of the listener",
370           "isOptional" : false
371         }
372       ],
373       "returns" : []
374     },
375     {
376       "name" : "select",
377       "type" : "function",
378       "desc" : "Selects elements based on the passed CSS selector to enable working on them as 1.",
379       "sig" : "(selector, unique, root)",
380       "static" : true,
381       "memberOf" : "",
382       "isStatic" : true,
383       "isConstructor" : false,
384       "isPrivate" : false,
385       "example" : "",
386       "deprecated" : "",
387       "since" : "",
388       "see" : "",
389       "exceptions" : "",
390       "requires" : "",
391       "params" : [
392         {
393           "name" : "selector",
394           "type" : "String/Array",
395           "desc" : "The CSS selector or an array of elements",
396           "isOptional" : false
397         },
398         {
399           "name" : "unique",
400           "type" : "Boolean",
401           "desc" : "(optional) true to create a unique Roo.Element for each element (defaults to a shared flyweight object)",
402           "isOptional" : false
403         },
404         {
405           "name" : "root",
406           "type" : "HTMLElement/String",
407           "desc" : "(optional) The root element of the query or id of the root",
408           "isOptional" : false
409         }
410       ],
411       "returns" : [
412         {
413           "name" : "",
414           "type" : "CompositeElementLite/CompositeElement",
415           "desc" : ""
416         }
417       ]
418     },
419     {
420       "name" : "applyIf",
421       "type" : "function",
422       "desc" : "Copies all the properties of config to obj if they don't already exist.",
423       "sig" : "(obj, config)",
424       "static" : true,
425       "memberOf" : "",
426       "isStatic" : true,
427       "isConstructor" : false,
428       "isPrivate" : false,
429       "example" : "",
430       "deprecated" : "",
431       "since" : "",
432       "see" : "",
433       "exceptions" : "",
434       "requires" : "",
435       "params" : [
436         {
437           "name" : "obj",
438           "type" : "Object",
439           "desc" : "The receiver of the properties",
440           "isOptional" : false
441         },
442         {
443           "name" : "config",
444           "type" : "Object",
445           "desc" : "The source of the properties",
446           "isOptional" : false
447         }
448       ],
449       "returns" : [
450         {
451           "name" : "",
452           "type" : "Object",
453           "desc" : "returns obj"
454         }
455       ]
456     },
457     {
458       "name" : "getCmp",
459       "type" : "function",
460       "desc" : "Shorthand for {@link Roo.ComponentMgr#get}",
461       "sig" : "(id)",
462       "static" : true,
463       "memberOf" : "",
464       "isStatic" : true,
465       "isConstructor" : false,
466       "isPrivate" : false,
467       "example" : "",
468       "deprecated" : "",
469       "since" : "",
470       "see" : "",
471       "exceptions" : "",
472       "requires" : "",
473       "params" : [
474         {
475           "name" : "id",
476           "type" : "String",
477           "desc" : "",
478           "isOptional" : false
479         }
480       ],
481       "returns" : [
482         {
483           "name" : "",
484           "type" : "",
485           "desc" : "Roo.Component"
486         }
487       ]
488     },
489     {
490       "name" : "id",
491       "type" : "function",
492       "desc" : "Generates unique ids. If the element already has an id, it is unchanged",
493       "sig" : "(el, prefix)",
494       "static" : true,
495       "memberOf" : "",
496       "isStatic" : true,
497       "isConstructor" : false,
498       "isPrivate" : false,
499       "example" : "",
500       "deprecated" : "",
501       "since" : "",
502       "see" : "",
503       "exceptions" : "",
504       "requires" : "",
505       "params" : [
506         {
507           "name" : "el",
508           "type" : "String/HTMLElement/Element",
509           "desc" : "(optional) The element to generate an id for",
510           "isOptional" : false
511         },
512         {
513           "name" : "prefix",
514           "type" : "String",
515           "desc" : "(optional) Id prefix (defaults \"Roo-gen\")",
516           "isOptional" : false
517         }
518       ],
519       "returns" : [
520         {
521           "name" : "",
522           "type" : "String",
523           "desc" : "The generated Id."
524         }
525       ]
526     },
527     {
528       "name" : "encodeURIComponent",
529       "type" : "function",
530       "desc" : "Safe version of encodeURIComponent",
531       "sig" : "(data)",
532       "static" : true,
533       "memberOf" : "",
534       "isStatic" : true,
535       "isConstructor" : false,
536       "isPrivate" : false,
537       "example" : "",
538       "deprecated" : "",
539       "since" : "",
540       "see" : "",
541       "exceptions" : "",
542       "requires" : "",
543       "params" : [
544         {
545           "name" : "data",
546           "type" : "String",
547           "desc" : "",
548           "isOptional" : false
549         }
550       ],
551       "returns" : [
552         {
553           "name" : "",
554           "type" : "String",
555           "desc" : ""
556         }
557       ]
558     },
559     {
560       "name" : "encode",
561       "type" : "function",
562       "desc" : "Shorthand for {@link Roo.util.JSON#encode}",
563       "sig" : "()\n{\n\n}",
564       "static" : true,
565       "memberOf" : "",
566       "isStatic" : true,
567       "isConstructor" : false,
568       "isPrivate" : false,
569       "example" : "",
570       "deprecated" : "",
571       "since" : "",
572       "see" : "",
573       "exceptions" : "",
574       "requires" : "",
575       "params" : [],
576       "returns" : []
577     },
578     {
579       "name" : "fly",
580       "type" : "function",
581       "desc" : "Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -\nthe dom node can be overwritten by other code.\nShorthand of {@link Roo.Element#fly}",
582       "sig" : "(el, named)",
583       "static" : true,
584       "memberOf" : "",
585       "isStatic" : true,
586       "isConstructor" : false,
587       "isPrivate" : false,
588       "example" : "",
589       "deprecated" : "",
590       "since" : "",
591       "see" : "",
592       "exceptions" : "",
593       "requires" : "",
594       "params" : [
595         {
596           "name" : "el",
597           "type" : "String/HTMLElement",
598           "desc" : "The dom node or id",
599           "isOptional" : false
600         },
601         {
602           "name" : "named",
603           "type" : "String",
604           "desc" : "(optional) Allows for creation of named reusable flyweights to\n                                 prevent conflicts (e.g. internally Roo uses \"_internal\")",
605           "isOptional" : false
606         }
607       ],
608       "returns" : [
609         {
610           "name" : "",
611           "type" : "Element",
612           "desc" : "The shared Element object"
613         }
614       ]
615     },
616     {
617       "name" : "isEmpty",
618       "type" : "function",
619       "desc" : "Returns true if the passed value is null, undefined or an empty string (optional).",
620       "sig" : "(value, allowBlank)",
621       "static" : true,
622       "memberOf" : "",
623       "isStatic" : true,
624       "isConstructor" : false,
625       "isPrivate" : false,
626       "example" : "",
627       "deprecated" : "",
628       "since" : "",
629       "see" : "",
630       "exceptions" : "",
631       "requires" : "",
632       "params" : [
633         {
634           "name" : "value",
635           "type" : "Mixed",
636           "desc" : "The value to test",
637           "isOptional" : false
638         },
639         {
640           "name" : "allowBlank",
641           "type" : "Boolean",
642           "desc" : "(optional) Pass true if an empty string is not considered empty",
643           "isOptional" : false
644         }
645       ],
646       "returns" : [
647         {
648           "name" : "",
649           "type" : "Boolean",
650           "desc" : ""
651         }
652       ]
653     },
654     {
655       "name" : "query",
656       "type" : "function",
657       "desc" : "Selects an array of DOM nodes by CSS/XPath selector. Shorthand of {@link Roo.DomQuery#select}",
658       "sig" : "(path, root)",
659       "static" : true,
660       "memberOf" : "",
661       "isStatic" : true,
662       "isConstructor" : false,
663       "isPrivate" : false,
664       "example" : "",
665       "deprecated" : "",
666       "since" : "",
667       "see" : "",
668       "exceptions" : "",
669       "requires" : "",
670       "params" : [
671         {
672           "name" : "path",
673           "type" : "String",
674           "desc" : "The selector/xpath query",
675           "isOptional" : false
676         },
677         {
678           "name" : "root",
679           "type" : "Node",
680           "desc" : "(optional) The start of the query (defaults to document).",
681           "isOptional" : false
682         }
683       ],
684       "returns" : [
685         {
686           "name" : "",
687           "type" : "Array",
688           "desc" : ""
689         }
690       ]
691     },
692     {
693       "name" : "urlDecode",
694       "type" : "function",
695       "desc" : "Takes an encoded URL and and converts it to an object. e.g. Roo.urlDecode(\"foo=1&bar=2\"); would return {foo: 1, bar: 2} or Roo.urlDecode(\"foo=1&bar=2&bar=3&bar=4\", true); would return {foo: 1, bar: [2, 3, 4]}.",
696       "sig" : "(string, overwrite)",
697       "static" : true,
698       "memberOf" : "",
699       "isStatic" : true,
700       "isConstructor" : false,
701       "isPrivate" : false,
702       "example" : "",
703       "deprecated" : "",
704       "since" : "",
705       "see" : "",
706       "exceptions" : "",
707       "requires" : "",
708       "params" : [
709         {
710           "name" : "string",
711           "type" : "String",
712           "desc" : "",
713           "isOptional" : false
714         },
715         {
716           "name" : "overwrite",
717           "type" : "Boolean",
718           "desc" : "(optional) Items of the same name will overwrite previous values instead of creating an an array (Defaults to false).",
719           "isOptional" : false
720         }
721       ],
722       "returns" : [
723         {
724           "name" : "",
725           "type" : "Object",
726           "desc" : "A literal with members"
727         }
728       ]
729     },
730     {
731       "name" : "escapeRe",
732       "type" : "function",
733       "desc" : "Escapes the passed string for use in a regular expression",
734       "sig" : "(str)",
735       "static" : true,
736       "memberOf" : "",
737       "isStatic" : true,
738       "isConstructor" : false,
739       "isPrivate" : false,
740       "example" : "",
741       "deprecated" : "",
742       "since" : "",
743       "see" : "",
744       "exceptions" : "",
745       "requires" : "",
746       "params" : [
747         {
748           "name" : "str",
749           "type" : "String",
750           "desc" : "",
751           "isOptional" : false
752         }
753       ],
754       "returns" : [
755         {
756           "name" : "",
757           "type" : "String",
758           "desc" : ""
759         }
760       ]
761     },
762     {
763       "name" : "extend",
764       "type" : "function",
765       "desc" : "Extends one class with another class and optionally overrides members with the passed literal. This class\nalso adds the function \"override()\" to the class that can be used to override\nmembers on an instance.",
766       "sig" : "(subclass, superclass, overrides)",
767       "static" : true,
768       "memberOf" : "",
769       "isStatic" : true,
770       "isConstructor" : false,
771       "isPrivate" : false,
772       "example" : "",
773       "deprecated" : "",
774       "since" : "",
775       "see" : "",
776       "exceptions" : "",
777       "requires" : "",
778       "params" : [
779         {
780           "name" : "subclass",
781           "type" : "Object",
782           "desc" : "The class inheriting the functionality",
783           "isOptional" : false
784         },
785         {
786           "name" : "superclass",
787           "type" : "Object",
788           "desc" : "The class being extended",
789           "isOptional" : false
790         },
791         {
792           "name" : "overrides",
793           "type" : "Object",
794           "desc" : "(optional) A literal with members",
795           "isOptional" : false
796         }
797       ],
798       "returns" : []
799     },
800     {
801       "name" : "namespace",
802       "type" : "function",
803       "desc" : "Creates namespaces to be used for scoping variables and classes so that they are not global.  Usage:\n<pre><code>\nRoo.namespace('Company', 'Company.data');\nCompany.Widget = function() { ... }\nCompany.data.CustomStore = function(config) { ... }\n</code></pre>",
804       "sig" : "(namespace1, namespace2, etc)",
805       "static" : true,
806       "memberOf" : "",
807       "isStatic" : true,
808       "isConstructor" : false,
809       "isPrivate" : false,
810       "example" : "",
811       "deprecated" : "",
812       "since" : "",
813       "see" : "",
814       "exceptions" : "",
815       "requires" : "",
816       "params" : [
817         {
818           "name" : "namespace1",
819           "type" : "String",
820           "desc" : "",
821           "isOptional" : false
822         },
823         {
824           "name" : "namespace2",
825           "type" : "String",
826           "desc" : "",
827           "isOptional" : false
828         },
829         {
830           "name" : "etc",
831           "type" : "String",
832           "desc" : "",
833           "isOptional" : false
834         }
835       ],
836       "returns" : []
837     },
838     {
839       "name" : "override",
840       "type" : "function",
841       "desc" : "Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.\nUsage:<pre><code>\nRoo.override(MyClass, {\n    newMethod1: function(){\n        // etc.\n    },\n    newMethod2: function(foo){\n        // etc.\n    }\n});\n </code></pre>",
842       "sig" : "(origclass, overrides)",
843       "static" : true,
844       "memberOf" : "",
845       "isStatic" : true,
846       "isConstructor" : false,
847       "isPrivate" : false,
848       "example" : "",
849       "deprecated" : "",
850       "since" : "",
851       "see" : "",
852       "exceptions" : "",
853       "requires" : "",
854       "params" : [
855         {
856           "name" : "origclass",
857           "type" : "Object",
858           "desc" : "The class to override",
859           "isOptional" : false
860         },
861         {
862           "name" : "overrides",
863           "type" : "Object",
864           "desc" : "The list of functions to add to origClass.  This should be specified as an object literal\ncontaining one or more methods.",
865           "isOptional" : false
866         }
867       ],
868       "returns" : []
869     },
870     {
871       "name" : "selectNode",
872       "type" : "function",
873       "desc" : "Selects a single element as a Roo Element\nThis is about as close as you can get to jQuery's $('do crazy stuff')",
874       "sig" : "(selector, root)",
875       "static" : true,
876       "memberOf" : "",
877       "isStatic" : true,
878       "isConstructor" : false,
879       "isPrivate" : false,
880       "example" : "",
881       "deprecated" : "",
882       "since" : "",
883       "see" : "",
884       "exceptions" : "",
885       "requires" : "",
886       "params" : [
887         {
888           "name" : "selector",
889           "type" : "String",
890           "desc" : "The selector/xpath query",
891           "isOptional" : false
892         },
893         {
894           "name" : "root",
895           "type" : "Node",
896           "desc" : "(optional) The start of the query (defaults to document).",
897           "isOptional" : false
898         }
899       ],
900       "returns" : [
901         {
902           "name" : "",
903           "type" : "Roo.Element",
904           "desc" : ""
905         }
906       ]
907     },
908     {
909       "name" : "type",
910       "type" : "function",
911       "desc" : "Returns the type of object that is passed in. If the object passed in is null or undefined it\nreturn false otherwise it returns one of the following values:<ul>\n<li><b>string</b>: If the object passed is a string</li>\n<li><b>number</b>: If the object passed is a number</li>\n<li><b>boolean</b>: If the object passed is a boolean value</li>\n<li><b>function</b>: If the object passed is a function reference</li>\n<li><b>object</b>: If the object passed is an object</li>\n<li><b>array</b>: If the object passed is an array</li>\n<li><b>regexp</b>: If the object passed is a regular expression</li>\n<li><b>element</b>: If the object passed is a DOM Element</li>\n<li><b>nodelist</b>: If the object passed is a DOM NodeList</li>\n<li><b>textnode</b>: If the object passed is a DOM text node and contains something other than whitespace</li>\n<li><b>whitespace</b>: If the object passed is a DOM text node and contains only whitespace</li>",
912       "sig" : "(object)",
913       "static" : true,
914       "memberOf" : "",
915       "isStatic" : true,
916       "isConstructor" : false,
917       "isPrivate" : false,
918       "example" : "",
919       "deprecated" : "",
920       "since" : "",
921       "see" : "",
922       "exceptions" : "",
923       "requires" : "",
924       "params" : [
925         {
926           "name" : "object",
927           "type" : "Mixed",
928           "desc" : "",
929           "isOptional" : false
930         }
931       ],
932       "returns" : [
933         {
934           "name" : "",
935           "type" : "String",
936           "desc" : ""
937         }
938       ]
939     }
940   ],
941   "events" : []
942 }