sync
[roojs1] / docs / symbols / Roo.Element.json
1 {
2   "name" : "Roo.Element",
3   "augments" : [],
4   "desc" : "Represents an Element in the DOM.<br><br>\nUsage:<br>\n<pre><code>\nvar el = Roo.get(\"my-div\");\n\n// or with getEl\nvar el = getEl(\"my-div\");\n\n// or with a DOM element\nvar el = Roo.get(myDivElement);\n</code></pre>\nUsing Roo.get() or getEl() instead of calling the constructor directly ensures you get the same object\neach call instead of constructing a new one.<br><br>\n<b>Animations</b><br />\nMany of the functions for manipulating an element have an optional \"animate\" parameter. The animate parameter\nshould either be a boolean (true) or an object literal with animation options. The animation options are:\n<pre>\nOption    Default   Description\n--------- --------  ---------------------------------------------\nduration  .35       The duration of the animation in seconds\neasing    easeOut   The YUI easing method\ncallback  none      A function to execute when the anim completes\nscope     this      The scope (this) of the callback function\n</pre>\nAlso, the Anim object being used for the animation will be set on your options object as \"anim\", which allows you to stop or\nmanipulate the animation. Here's an example:\n<pre><code>\nvar el = Roo.get(\"my-div\");\n\n// no animation\nel.setWidth(100);\n\n// default animation\nel.setWidth(100, true);\n\n// animation with some options set\nel.setWidth(100, {\n    duration: 1,\n    callback: this.foo,\n    scope: this\n});\n\n// using the \"anim\" property to get the Anim object\nvar opt = {\n    duration: 1,\n    callback: this.foo,\n    scope: this\n};\nel.setWidth(100, opt);\n...\nif(opt.anim.isAnimated()){\n    opt.anim.stop();\n}\n</code></pre>\n<b> Composite (Collections of) Elements</b><br />\nFor working with collections of Elements, see <a href=\"Roo.CompositeElement.html\">Roo.CompositeElement</a>",
5   "isSingleton" : false,
6   "isStatic" : false,
7   "isBuiltin" : false,
8   "memberOf" : "Element",
9   "example" : "",
10   "deprecated" : "",
11   "since" : "",
12   "see" : "",
13   "params" : [
14     {
15       "name" : "element",
16       "type" : "String/HTMLElement",
17       "desc" : "",
18       "isOptional" : false
19     },
20     {
21       "name" : "forceNew",
22       "type" : "Boolean",
23       "desc" : "(optional) By default the constructor checks to see if there is already an instance of this element in the cache and if there is it returns the same instance. This will skip that check (useful for extending this class).",
24       "isOptional" : false
25     }
26   ],
27   "returns" : [],
28   "throws" : "",
29   "requires" : "",
30   "config" : [],
31   "methods" : [
32     {
33       "name" : "getCenterXY",
34       "type" : "function",
35       "desc" : "Calculates the x, y to center this element on the screen",
36       "sig" : "()\n{\n\n}",
37       "static" : false,
38       "memberOf" : "",
39       "isStatic" : false,
40       "isConstructor" : false,
41       "isPrivate" : false,
42       "example" : "",
43       "deprecated" : "",
44       "since" : "",
45       "see" : "",
46       "exceptions" : "",
47       "requires" : "",
48       "params" : [],
49       "returns" : [
50         {
51           "name" : "",
52           "type" : "Array",
53           "desc" : "The x, y values [x, y]"
54         }
55       ]
56     },
57     {
58       "name" : "getScroll",
59       "type" : "function",
60       "desc" : "Returns the current scroll position of the element.",
61       "sig" : "()\n{\n\n}",
62       "static" : false,
63       "memberOf" : "",
64       "isStatic" : false,
65       "isConstructor" : false,
66       "isPrivate" : false,
67       "example" : "",
68       "deprecated" : "",
69       "since" : "",
70       "see" : "",
71       "exceptions" : "",
72       "requires" : "",
73       "params" : [],
74       "returns" : [
75         {
76           "name" : "",
77           "type" : "Object",
78           "desc" : "An object containing the scroll position in the format {left: (scrollLeft), top: (scrollTop)}"
79         }
80       ]
81     },
82     {
83       "name" : "createShim",
84       "type" : "function",
85       "desc" : "Creates an iframe shim for this element to keep selects and other windowed objects from\nshowing through.",
86       "sig" : "()\n{\n\n}",
87       "static" : false,
88       "memberOf" : "",
89       "isStatic" : false,
90       "isConstructor" : false,
91       "isPrivate" : false,
92       "example" : "",
93       "deprecated" : "",
94       "since" : "",
95       "see" : "",
96       "exceptions" : "",
97       "requires" : "",
98       "params" : [],
99       "returns" : [
100         {
101           "name" : "",
102           "type" : "Roo.Element",
103           "desc" : "The new shim element"
104         }
105       ]
106     },
107     {
108       "name" : "scrollTo",
109       "type" : "function",
110       "desc" : "Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().",
111       "sig" : "(side, value, animate)",
112       "static" : false,
113       "memberOf" : "",
114       "isStatic" : false,
115       "isConstructor" : false,
116       "isPrivate" : false,
117       "example" : "",
118       "deprecated" : "",
119       "since" : "",
120       "see" : "",
121       "exceptions" : "",
122       "requires" : "",
123       "params" : [
124         {
125           "name" : "side",
126           "type" : "String",
127           "desc" : "Either \"left\" for scrollLeft values or \"top\" for scrollTop values.",
128           "isOptional" : false
129         },
130         {
131           "name" : "value",
132           "type" : "Number",
133           "desc" : "The new scroll value",
134           "isOptional" : false
135         },
136         {
137           "name" : "animate",
138           "type" : "Boolean/Object",
139           "desc" : "(optional) true for the default animation or a standard Element animation config object",
140           "isOptional" : false
141         }
142       ],
143       "returns" : [
144         {
145           "name" : "",
146           "type" : "Element",
147           "desc" : "this"
148         }
149       ]
150     },
151     {
152       "name" : "removeAllListeners",
153       "type" : "function",
154       "desc" : "Removes all previous added listeners from this element",
155       "sig" : "()\n{\n\n}",
156       "static" : false,
157       "memberOf" : "",
158       "isStatic" : false,
159       "isConstructor" : false,
160       "isPrivate" : false,
161       "example" : "",
162       "deprecated" : "",
163       "since" : "",
164       "see" : "",
165       "exceptions" : "",
166       "requires" : "",
167       "params" : [],
168       "returns" : [
169         {
170           "name" : "",
171           "type" : "Roo.Element",
172           "desc" : "this"
173         }
174       ]
175     },
176     {
177       "name" : "setStyle",
178       "type" : "function",
179       "desc" : "Wrapper for setting style properties, also takes single object parameter of multiple styles.",
180       "sig" : "(property, value)",
181       "static" : false,
182       "memberOf" : "",
183       "isStatic" : false,
184       "isConstructor" : false,
185       "isPrivate" : false,
186       "example" : "",
187       "deprecated" : "",
188       "since" : "",
189       "see" : "",
190       "exceptions" : "",
191       "requires" : "",
192       "params" : [
193         {
194           "name" : "property",
195           "type" : "String/Object",
196           "desc" : "The style property to be set, or an object of multiple styles.",
197           "isOptional" : false
198         },
199         {
200           "name" : "value",
201           "type" : "String",
202           "desc" : "(optional) The value to apply to the given property, or null if an object was passed.",
203           "isOptional" : false
204         }
205       ],
206       "returns" : [
207         {
208           "name" : "",
209           "type" : "Roo.Element",
210           "desc" : "this"
211         }
212       ]
213     },
214     {
215       "name" : "on",
216       "type" : "function",
217       "desc" : "Appends an event handler (Shorthand for addListener)",
218       "sig" : "(eventName, fn, scope, options)",
219       "static" : false,
220       "memberOf" : "",
221       "isStatic" : false,
222       "isConstructor" : false,
223       "isPrivate" : false,
224       "example" : "",
225       "deprecated" : "",
226       "since" : "",
227       "see" : "",
228       "exceptions" : "",
229       "requires" : "",
230       "params" : [
231         {
232           "name" : "eventName",
233           "type" : "String",
234           "desc" : "The type of event to append",
235           "isOptional" : false
236         },
237         {
238           "name" : "fn",
239           "type" : "Function",
240           "desc" : "The method the event invokes",
241           "isOptional" : false
242         },
243         {
244           "name" : "scope",
245           "type" : "Object",
246           "desc" : "(optional) The scope (this object) of the fn",
247           "isOptional" : false
248         },
249         {
250           "name" : "options",
251           "type" : "Object",
252           "desc" : "(optional)An object with standard {@link Roo.EventManager#addListener} options",
253           "isOptional" : false
254         }
255       ],
256       "returns" : []
257     },
258     {
259       "name" : "addClassOnClick",
260       "type" : "function",
261       "desc" : "Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)",
262       "sig" : "(className)",
263       "static" : false,
264       "memberOf" : "",
265       "isStatic" : false,
266       "isConstructor" : false,
267       "isPrivate" : false,
268       "example" : "",
269       "deprecated" : "",
270       "since" : "",
271       "see" : "",
272       "exceptions" : "",
273       "requires" : "",
274       "params" : [
275         {
276           "name" : "className",
277           "type" : "String",
278           "desc" : "",
279           "isOptional" : false
280         }
281       ],
282       "returns" : [
283         {
284           "name" : "",
285           "type" : "Roo.Element",
286           "desc" : "this"
287         }
288       ]
289     },
290     {
291       "name" : "getBorderWidth",
292       "type" : "function",
293       "desc" : "Gets the width of the border(s) for the specified side(s)",
294       "sig" : "(side)",
295       "static" : false,
296       "memberOf" : "",
297       "isStatic" : false,
298       "isConstructor" : false,
299       "isPrivate" : false,
300       "example" : "",
301       "deprecated" : "",
302       "since" : "",
303       "see" : "",
304       "exceptions" : "",
305       "requires" : "",
306       "params" : [
307         {
308           "name" : "side",
309           "type" : "String",
310           "desc" : "Can be t, l, r, b or any combination of those to add multiple values. For example,\npassing lr would get the border (l)eft width + the border (r)ight width.",
311           "isOptional" : false
312         }
313       ],
314       "returns" : [
315         {
316           "name" : "",
317           "type" : "Number",
318           "desc" : "The width of the sides passed added together"
319         }
320       ]
321     },
322     {
323       "name" : "scroll",
324       "type" : "function",
325       "desc" : "Scrolls this element the specified direction. Does bounds checking to make sure the scroll is\nwithin this element's scrollable range.",
326       "sig" : "(direction, distance, animate)",
327       "static" : false,
328       "memberOf" : "",
329       "isStatic" : false,
330       "isConstructor" : false,
331       "isPrivate" : false,
332       "example" : "",
333       "deprecated" : "",
334       "since" : "",
335       "see" : "",
336       "exceptions" : "",
337       "requires" : "",
338       "params" : [
339         {
340           "name" : "direction",
341           "type" : "String",
342           "desc" : "Possible values are: \"l\",\"left\" - \"r\",\"right\" - \"t\",\"top\",\"up\" - \"b\",\"bottom\",\"down\".",
343           "isOptional" : false
344         },
345         {
346           "name" : "distance",
347           "type" : "Number",
348           "desc" : "How far to scroll the element in pixels",
349           "isOptional" : false
350         },
351         {
352           "name" : "animate",
353           "type" : "Boolean/Object",
354           "desc" : "(optional) true for the default animation or a standard Element animation config object",
355           "isOptional" : false
356         }
357       ],
358       "returns" : [
359         {
360           "name" : "",
361           "type" : "Boolean",
362           "desc" : "Returns true if a scroll was triggered or false if the element\nwas scrolled as far as it could go."
363         }
364       ]
365     },
366     {
367       "name" : "addKeyMap",
368       "type" : "function",
369       "desc" : "Creates a KeyMap for this element",
370       "sig" : "(config)",
371       "static" : false,
372       "memberOf" : "",
373       "isStatic" : false,
374       "isConstructor" : false,
375       "isPrivate" : false,
376       "example" : "",
377       "deprecated" : "",
378       "since" : "",
379       "see" : "",
380       "exceptions" : "",
381       "requires" : "",
382       "params" : [
383         {
384           "name" : "config",
385           "type" : "Object",
386           "desc" : "The KeyMap config. See {@link Roo.KeyMap} for more details",
387           "isOptional" : false
388         }
389       ],
390       "returns" : [
391         {
392           "name" : "",
393           "type" : "Roo.KeyMap",
394           "desc" : "The KeyMap created"
395         }
396       ]
397     },
398     {
399       "name" : "createChild",
400       "type" : "function",
401       "desc" : "Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.",
402       "sig" : "(config, insertBefore, returnDom)",
403       "static" : false,
404       "memberOf" : "",
405       "isStatic" : false,
406       "isConstructor" : false,
407       "isPrivate" : false,
408       "example" : "",
409       "deprecated" : "",
410       "since" : "",
411       "see" : "",
412       "exceptions" : "",
413       "requires" : "",
414       "params" : [
415         {
416           "name" : "config",
417           "type" : "Object",
418           "desc" : "DomHelper element config object.  If no tag is specified (e.g., {tag:'input'}) then a div will be\nautomatically generated with the specified attributes.",
419           "isOptional" : false
420         },
421         {
422           "name" : "insertBefore",
423           "type" : "HTMLElement",
424           "desc" : "(optional) a child element of this element",
425           "isOptional" : false
426         },
427         {
428           "name" : "returnDom",
429           "type" : "Boolean",
430           "desc" : "(optional) true to return the dom node instead of creating an Element",
431           "isOptional" : false
432         }
433       ],
434       "returns" : [
435         {
436           "name" : "",
437           "type" : "Roo.Element",
438           "desc" : "The new child element"
439         }
440       ]
441     },
442     {
443       "name" : "addClass",
444       "type" : "function",
445       "desc" : "Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.",
446       "sig" : "(className)",
447       "static" : false,
448       "memberOf" : "",
449       "isStatic" : false,
450       "isConstructor" : false,
451       "isPrivate" : false,
452       "example" : "",
453       "deprecated" : "",
454       "since" : "",
455       "see" : "",
456       "exceptions" : "",
457       "requires" : "",
458       "params" : [
459         {
460           "name" : "className",
461           "type" : "String/Array",
462           "desc" : "The CSS class to add, or an array of classes",
463           "isOptional" : false
464         }
465       ],
466       "returns" : [
467         {
468           "name" : "",
469           "type" : "Roo.Element",
470           "desc" : "this"
471         }
472       ]
473     },
474     {
475       "name" : "attr",
476       "type" : "function",
477       "desc" : "Sets or Returns the value the dom attribute value",
478       "sig" : "(name, value)",
479       "static" : false,
480       "memberOf" : "",
481       "isStatic" : false,
482       "isConstructor" : false,
483       "isPrivate" : false,
484       "example" : "",
485       "deprecated" : "",
486       "since" : "",
487       "see" : "",
488       "exceptions" : "",
489       "requires" : "",
490       "params" : [
491         {
492           "name" : "name",
493           "type" : "String|Object",
494           "desc" : "The attribute name (or object to set multiple attributes)",
495           "isOptional" : false
496         },
497         {
498           "name" : "value",
499           "type" : "String",
500           "desc" : "(optional) The value to set the attribute to",
501           "isOptional" : false
502         }
503       ],
504       "returns" : [
505         {
506           "name" : "",
507           "type" : "String",
508           "desc" : "The attribute value"
509         }
510       ]
511     },
512     {
513       "name" : "setOpacity",
514       "type" : "function",
515       "desc" : "Set the opacity of the element",
516       "sig" : "(opacity, animate)",
517       "static" : false,
518       "memberOf" : "",
519       "isStatic" : false,
520       "isConstructor" : false,
521       "isPrivate" : false,
522       "example" : "",
523       "deprecated" : "",
524       "since" : "",
525       "see" : "",
526       "exceptions" : "",
527       "requires" : "",
528       "params" : [
529         {
530           "name" : "opacity",
531           "type" : "Float",
532           "desc" : "The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc",
533           "isOptional" : false
534         },
535         {
536           "name" : "animate",
537           "type" : "Boolean/Object",
538           "desc" : "(optional) true for the default animation or a standard Element animation config object",
539           "isOptional" : false
540         }
541       ],
542       "returns" : [
543         {
544           "name" : "",
545           "type" : "Roo.Element",
546           "desc" : "this"
547         }
548       ]
549     },
550     {
551       "name" : "setSize",
552       "type" : "function",
553       "desc" : "Set the size of the element. If animation is true, both width an height will be animated concurrently.",
554       "sig" : "(width, height, animate)",
555       "static" : false,
556       "memberOf" : "",
557       "isStatic" : false,
558       "isConstructor" : false,
559       "isPrivate" : false,
560       "example" : "",
561       "deprecated" : "",
562       "since" : "",
563       "see" : "",
564       "exceptions" : "",
565       "requires" : "",
566       "params" : [
567         {
568           "name" : "width",
569           "type" : "Number",
570           "desc" : "The new width",
571           "isOptional" : false
572         },
573         {
574           "name" : "height",
575           "type" : "Number",
576           "desc" : "The new height",
577           "isOptional" : false
578         },
579         {
580           "name" : "animate",
581           "type" : "Boolean/Object",
582           "desc" : "(optional) true for the default animation or a standard Element animation config object",
583           "isOptional" : false
584         }
585       ],
586       "returns" : [
587         {
588           "name" : "",
589           "type" : "Roo.Element",
590           "desc" : "this"
591         }
592       ]
593     },
594     {
595       "name" : "un",
596       "type" : "function",
597       "desc" : "Removes an event handler from this element (shorthand for removeListener)",
598       "sig" : "(eventName, fn)",
599       "static" : false,
600       "memberOf" : "",
601       "isStatic" : false,
602       "isConstructor" : false,
603       "isPrivate" : false,
604       "example" : "",
605       "deprecated" : "",
606       "since" : "",
607       "see" : "",
608       "exceptions" : "",
609       "requires" : "",
610       "params" : [
611         {
612           "name" : "eventName",
613           "type" : "String",
614           "desc" : "the type of event to remove",
615           "isOptional" : false
616         },
617         {
618           "name" : "fn",
619           "type" : "Function",
620           "desc" : "the method the event invokes",
621           "isOptional" : false
622         }
623       ],
624       "returns" : [
625         {
626           "name" : "",
627           "type" : "Roo.Element",
628           "desc" : "this"
629         }
630       ]
631     },
632     {
633       "name" : "up",
634       "type" : "function",
635       "desc" : "Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child).\nThis is a shortcut for findParentNode() that always returns an Roo.Element.",
636       "sig" : "(selector, maxDepth)",
637       "static" : false,
638       "memberOf" : "",
639       "isStatic" : false,
640       "isConstructor" : false,
641       "isPrivate" : false,
642       "example" : "",
643       "deprecated" : "",
644       "since" : "",
645       "see" : "",
646       "exceptions" : "",
647       "requires" : "",
648       "params" : [
649         {
650           "name" : "selector",
651           "type" : "String",
652           "desc" : "The simple selector to test",
653           "isOptional" : false
654         },
655         {
656           "name" : "maxDepth",
657           "type" : "Number/String/HTMLElement/Element",
658           "desc" : "(optional) The max depth to\n                search as a number or element (defaults to 10 || document.body)",
659           "isOptional" : false
660         }
661       ],
662       "returns" : [
663         {
664           "name" : "",
665           "type" : "Roo.Element",
666           "desc" : "The matching DOM node (or null if no match was found)"
667         }
668       ]
669     },
670     {
671       "name" : "repaint",
672       "type" : "function",
673       "desc" : "Forces the browser to repaint this element",
674       "sig" : "()\n{\n\n}",
675       "static" : false,
676       "memberOf" : "",
677       "isStatic" : false,
678       "isConstructor" : false,
679       "isPrivate" : false,
680       "example" : "",
681       "deprecated" : "",
682       "since" : "",
683       "see" : "",
684       "exceptions" : "",
685       "requires" : "",
686       "params" : [],
687       "returns" : [
688         {
689           "name" : "",
690           "type" : "Roo.Element",
691           "desc" : "this"
692         }
693       ]
694     },
695     {
696       "name" : "translatePoints",
697       "type" : "function",
698       "desc" : "Translates the passed page coordinates into left/top css values for this element",
699       "sig" : "(x, y)",
700       "static" : false,
701       "memberOf" : "",
702       "isStatic" : false,
703       "isConstructor" : false,
704       "isPrivate" : false,
705       "example" : "",
706       "deprecated" : "",
707       "since" : "",
708       "see" : "",
709       "exceptions" : "",
710       "requires" : "",
711       "params" : [
712         {
713           "name" : "x",
714           "type" : "Number/Array",
715           "desc" : "The page x or an array containing [x, y]",
716           "isOptional" : false
717         },
718         {
719           "name" : "y",
720           "type" : "Number",
721           "desc" : "The page y",
722           "isOptional" : false
723         }
724       ],
725       "returns" : [
726         {
727           "name" : "",
728           "type" : "Object",
729           "desc" : "An object with left and top properties. e.g. {left: (value), top: (value)}"
730         }
731       ]
732     },
733     {
734       "name" : "createProxy",
735       "type" : "function",
736       "desc" : "Creates a proxy element of this element",
737       "sig" : "(config, renderTo, matchBox)",
738       "static" : false,
739       "memberOf" : "",
740       "isStatic" : false,
741       "isConstructor" : false,
742       "isPrivate" : false,
743       "example" : "",
744       "deprecated" : "",
745       "since" : "",
746       "see" : "",
747       "exceptions" : "",
748       "requires" : "",
749       "params" : [
750         {
751           "name" : "config",
752           "type" : "String/Object",
753           "desc" : "The class name of the proxy element or a DomHelper config object",
754           "isOptional" : false
755         },
756         {
757           "name" : "renderTo",
758           "type" : "String/HTMLElement",
759           "desc" : "(optional) The element or element id to render the proxy to (defaults to document.body)",
760           "isOptional" : false
761         },
762         {
763           "name" : "matchBox",
764           "type" : "Boolean",
765           "desc" : "(optional) True to align and size the proxy to this element now (defaults to false)",
766           "isOptional" : false
767         }
768       ],
769       "returns" : [
770         {
771           "name" : "",
772           "type" : "Roo.Element",
773           "desc" : "The new proxy element"
774         }
775       ]
776     },
777     {
778       "name" : "down",
779       "type" : "function",
780       "desc" : "Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).",
781       "sig" : "(selector, returnDom)",
782       "static" : false,
783       "memberOf" : "",
784       "isStatic" : false,
785       "isConstructor" : false,
786       "isPrivate" : false,
787       "example" : "",
788       "deprecated" : "",
789       "since" : "",
790       "see" : "",
791       "exceptions" : "",
792       "requires" : "",
793       "params" : [
794         {
795           "name" : "selector",
796           "type" : "String",
797           "desc" : "The CSS selector",
798           "isOptional" : false
799         },
800         {
801           "name" : "returnDom",
802           "type" : "Boolean",
803           "desc" : "(optional) True to return the DOM node instead of Roo.Element (defaults to false)",
804           "isOptional" : false
805         }
806       ],
807       "returns" : [
808         {
809           "name" : "",
810           "type" : "HTMLElement/Roo.Element",
811           "desc" : "The child Roo.Element (or DOM node if returnDom = true)"
812         }
813       ]
814     },
815     {
816       "name" : "getBox",
817       "type" : "function",
818       "desc" : "Return a box {x, y, width, height} that can be used to set another elements\nsize/location to match this element.",
819       "sig" : "(contentBox, local)",
820       "static" : false,
821       "memberOf" : "",
822       "isStatic" : false,
823       "isConstructor" : false,
824       "isPrivate" : false,
825       "example" : "",
826       "deprecated" : "",
827       "since" : "",
828       "see" : "",
829       "exceptions" : "",
830       "requires" : "",
831       "params" : [
832         {
833           "name" : "contentBox",
834           "type" : "Boolean",
835           "desc" : "(optional) If true a box for the content of the element is returned.",
836           "isOptional" : false
837         },
838         {
839           "name" : "local",
840           "type" : "Boolean",
841           "desc" : "(optional) If true the element's left and top are returned instead of page x/y.",
842           "isOptional" : false
843         }
844       ],
845       "returns" : [
846         {
847           "name" : "",
848           "type" : "Object",
849           "desc" : "box An object in the format {x, y, width, height}"
850         }
851       ]
852     },
853     {
854       "name" : "toggle",
855       "type" : "function",
856       "desc" : "Toggles the element's visibility or display, depending on visibility mode.",
857       "sig" : "(animate)",
858       "static" : false,
859       "memberOf" : "",
860       "isStatic" : false,
861       "isConstructor" : false,
862       "isPrivate" : false,
863       "example" : "",
864       "deprecated" : "",
865       "since" : "",
866       "see" : "",
867       "exceptions" : "",
868       "requires" : "",
869       "params" : [
870         {
871           "name" : "animate",
872           "type" : "Boolean/Object",
873           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
874           "isOptional" : false
875         }
876       ],
877       "returns" : [
878         {
879           "name" : "",
880           "type" : "Roo.Element",
881           "desc" : "this"
882         }
883       ]
884     },
885     {
886       "name" : "setBounds",
887       "type" : "function",
888       "desc" : "Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.",
889       "sig" : "(x, y, width, height, animate)",
890       "static" : false,
891       "memberOf" : "",
892       "isStatic" : false,
893       "isConstructor" : false,
894       "isPrivate" : false,
895       "example" : "",
896       "deprecated" : "",
897       "since" : "",
898       "see" : "",
899       "exceptions" : "",
900       "requires" : "",
901       "params" : [
902         {
903           "name" : "x",
904           "type" : "Number",
905           "desc" : "X value for new position (coordinates are page-based)",
906           "isOptional" : false
907         },
908         {
909           "name" : "y",
910           "type" : "Number",
911           "desc" : "Y value for new position (coordinates are page-based)",
912           "isOptional" : false
913         },
914         {
915           "name" : "width",
916           "type" : "Number",
917           "desc" : "The new width",
918           "isOptional" : false
919         },
920         {
921           "name" : "height",
922           "type" : "Number",
923           "desc" : "The new height",
924           "isOptional" : false
925         },
926         {
927           "name" : "animate",
928           "type" : "Boolean/Object",
929           "desc" : "(optional) true for the default animation or a standard Element animation config object",
930           "isOptional" : false
931         }
932       ],
933       "returns" : [
934         {
935           "name" : "",
936           "type" : "Roo.Element",
937           "desc" : "this"
938         }
939       ]
940     },
941     {
942       "name" : "getX",
943       "type" : "function",
944       "desc" : "Gets the current X position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
945       "sig" : "()\n{\n\n}",
946       "static" : false,
947       "memberOf" : "",
948       "isStatic" : false,
949       "isConstructor" : false,
950       "isPrivate" : false,
951       "example" : "",
952       "deprecated" : "",
953       "since" : "",
954       "see" : "",
955       "exceptions" : "",
956       "requires" : "",
957       "params" : [],
958       "returns" : [
959         {
960           "name" : "",
961           "type" : "Number",
962           "desc" : "The X position of the element"
963         }
964       ]
965     },
966     {
967       "name" : "getY",
968       "type" : "function",
969       "desc" : "Gets the current Y position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
970       "sig" : "()\n{\n\n}",
971       "static" : false,
972       "memberOf" : "",
973       "isStatic" : false,
974       "isConstructor" : false,
975       "isPrivate" : false,
976       "example" : "",
977       "deprecated" : "",
978       "since" : "",
979       "see" : "",
980       "exceptions" : "",
981       "requires" : "",
982       "params" : [],
983       "returns" : [
984         {
985           "name" : "",
986           "type" : "Number",
987           "desc" : "The Y position of the element"
988         }
989       ]
990     },
991     {
992       "name" : "focus",
993       "type" : "function",
994       "desc" : "Tries to focus the element. Any exceptions are caught and ignored.",
995       "sig" : "()\n{\n\n}",
996       "static" : false,
997       "memberOf" : "",
998       "isStatic" : false,
999       "isConstructor" : false,
1000       "isPrivate" : false,
1001       "example" : "",
1002       "deprecated" : "",
1003       "since" : "",
1004       "see" : "",
1005       "exceptions" : "",
1006       "requires" : "",
1007       "params" : [],
1008       "returns" : [
1009         {
1010           "name" : "",
1011           "type" : "Roo.Element",
1012           "desc" : "this"
1013         }
1014       ]
1015     },
1016     {
1017       "name" : "get",
1018       "type" : "function",
1019       "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.",
1020       "sig" : "(el)",
1021       "static" : true,
1022       "memberOf" : "",
1023       "isStatic" : true,
1024       "isConstructor" : false,
1025       "isPrivate" : false,
1026       "example" : "",
1027       "deprecated" : "",
1028       "since" : "",
1029       "see" : "",
1030       "exceptions" : "",
1031       "requires" : "",
1032       "params" : [
1033         {
1034           "name" : "el",
1035           "type" : "String/HTMLElement/Element",
1036           "desc" : "The id of the node, a DOM Node or an existing Element.",
1037           "isOptional" : false
1038         }
1039       ],
1040       "returns" : [
1041         {
1042           "name" : "",
1043           "type" : "Element",
1044           "desc" : "The Element object"
1045         }
1046       ]
1047     },
1048     {
1049       "name" : "autoHeight",
1050       "type" : "function",
1051       "desc" : "Measures the element's content height and updates height to match. Note: this function uses setTimeout so\nthe new height may not be available immediately.",
1052       "sig" : "(animate, duration, onComplete, easing)",
1053       "static" : false,
1054       "memberOf" : "",
1055       "isStatic" : false,
1056       "isConstructor" : false,
1057       "isPrivate" : false,
1058       "example" : "",
1059       "deprecated" : "",
1060       "since" : "",
1061       "see" : "",
1062       "exceptions" : "",
1063       "requires" : "",
1064       "params" : [
1065         {
1066           "name" : "animate",
1067           "type" : "Boolean",
1068           "desc" : "(optional) Animate the transition (defaults to false)",
1069           "isOptional" : false
1070         },
1071         {
1072           "name" : "duration",
1073           "type" : "Float",
1074           "desc" : "(optional) Length of the animation in seconds (defaults to .35)",
1075           "isOptional" : false
1076         },
1077         {
1078           "name" : "onComplete",
1079           "type" : "Function",
1080           "desc" : "(optional) Function to call when animation completes",
1081           "isOptional" : false
1082         },
1083         {
1084           "name" : "easing",
1085           "type" : "String",
1086           "desc" : "(optional) Easing method to use (defaults to easeOut)",
1087           "isOptional" : false
1088         }
1089       ],
1090       "returns" : [
1091         {
1092           "name" : "",
1093           "type" : "Roo.Element",
1094           "desc" : "this"
1095         }
1096       ]
1097     },
1098     {
1099       "name" : "scrollIntoView",
1100       "type" : "function",
1101       "desc" : "Scrolls this element into view within the passed container.",
1102       "sig" : "(container, hscroll)",
1103       "static" : false,
1104       "memberOf" : "",
1105       "isStatic" : false,
1106       "isConstructor" : false,
1107       "isPrivate" : false,
1108       "example" : "",
1109       "deprecated" : "",
1110       "since" : "",
1111       "see" : "",
1112       "exceptions" : "",
1113       "requires" : "",
1114       "params" : [
1115         {
1116           "name" : "container",
1117           "type" : "String/HTMLElement/Element",
1118           "desc" : "(optional) The container element to scroll (defaults to document.body)",
1119           "isOptional" : false
1120         },
1121         {
1122           "name" : "hscroll",
1123           "type" : "Boolean",
1124           "desc" : "(optional) False to disable horizontal scroll (defaults to true)",
1125           "isOptional" : false
1126         }
1127       ],
1128       "returns" : [
1129         {
1130           "name" : "",
1131           "type" : "Roo.Element",
1132           "desc" : "this"
1133         }
1134       ]
1135     },
1136     {
1137       "name" : "getAlignToXY",
1138       "type" : "function",
1139       "desc" : "Gets the x,y coordinates to align this element with another element. See {@link #alignTo} for more info on the\nsupported position values.",
1140       "sig" : "(element, position, offsets)",
1141       "static" : false,
1142       "memberOf" : "",
1143       "isStatic" : false,
1144       "isConstructor" : false,
1145       "isPrivate" : false,
1146       "example" : "",
1147       "deprecated" : "",
1148       "since" : "",
1149       "see" : "",
1150       "exceptions" : "",
1151       "requires" : "",
1152       "params" : [
1153         {
1154           "name" : "element",
1155           "type" : "String/HTMLElement/Roo.Element",
1156           "desc" : "The element to align to.",
1157           "isOptional" : false
1158         },
1159         {
1160           "name" : "position",
1161           "type" : "String",
1162           "desc" : "The position to align to.",
1163           "isOptional" : false
1164         },
1165         {
1166           "name" : "offsets",
1167           "type" : "Array",
1168           "desc" : "(optional) Offset the positioning by [x, y]",
1169           "isOptional" : false
1170         }
1171       ],
1172       "returns" : [
1173         {
1174           "name" : "",
1175           "type" : "Array",
1176           "desc" : "[x, y]"
1177         }
1178       ]
1179     },
1180     {
1181       "name" : "clearOpacity",
1182       "type" : "function",
1183       "desc" : "Clears any opacity settings from this element. Required in some cases for IE.",
1184       "sig" : "()\n{\n\n}",
1185       "static" : false,
1186       "memberOf" : "",
1187       "isStatic" : false,
1188       "isConstructor" : false,
1189       "isPrivate" : false,
1190       "example" : "",
1191       "deprecated" : "",
1192       "since" : "",
1193       "see" : "",
1194       "exceptions" : "",
1195       "requires" : "",
1196       "params" : [],
1197       "returns" : [
1198         {
1199           "name" : "",
1200           "type" : "Roo.Element",
1201           "desc" : "this"
1202         }
1203       ]
1204     },
1205     {
1206       "name" : "setPositioning",
1207       "type" : "function",
1208       "desc" : "Set positioning with an object returned by getPositioning().",
1209       "sig" : "(posCfg)",
1210       "static" : false,
1211       "memberOf" : "",
1212       "isStatic" : false,
1213       "isConstructor" : false,
1214       "isPrivate" : false,
1215       "example" : "",
1216       "deprecated" : "",
1217       "since" : "",
1218       "see" : "",
1219       "exceptions" : "",
1220       "requires" : "",
1221       "params" : [
1222         {
1223           "name" : "posCfg",
1224           "type" : "Object",
1225           "desc" : "",
1226           "isOptional" : false
1227         }
1228       ],
1229       "returns" : [
1230         {
1231           "name" : "",
1232           "type" : "Roo.Element",
1233           "desc" : "this"
1234         }
1235       ]
1236     },
1237     {
1238       "name" : "getMargins",
1239       "type" : "function",
1240       "desc" : "Returns an object with properties top, left, right and bottom representing the margins of this element unless sides is passed,\nthen it returns the calculated width of the sides (see getPadding)",
1241       "sig" : "(sides)",
1242       "static" : false,
1243       "memberOf" : "",
1244       "isStatic" : false,
1245       "isConstructor" : false,
1246       "isPrivate" : false,
1247       "example" : "",
1248       "deprecated" : "",
1249       "since" : "",
1250       "see" : "",
1251       "exceptions" : "",
1252       "requires" : "",
1253       "params" : [
1254         {
1255           "name" : "sides",
1256           "type" : "String",
1257           "desc" : "(optional) Any combination of l, r, t, b to get the sum of those sides",
1258           "isOptional" : false
1259         }
1260       ],
1261       "returns" : [
1262         {
1263           "name" : "",
1264           "type" : "Object/Number",
1265           "desc" : ""
1266         }
1267       ]
1268     },
1269     {
1270       "name" : "setRegion",
1271       "type" : "function",
1272       "desc" : "Sets the element's position and size the the specified region. If animation is true then width, height, x and y will be animated concurrently.",
1273       "sig" : "(region, animate)",
1274       "static" : false,
1275       "memberOf" : "",
1276       "isStatic" : false,
1277       "isConstructor" : false,
1278       "isPrivate" : false,
1279       "example" : "",
1280       "deprecated" : "",
1281       "since" : "",
1282       "see" : "",
1283       "exceptions" : "",
1284       "requires" : "",
1285       "params" : [
1286         {
1287           "name" : "region",
1288           "type" : "Roo.lib.Region",
1289           "desc" : "The region to fill",
1290           "isOptional" : false
1291         },
1292         {
1293           "name" : "animate",
1294           "type" : "Boolean/Object",
1295           "desc" : "(optional) true for the default animation or a standard Element animation config object",
1296           "isOptional" : false
1297         }
1298       ],
1299       "returns" : [
1300         {
1301           "name" : "",
1302           "type" : "Roo.Element",
1303           "desc" : "this"
1304         }
1305       ]
1306     },
1307     {
1308       "name" : "getAttributeNS",
1309       "type" : "function",
1310       "desc" : "Returns the value of a namespaced attribute from the element's underlying DOM node.",
1311       "sig" : "(namespace, name)",
1312       "static" : false,
1313       "memberOf" : "",
1314       "isStatic" : false,
1315       "isConstructor" : false,
1316       "isPrivate" : false,
1317       "example" : "",
1318       "deprecated" : "",
1319       "since" : "",
1320       "see" : "",
1321       "exceptions" : "",
1322       "requires" : "",
1323       "params" : [
1324         {
1325           "name" : "namespace",
1326           "type" : "String",
1327           "desc" : "The namespace in which to look for the attribute",
1328           "isOptional" : false
1329         },
1330         {
1331           "name" : "name",
1332           "type" : "String",
1333           "desc" : "The attribute name",
1334           "isOptional" : false
1335         }
1336       ],
1337       "returns" : [
1338         {
1339           "name" : "",
1340           "type" : "String",
1341           "desc" : "The attribute value"
1342         }
1343       ]
1344     },
1345     {
1346       "name" : "setLeft",
1347       "type" : "function",
1348       "desc" : "Sets the element's left position directly using CSS style (instead of {@link #setX}).",
1349       "sig" : "(left)",
1350       "static" : false,
1351       "memberOf" : "",
1352       "isStatic" : false,
1353       "isConstructor" : false,
1354       "isPrivate" : false,
1355       "example" : "",
1356       "deprecated" : "",
1357       "since" : "",
1358       "see" : "",
1359       "exceptions" : "",
1360       "requires" : "",
1361       "params" : [
1362         {
1363           "name" : "left",
1364           "type" : "String",
1365           "desc" : "The left CSS property value",
1366           "isOptional" : false
1367         }
1368       ],
1369       "returns" : [
1370         {
1371           "name" : "",
1372           "type" : "Roo.Element",
1373           "desc" : "this"
1374         }
1375       ]
1376     },
1377     {
1378       "name" : "load",
1379       "type" : "function",
1380       "desc" : "Direct access to the UpdateManager update() method (takes the same parameters).",
1381       "sig" : "(url, params, callback, discardUrl)",
1382       "static" : false,
1383       "memberOf" : "",
1384       "isStatic" : false,
1385       "isConstructor" : false,
1386       "isPrivate" : false,
1387       "example" : "",
1388       "deprecated" : "",
1389       "since" : "",
1390       "see" : "",
1391       "exceptions" : "",
1392       "requires" : "",
1393       "params" : [
1394         {
1395           "name" : "url",
1396           "type" : "String/Function",
1397           "desc" : "The url for this request or a function to call to get the url",
1398           "isOptional" : false
1399         },
1400         {
1401           "name" : "params",
1402           "type" : "String/Object",
1403           "desc" : "(optional) The parameters to pass as either a url encoded string \"param1=1&amp;param2=2\" or an object {param1: 1, param2: 2}",
1404           "isOptional" : false
1405         },
1406         {
1407           "name" : "callback",
1408           "type" : "Function",
1409           "desc" : "(optional) Callback when transaction is complete - called with signature (oElement, bSuccess)",
1410           "isOptional" : false
1411         },
1412         {
1413           "name" : "discardUrl",
1414           "type" : "Boolean",
1415           "desc" : "(optional) By default when you execute an update the defaultUrl is changed to the last used url. If true, it will not store the url.",
1416           "isOptional" : false
1417         }
1418       ],
1419       "returns" : [
1420         {
1421           "name" : "",
1422           "type" : "Roo.Element",
1423           "desc" : "this"
1424         }
1425       ]
1426     },
1427     {
1428       "name" : "replaceClass",
1429       "type" : "function",
1430       "desc" : "Replaces a CSS class on the element with another.  If the old name does not exist, the new name will simply be added.",
1431       "sig" : "(oldClassName, newClassName)",
1432       "static" : false,
1433       "memberOf" : "",
1434       "isStatic" : false,
1435       "isConstructor" : false,
1436       "isPrivate" : false,
1437       "example" : "",
1438       "deprecated" : "",
1439       "since" : "",
1440       "see" : "",
1441       "exceptions" : "",
1442       "requires" : "",
1443       "params" : [
1444         {
1445           "name" : "oldClassName",
1446           "type" : "String",
1447           "desc" : "The CSS class to replace",
1448           "isOptional" : false
1449         },
1450         {
1451           "name" : "newClassName",
1452           "type" : "String",
1453           "desc" : "The replacement CSS class",
1454           "isOptional" : false
1455         }
1456       ],
1457       "returns" : [
1458         {
1459           "name" : "",
1460           "type" : "Roo.Element",
1461           "desc" : "this"
1462         }
1463       ]
1464     },
1465     {
1466       "name" : "initDDTarget",
1467       "type" : "function",
1468       "desc" : "Initializes a {@link Roo.dd.DDTarget} object for this element.",
1469       "sig" : "(group, config, overrides)",
1470       "static" : false,
1471       "memberOf" : "",
1472       "isStatic" : false,
1473       "isConstructor" : false,
1474       "isPrivate" : false,
1475       "example" : "",
1476       "deprecated" : "",
1477       "since" : "",
1478       "see" : "",
1479       "exceptions" : "",
1480       "requires" : "",
1481       "params" : [
1482         {
1483           "name" : "group",
1484           "type" : "String",
1485           "desc" : "The group the DDTarget object is member of",
1486           "isOptional" : false
1487         },
1488         {
1489           "name" : "config",
1490           "type" : "Object",
1491           "desc" : "The DDTarget config object",
1492           "isOptional" : false
1493         },
1494         {
1495           "name" : "overrides",
1496           "type" : "Object",
1497           "desc" : "An object containing methods to override/implement on the DDTarget object",
1498           "isOptional" : false
1499         }
1500       ],
1501       "returns" : [
1502         {
1503           "name" : "",
1504           "type" : "Roo.dd.DDTarget",
1505           "desc" : "The DDTarget object"
1506         }
1507       ]
1508     },
1509     {
1510       "name" : "setHeight",
1511       "type" : "function",
1512       "desc" : "Set the height of the element",
1513       "sig" : "(height, animate)",
1514       "static" : false,
1515       "memberOf" : "",
1516       "isStatic" : false,
1517       "isConstructor" : false,
1518       "isPrivate" : false,
1519       "example" : "",
1520       "deprecated" : "",
1521       "since" : "",
1522       "see" : "",
1523       "exceptions" : "",
1524       "requires" : "",
1525       "params" : [
1526         {
1527           "name" : "height",
1528           "type" : "Number",
1529           "desc" : "The new height",
1530           "isOptional" : false
1531         },
1532         {
1533           "name" : "animate",
1534           "type" : "Boolean/Object",
1535           "desc" : "(optional) true for the default animation or a standard Element animation config object",
1536           "isOptional" : false
1537         }
1538       ],
1539       "returns" : [
1540         {
1541           "name" : "",
1542           "type" : "Roo.Element",
1543           "desc" : "this"
1544         }
1545       ]
1546     },
1547     {
1548       "name" : "clean",
1549       "type" : "function",
1550       "desc" : "Removes worthless text nodes",
1551       "sig" : "(forceReclean)",
1552       "static" : false,
1553       "memberOf" : "",
1554       "isStatic" : false,
1555       "isConstructor" : false,
1556       "isPrivate" : false,
1557       "example" : "",
1558       "deprecated" : "",
1559       "since" : "",
1560       "see" : "",
1561       "exceptions" : "",
1562       "requires" : "",
1563       "params" : [
1564         {
1565           "name" : "forceReclean",
1566           "type" : "Boolean",
1567           "desc" : "(optional) By default the element\nkeeps track if it has been cleaned already so\nyou can call this over and over. However, if you update the element and\nneed to force a reclean, you can pass true.",
1568           "isOptional" : false
1569         }
1570       ],
1571       "returns" : []
1572     },
1573     {
1574       "name" : "getPositioning",
1575       "type" : "function",
1576       "desc" : "Gets an object with all CSS positioning properties. Useful along with setPostioning to get\nsnapshot before performing an update and then restoring the element.",
1577       "sig" : "()\n{\n\n}",
1578       "static" : false,
1579       "memberOf" : "",
1580       "isStatic" : false,
1581       "isConstructor" : false,
1582       "isPrivate" : false,
1583       "example" : "",
1584       "deprecated" : "",
1585       "since" : "",
1586       "see" : "",
1587       "exceptions" : "",
1588       "requires" : "",
1589       "params" : [],
1590       "returns" : [
1591         {
1592           "name" : "",
1593           "type" : "Object",
1594           "desc" : ""
1595         }
1596       ]
1597     },
1598     {
1599       "name" : "update",
1600       "type" : "function",
1601       "desc" : "Update the innerHTML of this element, optionally searching for and processing scripts",
1602       "sig" : "(html, loadScripts, callback)",
1603       "static" : false,
1604       "memberOf" : "",
1605       "isStatic" : false,
1606       "isConstructor" : false,
1607       "isPrivate" : false,
1608       "example" : "",
1609       "deprecated" : "",
1610       "since" : "",
1611       "see" : "",
1612       "exceptions" : "",
1613       "requires" : "",
1614       "params" : [
1615         {
1616           "name" : "html",
1617           "type" : "String",
1618           "desc" : "The new HTML",
1619           "isOptional" : false
1620         },
1621         {
1622           "name" : "loadScripts",
1623           "type" : "Boolean",
1624           "desc" : "(optional) true to look for and process scripts",
1625           "isOptional" : false
1626         },
1627         {
1628           "name" : "callback",
1629           "type" : "Function",
1630           "desc" : "For async script loading you can be noticed when the update completes",
1631           "isOptional" : false
1632         }
1633       ],
1634       "returns" : [
1635         {
1636           "name" : "",
1637           "type" : "Roo.Element",
1638           "desc" : "this"
1639         }
1640       ]
1641     },
1642     {
1643       "name" : "contains",
1644       "type" : "function",
1645       "desc" : "Returns true if this element is an ancestor of the passed element",
1646       "sig" : "(el)",
1647       "static" : false,
1648       "memberOf" : "",
1649       "isStatic" : false,
1650       "isConstructor" : false,
1651       "isPrivate" : false,
1652       "example" : "",
1653       "deprecated" : "",
1654       "since" : "",
1655       "see" : "",
1656       "exceptions" : "",
1657       "requires" : "",
1658       "params" : [
1659         {
1660           "name" : "el",
1661           "type" : "HTMLElement/String",
1662           "desc" : "The element to check",
1663           "isOptional" : false
1664         }
1665       ],
1666       "returns" : [
1667         {
1668           "name" : "",
1669           "type" : "Boolean",
1670           "desc" : "True if this element is an ancestor of el, else false"
1671         }
1672       ]
1673     },
1674     {
1675       "name" : "appendChild",
1676       "type" : "function",
1677       "desc" : "Appends the passed element(s) to this element",
1678       "sig" : "(el)",
1679       "static" : false,
1680       "memberOf" : "",
1681       "isStatic" : false,
1682       "isConstructor" : false,
1683       "isPrivate" : false,
1684       "example" : "",
1685       "deprecated" : "",
1686       "since" : "",
1687       "see" : "",
1688       "exceptions" : "",
1689       "requires" : "",
1690       "params" : [
1691         {
1692           "name" : "el",
1693           "type" : "String/HTMLElement/Array/Element/CompositeElement",
1694           "desc" : "",
1695           "isOptional" : false
1696         }
1697       ],
1698       "returns" : [
1699         {
1700           "name" : "",
1701           "type" : "Roo.Element",
1702           "desc" : "this"
1703         }
1704       ]
1705     },
1706     {
1707       "name" : "getValue",
1708       "type" : "function",
1709       "desc" : "Returns the value of the \"value\" attribute",
1710       "sig" : "(asNumber)",
1711       "static" : false,
1712       "memberOf" : "",
1713       "isStatic" : false,
1714       "isConstructor" : false,
1715       "isPrivate" : false,
1716       "example" : "",
1717       "deprecated" : "",
1718       "since" : "",
1719       "see" : "",
1720       "exceptions" : "",
1721       "requires" : "",
1722       "params" : [
1723         {
1724           "name" : "asNumber",
1725           "type" : "Boolean",
1726           "desc" : "true to parse the value as a number",
1727           "isOptional" : false
1728         }
1729       ],
1730       "returns" : [
1731         {
1732           "name" : "",
1733           "type" : "String/Number",
1734           "desc" : ""
1735         }
1736       ]
1737     },
1738     {
1739       "name" : "getRegion",
1740       "type" : "function",
1741       "desc" : "Returns the region of the given element.\nThe element must be part of the DOM tree to have a region (display:none or elements not appended return false).",
1742       "sig" : "()\n{\n\n}",
1743       "static" : false,
1744       "memberOf" : "",
1745       "isStatic" : false,
1746       "isConstructor" : false,
1747       "isPrivate" : false,
1748       "example" : "",
1749       "deprecated" : "",
1750       "since" : "",
1751       "see" : "",
1752       "exceptions" : "",
1753       "requires" : "",
1754       "params" : [],
1755       "returns" : [
1756         {
1757           "name" : "",
1758           "type" : "Region",
1759           "desc" : "A Roo.lib.Region containing \"top, left, bottom, right\" member data."
1760         }
1761       ]
1762     },
1763     {
1764       "name" : "anchorTo",
1765       "type" : "function",
1766       "desc" : "Anchors an element to another element and realigns it when the window is resized.",
1767       "sig" : "(element, position, offsets, animate, monitorScroll, callback)",
1768       "static" : false,
1769       "memberOf" : "",
1770       "isStatic" : false,
1771       "isConstructor" : false,
1772       "isPrivate" : false,
1773       "example" : "",
1774       "deprecated" : "",
1775       "since" : "",
1776       "see" : "",
1777       "exceptions" : "",
1778       "requires" : "",
1779       "params" : [
1780         {
1781           "name" : "element",
1782           "type" : "String/HTMLElement/Roo.Element",
1783           "desc" : "The element to align to.",
1784           "isOptional" : false
1785         },
1786         {
1787           "name" : "position",
1788           "type" : "String",
1789           "desc" : "The position to align to.",
1790           "isOptional" : false
1791         },
1792         {
1793           "name" : "offsets",
1794           "type" : "Array",
1795           "desc" : "(optional) Offset the positioning by [x, y]",
1796           "isOptional" : false
1797         },
1798         {
1799           "name" : "animate",
1800           "type" : "Boolean/Object",
1801           "desc" : "(optional) True for the default animation or a standard Element animation config object",
1802           "isOptional" : false
1803         },
1804         {
1805           "name" : "monitorScroll",
1806           "type" : "Boolean/Number",
1807           "desc" : "(optional) True to monitor body scroll and reposition. If this parameter\nis a number, it is used as the buffer delay (defaults to 50ms).",
1808           "isOptional" : false
1809         },
1810         {
1811           "name" : "callback",
1812           "type" : "Function",
1813           "desc" : "The function to call after the animation finishes",
1814           "isOptional" : false
1815         }
1816       ],
1817       "returns" : [
1818         {
1819           "name" : "",
1820           "type" : "Roo.Element",
1821           "desc" : "this"
1822         }
1823       ]
1824     },
1825     {
1826       "name" : "removeClass",
1827       "type" : "function",
1828       "desc" : "Removes one or more CSS classes from the element.",
1829       "sig" : "(className)",
1830       "static" : false,
1831       "memberOf" : "",
1832       "isStatic" : false,
1833       "isConstructor" : false,
1834       "isPrivate" : false,
1835       "example" : "",
1836       "deprecated" : "",
1837       "since" : "",
1838       "see" : "",
1839       "exceptions" : "",
1840       "requires" : "",
1841       "params" : [
1842         {
1843           "name" : "className",
1844           "type" : "String/Array",
1845           "desc" : "The CSS class to remove, or an array of classes",
1846           "isOptional" : false
1847         }
1848       ],
1849       "returns" : [
1850         {
1851           "name" : "",
1852           "type" : "Roo.Element",
1853           "desc" : "this"
1854         }
1855       ]
1856     },
1857     {
1858       "name" : "radioClass",
1859       "type" : "function",
1860       "desc" : "Adds one or more CSS classes to this element and removes the same class(es) from all siblings.",
1861       "sig" : "(className)",
1862       "static" : false,
1863       "memberOf" : "",
1864       "isStatic" : false,
1865       "isConstructor" : false,
1866       "isPrivate" : false,
1867       "example" : "",
1868       "deprecated" : "",
1869       "since" : "",
1870       "see" : "",
1871       "exceptions" : "",
1872       "requires" : "",
1873       "params" : [
1874         {
1875           "name" : "className",
1876           "type" : "String/Array",
1877           "desc" : "The CSS class to add, or an array of classes",
1878           "isOptional" : false
1879         }
1880       ],
1881       "returns" : [
1882         {
1883           "name" : "",
1884           "type" : "Roo.Element",
1885           "desc" : "this"
1886         }
1887       ]
1888     },
1889     {
1890       "name" : "getWidth",
1891       "type" : "function",
1892       "desc" : "Returns the offset width of the element",
1893       "sig" : "(contentWidth)",
1894       "static" : false,
1895       "memberOf" : "",
1896       "isStatic" : false,
1897       "isConstructor" : false,
1898       "isPrivate" : false,
1899       "example" : "",
1900       "deprecated" : "",
1901       "since" : "",
1902       "see" : "",
1903       "exceptions" : "",
1904       "requires" : "",
1905       "params" : [
1906         {
1907           "name" : "contentWidth",
1908           "type" : "Boolean",
1909           "desc" : "(optional) true to get the width minus borders and padding",
1910           "isOptional" : false
1911         }
1912       ],
1913       "returns" : [
1914         {
1915           "name" : "",
1916           "type" : "Number",
1917           "desc" : "The element's width"
1918         }
1919       ]
1920     },
1921     {
1922       "name" : "insertBefore",
1923       "type" : "function",
1924       "desc" : "Inserts this element before the passed element in the DOM",
1925       "sig" : "(el)",
1926       "static" : false,
1927       "memberOf" : "",
1928       "isStatic" : false,
1929       "isConstructor" : false,
1930       "isPrivate" : false,
1931       "example" : "",
1932       "deprecated" : "",
1933       "since" : "",
1934       "see" : "",
1935       "exceptions" : "",
1936       "requires" : "",
1937       "params" : [
1938         {
1939           "name" : "el",
1940           "type" : "String/HTMLElement/Element",
1941           "desc" : "The element to insert before",
1942           "isOptional" : false
1943         }
1944       ],
1945       "returns" : [
1946         {
1947           "name" : "",
1948           "type" : "Roo.Element",
1949           "desc" : "this"
1950         }
1951       ]
1952     },
1953     {
1954       "name" : "getHeight",
1955       "type" : "function",
1956       "desc" : "Returns the offset height of the element",
1957       "sig" : "(contentHeight)",
1958       "static" : false,
1959       "memberOf" : "",
1960       "isStatic" : false,
1961       "isConstructor" : false,
1962       "isPrivate" : false,
1963       "example" : "",
1964       "deprecated" : "",
1965       "since" : "",
1966       "see" : "",
1967       "exceptions" : "",
1968       "requires" : "",
1969       "params" : [
1970         {
1971           "name" : "contentHeight",
1972           "type" : "Boolean",
1973           "desc" : "(optional) true to get the height minus borders and padding",
1974           "isOptional" : false
1975         }
1976       ],
1977       "returns" : [
1978         {
1979           "name" : "",
1980           "type" : "Number",
1981           "desc" : "The element's height"
1982         }
1983       ]
1984     },
1985     {
1986       "name" : "setTop",
1987       "type" : "function",
1988       "desc" : "Sets the element's top position directly using CSS style (instead of {@link #setY}).",
1989       "sig" : "(top)",
1990       "static" : false,
1991       "memberOf" : "",
1992       "isStatic" : false,
1993       "isConstructor" : false,
1994       "isPrivate" : false,
1995       "example" : "",
1996       "deprecated" : "",
1997       "since" : "",
1998       "see" : "",
1999       "exceptions" : "",
2000       "requires" : "",
2001       "params" : [
2002         {
2003           "name" : "top",
2004           "type" : "String",
2005           "desc" : "The top CSS property value",
2006           "isOptional" : false
2007         }
2008       ],
2009       "returns" : [
2010         {
2011           "name" : "",
2012           "type" : "Roo.Element",
2013           "desc" : "this"
2014         }
2015       ]
2016     },
2017     {
2018       "name" : "toggleClass",
2019       "type" : "function",
2020       "desc" : "Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).",
2021       "sig" : "(className)",
2022       "static" : false,
2023       "memberOf" : "",
2024       "isStatic" : false,
2025       "isConstructor" : false,
2026       "isPrivate" : false,
2027       "example" : "",
2028       "deprecated" : "",
2029       "since" : "",
2030       "see" : "",
2031       "exceptions" : "",
2032       "requires" : "",
2033       "params" : [
2034         {
2035           "name" : "className",
2036           "type" : "String",
2037           "desc" : "The CSS class to toggle",
2038           "isOptional" : false
2039         }
2040       ],
2041       "returns" : [
2042         {
2043           "name" : "",
2044           "type" : "Roo.Element",
2045           "desc" : "this"
2046         }
2047       ]
2048     },
2049     {
2050       "name" : "wrap",
2051       "type" : "function",
2052       "desc" : "Creates and wraps this element with another element",
2053       "sig" : "(config, returnDom)",
2054       "static" : false,
2055       "memberOf" : "",
2056       "isStatic" : false,
2057       "isConstructor" : false,
2058       "isPrivate" : false,
2059       "example" : "",
2060       "deprecated" : "",
2061       "since" : "",
2062       "see" : "",
2063       "exceptions" : "",
2064       "requires" : "",
2065       "params" : [
2066         {
2067           "name" : "config",
2068           "type" : "Object",
2069           "desc" : "(optional) DomHelper element config object for the wrapper element or null for an empty div",
2070           "isOptional" : false
2071         },
2072         {
2073           "name" : "returnDom",
2074           "type" : "Boolean",
2075           "desc" : "(optional) True to return the raw DOM element instead of Roo.Element",
2076           "isOptional" : false
2077         }
2078       ],
2079       "returns" : [
2080         {
2081           "name" : "",
2082           "type" : "HTMLElement/Element",
2083           "desc" : "The newly created wrapper element"
2084         }
2085       ]
2086     },
2087     {
2088       "name" : "setVisible",
2089       "type" : "function",
2090       "desc" : "Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use\nthe display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property.",
2091       "sig" : "(visible, animate)",
2092       "static" : false,
2093       "memberOf" : "",
2094       "isStatic" : false,
2095       "isConstructor" : false,
2096       "isPrivate" : false,
2097       "example" : "",
2098       "deprecated" : "",
2099       "since" : "",
2100       "see" : "",
2101       "exceptions" : "",
2102       "requires" : "",
2103       "params" : [
2104         {
2105           "name" : "visible",
2106           "type" : "Boolean",
2107           "desc" : "Whether the element is visible",
2108           "isOptional" : false
2109         },
2110         {
2111           "name" : "animate",
2112           "type" : "Boolean/Object",
2113           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
2114           "isOptional" : false
2115         }
2116       ],
2117       "returns" : [
2118         {
2119           "name" : "",
2120           "type" : "Roo.Element",
2121           "desc" : "this"
2122         }
2123       ]
2124     },
2125     {
2126       "name" : "addListener",
2127       "type" : "function",
2128       "desc" : "Appends an event handler",
2129       "sig" : "(eventName, fn, scope, options)",
2130       "static" : false,
2131       "memberOf" : "",
2132       "isStatic" : false,
2133       "isConstructor" : false,
2134       "isPrivate" : false,
2135       "example" : "",
2136       "deprecated" : "",
2137       "since" : "",
2138       "see" : "",
2139       "exceptions" : "",
2140       "requires" : "",
2141       "params" : [
2142         {
2143           "name" : "eventName",
2144           "type" : "String",
2145           "desc" : "The type of event to append",
2146           "isOptional" : false
2147         },
2148         {
2149           "name" : "fn",
2150           "type" : "Function",
2151           "desc" : "The method the event invokes",
2152           "isOptional" : false
2153         },
2154         {
2155           "name" : "scope",
2156           "type" : "Object",
2157           "desc" : "(optional) The scope (this object) of the fn",
2158           "isOptional" : false
2159         },
2160         {
2161           "name" : "options",
2162           "type" : "Object",
2163           "desc" : "(optional)An object with standard {@link Roo.EventManager#addListener} options",
2164           "isOptional" : false
2165         }
2166       ],
2167       "returns" : []
2168     },
2169     {
2170       "name" : "setWidth",
2171       "type" : "function",
2172       "desc" : "Set the width of the element",
2173       "sig" : "(width, animate)",
2174       "static" : false,
2175       "memberOf" : "",
2176       "isStatic" : false,
2177       "isConstructor" : false,
2178       "isPrivate" : false,
2179       "example" : "",
2180       "deprecated" : "",
2181       "since" : "",
2182       "see" : "",
2183       "exceptions" : "",
2184       "requires" : "",
2185       "params" : [
2186         {
2187           "name" : "width",
2188           "type" : "Number",
2189           "desc" : "The new width",
2190           "isOptional" : false
2191         },
2192         {
2193           "name" : "animate",
2194           "type" : "Boolean/Object",
2195           "desc" : "(optional) true for the default animation or a standard Element animation config object",
2196           "isOptional" : false
2197         }
2198       ],
2199       "returns" : [
2200         {
2201           "name" : "",
2202           "type" : "Roo.Element",
2203           "desc" : "this"
2204         }
2205       ]
2206     },
2207     {
2208       "name" : "center",
2209       "type" : "function",
2210       "desc" : "Centers the Element in either the viewport, or another Element.",
2211       "sig" : "(centerIn)",
2212       "static" : false,
2213       "memberOf" : "",
2214       "isStatic" : false,
2215       "isConstructor" : false,
2216       "isPrivate" : false,
2217       "example" : "",
2218       "deprecated" : "",
2219       "since" : "",
2220       "see" : "",
2221       "exceptions" : "",
2222       "requires" : "",
2223       "params" : [
2224         {
2225           "name" : "centerIn",
2226           "type" : "String/HTMLElement/Roo.Element",
2227           "desc" : "(optional) The element in which to center the element.",
2228           "isOptional" : false
2229         }
2230       ],
2231       "returns" : []
2232     },
2233     {
2234       "name" : "isVisible",
2235       "type" : "function",
2236       "desc" : "Checks whether the element is currently visible using both visibility and display properties.",
2237       "sig" : "(deep)",
2238       "static" : false,
2239       "memberOf" : "",
2240       "isStatic" : false,
2241       "isConstructor" : false,
2242       "isPrivate" : false,
2243       "example" : "",
2244       "deprecated" : "",
2245       "since" : "",
2246       "see" : "",
2247       "exceptions" : "",
2248       "requires" : "",
2249       "params" : [
2250         {
2251           "name" : "deep",
2252           "type" : "Boolean",
2253           "desc" : "(optional) True to walk the dom and see if parent elements are hidden (defaults to false)",
2254           "isOptional" : false
2255         }
2256       ],
2257       "returns" : [
2258         {
2259           "name" : "",
2260           "type" : "Boolean",
2261           "desc" : "True if the element is currently visible, else false"
2262         }
2263       ]
2264     },
2265     {
2266       "name" : "findParent",
2267       "type" : "function",
2268       "desc" : "Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)",
2269       "sig" : "(selector, maxDepth, returnEl)",
2270       "static" : false,
2271       "memberOf" : "",
2272       "isStatic" : false,
2273       "isConstructor" : false,
2274       "isPrivate" : false,
2275       "example" : "",
2276       "deprecated" : "",
2277       "since" : "",
2278       "see" : "",
2279       "exceptions" : "",
2280       "requires" : "",
2281       "params" : [
2282         {
2283           "name" : "selector",
2284           "type" : "String",
2285           "desc" : "The simple selector to test",
2286           "isOptional" : false
2287         },
2288         {
2289           "name" : "maxDepth",
2290           "type" : "Number/String/HTMLElement/Element",
2291           "desc" : "(optional) The max depth to\n                search as a number or element (defaults to 10 || document.body)",
2292           "isOptional" : false
2293         },
2294         {
2295           "name" : "returnEl",
2296           "type" : "Boolean",
2297           "desc" : "(optional) True to return a Roo.Element object instead of DOM node",
2298           "isOptional" : false
2299         }
2300       ],
2301       "returns" : [
2302         {
2303           "name" : "",
2304           "type" : "HTMLElement",
2305           "desc" : "The matching DOM node (or null if no match was found)"
2306         }
2307       ]
2308     },
2309     {
2310       "name" : "addKeyListener",
2311       "type" : "function",
2312       "desc" : "Convenience method for constructing a KeyMap",
2313       "sig" : "(key, fn, scope)",
2314       "static" : false,
2315       "memberOf" : "",
2316       "isStatic" : false,
2317       "isConstructor" : false,
2318       "isPrivate" : false,
2319       "example" : "",
2320       "deprecated" : "",
2321       "since" : "",
2322       "see" : "",
2323       "exceptions" : "",
2324       "requires" : "",
2325       "params" : [
2326         {
2327           "name" : "key",
2328           "type" : "Number/Array/Object/String",
2329           "desc" : "Either a string with the keys to listen for, the numeric key code, array of key codes or an object with the following options:\n                                 {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}",
2330           "isOptional" : false
2331         },
2332         {
2333           "name" : "fn",
2334           "type" : "Function",
2335           "desc" : "The function to call",
2336           "isOptional" : false
2337         },
2338         {
2339           "name" : "scope",
2340           "type" : "Object",
2341           "desc" : "(optional) The scope of the function",
2342           "isOptional" : false
2343         }
2344       ],
2345       "returns" : [
2346         {
2347           "name" : "",
2348           "type" : "Roo.KeyMap",
2349           "desc" : "The KeyMap created"
2350         }
2351       ]
2352     },
2353     {
2354       "name" : "swallowEvent",
2355       "type" : "function",
2356       "desc" : "Stops the specified event from bubbling and optionally prevents the default action",
2357       "sig" : "(eventName, preventDefault)",
2358       "static" : false,
2359       "memberOf" : "",
2360       "isStatic" : false,
2361       "isConstructor" : false,
2362       "isPrivate" : false,
2363       "example" : "",
2364       "deprecated" : "",
2365       "since" : "",
2366       "see" : "",
2367       "exceptions" : "",
2368       "requires" : "",
2369       "params" : [
2370         {
2371           "name" : "eventName",
2372           "type" : "String",
2373           "desc" : "",
2374           "isOptional" : false
2375         },
2376         {
2377           "name" : "preventDefault",
2378           "type" : "Boolean",
2379           "desc" : "(optional) true to prevent the default action too",
2380           "isOptional" : false
2381         }
2382       ],
2383       "returns" : [
2384         {
2385           "name" : "",
2386           "type" : "Roo.Element",
2387           "desc" : "this"
2388         }
2389       ]
2390     },
2391     {
2392       "name" : "getStyles",
2393       "type" : "function",
2394       "desc" : "Returns an object with properties matching the styles requested.\nFor example, el.getStyles('color', 'font-size', 'width') might return\n{'color': '#FFFFFF', 'font-size': '13px', 'width': '100px'}.",
2395       "sig" : "(style1, style2)",
2396       "static" : false,
2397       "memberOf" : "",
2398       "isStatic" : false,
2399       "isConstructor" : false,
2400       "isPrivate" : false,
2401       "example" : "",
2402       "deprecated" : "",
2403       "since" : "",
2404       "see" : "",
2405       "exceptions" : "",
2406       "requires" : "",
2407       "params" : [
2408         {
2409           "name" : "style1",
2410           "type" : "String",
2411           "desc" : "A style name",
2412           "isOptional" : false
2413         },
2414         {
2415           "name" : "style2",
2416           "type" : "String",
2417           "desc" : "A style name",
2418           "isOptional" : false
2419         }
2420       ],
2421       "returns" : [
2422         {
2423           "name" : "",
2424           "type" : "Object",
2425           "desc" : "The style object"
2426         }
2427       ]
2428     },
2429     {
2430       "name" : "getSize",
2431       "type" : "function",
2432       "desc" : "Returns the size of the element.",
2433       "sig" : "(contentSize)",
2434       "static" : false,
2435       "memberOf" : "",
2436       "isStatic" : false,
2437       "isConstructor" : false,
2438       "isPrivate" : false,
2439       "example" : "",
2440       "deprecated" : "",
2441       "since" : "",
2442       "see" : "",
2443       "exceptions" : "",
2444       "requires" : "",
2445       "params" : [
2446         {
2447           "name" : "contentSize",
2448           "type" : "Boolean",
2449           "desc" : "(optional) true to get the width/size minus borders and padding",
2450           "isOptional" : false
2451         }
2452       ],
2453       "returns" : [
2454         {
2455           "name" : "",
2456           "type" : "Object",
2457           "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
2458         }
2459       ]
2460     },
2461     {
2462       "name" : "endMeasure",
2463       "type" : "function",
2464       "desc" : "Restores displays to before beginMeasure was called",
2465       "sig" : "()\n{\n\n}",
2466       "static" : false,
2467       "memberOf" : "",
2468       "isStatic" : false,
2469       "isConstructor" : false,
2470       "isPrivate" : false,
2471       "example" : "",
2472       "deprecated" : "",
2473       "since" : "",
2474       "see" : "",
2475       "exceptions" : "",
2476       "requires" : "",
2477       "params" : [],
2478       "returns" : [
2479         {
2480           "name" : "",
2481           "type" : "Roo.Element",
2482           "desc" : "this"
2483         }
2484       ]
2485     },
2486     {
2487       "name" : "getViewSize",
2488       "type" : "function",
2489       "desc" : "Returns the width and height of the viewport.",
2490       "sig" : "()\n{\n\n}",
2491       "static" : false,
2492       "memberOf" : "",
2493       "isStatic" : false,
2494       "isConstructor" : false,
2495       "isPrivate" : false,
2496       "example" : "",
2497       "deprecated" : "",
2498       "since" : "",
2499       "see" : "",
2500       "exceptions" : "",
2501       "requires" : "",
2502       "params" : [],
2503       "returns" : [
2504         {
2505           "name" : "",
2506           "type" : "Object",
2507           "desc" : "An object containing the viewport's size {width: (viewport width), height: (viewport height)}"
2508         }
2509       ]
2510     },
2511     {
2512       "name" : "addClassOnFocus",
2513       "type" : "function",
2514       "desc" : "Sets up event handlers to add and remove a css class when this element has the focus",
2515       "sig" : "(className)",
2516       "static" : false,
2517       "memberOf" : "",
2518       "isStatic" : false,
2519       "isConstructor" : false,
2520       "isPrivate" : false,
2521       "example" : "",
2522       "deprecated" : "",
2523       "since" : "",
2524       "see" : "",
2525       "exceptions" : "",
2526       "requires" : "",
2527       "params" : [
2528         {
2529           "name" : "className",
2530           "type" : "String",
2531           "desc" : "",
2532           "isOptional" : false
2533         }
2534       ],
2535       "returns" : [
2536         {
2537           "name" : "",
2538           "type" : "Roo.Element",
2539           "desc" : "this"
2540         }
2541       ]
2542     },
2543     {
2544       "name" : "alignTo",
2545       "type" : "function",
2546       "desc" : "Aligns this element with another element relative to the specified anchor points. If the other element is the\ndocument it aligns it to the viewport.\nThe position parameter is optional, and can be specified in any one of the following formats:\n<ul>\n  <li><b>Blank</b>: Defaults to aligning the element's top-left corner to the target's bottom-left corner (\"tl-bl\").</li>\n  <li><b>One anchor (deprecated)</b>: The passed anchor position is used as the target element's anchor point.\n      The element being aligned will position its top-left corner (tl) to that point.  <i>This method has been\n      deprecated in favor of the newer two anchor syntax below</i>.</li>\n  <li><b>Two anchors</b>: If two values from the table below are passed separated by a dash, the first value is used as the\n      element's anchor point, and the second value is used as the target's anchor point.</li>\n</ul>\nIn addition to the anchor points, the position parameter also supports the \"?\" character.  If \"?\" is passed at the end of\nthe position string, the element will attempt to align as specified, but the position will be adjusted to constrain to\nthe viewport if necessary.  Note that the element being aligned might be swapped to align to a different position than\nthat specified in order to enforce the viewport constraints.\nFollowing are all of the supported anchor positions:\n    <pre>\n    Value  Description\n    -----  -----------------------------\n    tl     The top left corner (default)\n    t      The center of the top edge\n    tr     The top right corner\n    l      The center of the left edge\n    c      In the center of the element\n    r      The center of the right edge\n    bl     The bottom left corner\n    b      The center of the bottom edge\n    br     The bottom right corner\n    </pre>\n    Example Usage:\n    <pre><code>\n    // align el to other-el using the default positioning (\"tl-bl\", non-constrained)\n    el.alignTo(\"other-el\");\n\n    // align the top left corner of el with the top right corner of other-el (constrained to viewport)\n    el.alignTo(\"other-el\", \"tr?\");\n\n    // align the bottom right corner of el with the center left edge of other-el\n    el.alignTo(\"other-el\", \"br-l?\");\n\n    // align the center of el with the bottom left corner of other-el and\n    // adjust the x position by -6 pixels (and the y position by 0)\n    el.alignTo(\"other-el\", \"c-bl\", [-6, 0]);\n    </code></pre>",
2547       "sig" : "(element, position, offsets, animate)",
2548       "static" : false,
2549       "memberOf" : "",
2550       "isStatic" : false,
2551       "isConstructor" : false,
2552       "isPrivate" : false,
2553       "example" : "",
2554       "deprecated" : "",
2555       "since" : "",
2556       "see" : "",
2557       "exceptions" : "",
2558       "requires" : "",
2559       "params" : [
2560         {
2561           "name" : "element",
2562           "type" : "String/HTMLElement/Roo.Element",
2563           "desc" : "The element to align to.",
2564           "isOptional" : false
2565         },
2566         {
2567           "name" : "position",
2568           "type" : "String",
2569           "desc" : "The position to align to.",
2570           "isOptional" : false
2571         },
2572         {
2573           "name" : "offsets",
2574           "type" : "Array",
2575           "desc" : "(optional) Offset the positioning by [x, y]",
2576           "isOptional" : false
2577         },
2578         {
2579           "name" : "animate",
2580           "type" : "Boolean/Object",
2581           "desc" : "(optional) true for the default animation or a standard Element animation config object",
2582           "isOptional" : false
2583         }
2584       ],
2585       "returns" : [
2586         {
2587           "name" : "",
2588           "type" : "Roo.Element",
2589           "desc" : "this"
2590         }
2591       ]
2592     },
2593     {
2594       "name" : "insertAfter",
2595       "type" : "function",
2596       "desc" : "Inserts this element after the passed element in the DOM",
2597       "sig" : "(el)",
2598       "static" : false,
2599       "memberOf" : "",
2600       "isStatic" : false,
2601       "isConstructor" : false,
2602       "isPrivate" : false,
2603       "example" : "",
2604       "deprecated" : "",
2605       "since" : "",
2606       "see" : "",
2607       "exceptions" : "",
2608       "requires" : "",
2609       "params" : [
2610         {
2611           "name" : "el",
2612           "type" : "String/HTMLElement/Element",
2613           "desc" : "The element to insert after",
2614           "isOptional" : false
2615         }
2616       ],
2617       "returns" : [
2618         {
2619           "name" : "",
2620           "type" : "Roo.Element",
2621           "desc" : "this"
2622         }
2623       ]
2624     },
2625     {
2626       "name" : "hide",
2627       "type" : "function",
2628       "desc" : "Hide this element - Uses display mode to determine whether to use \"display\" or \"visibility\". See {@link #setVisible}.",
2629       "sig" : "(animate)",
2630       "static" : false,
2631       "memberOf" : "",
2632       "isStatic" : false,
2633       "isConstructor" : false,
2634       "isPrivate" : false,
2635       "example" : "",
2636       "deprecated" : "",
2637       "since" : "",
2638       "see" : "",
2639       "exceptions" : "",
2640       "requires" : "",
2641       "params" : [
2642         {
2643           "name" : "animate",
2644           "type" : "Boolean/Object",
2645           "desc" : "(optional) true for the default animation or a standard Element animation config object",
2646           "isOptional" : false
2647         }
2648       ],
2649       "returns" : [
2650         {
2651           "name" : "",
2652           "type" : "Roo.Element",
2653           "desc" : "this"
2654         }
2655       ]
2656     },
2657     {
2658       "name" : "setBottom",
2659       "type" : "function",
2660       "desc" : "Sets the element's CSS bottom style.",
2661       "sig" : "(bottom)",
2662       "static" : false,
2663       "memberOf" : "",
2664       "isStatic" : false,
2665       "isConstructor" : false,
2666       "isPrivate" : false,
2667       "example" : "",
2668       "deprecated" : "",
2669       "since" : "",
2670       "see" : "",
2671       "exceptions" : "",
2672       "requires" : "",
2673       "params" : [
2674         {
2675           "name" : "bottom",
2676           "type" : "String",
2677           "desc" : "The bottom CSS property value",
2678           "isOptional" : false
2679         }
2680       ],
2681       "returns" : [
2682         {
2683           "name" : "",
2684           "type" : "Roo.Element",
2685           "desc" : "this"
2686         }
2687       ]
2688     },
2689     {
2690       "name" : "clearPositioning",
2691       "type" : "function",
2692       "desc" : "Clear positioning back to the default when the document was loaded",
2693       "sig" : "(value)",
2694       "static" : false,
2695       "memberOf" : "",
2696       "isStatic" : false,
2697       "isConstructor" : false,
2698       "isPrivate" : false,
2699       "example" : "",
2700       "deprecated" : "",
2701       "since" : "",
2702       "see" : "",
2703       "exceptions" : "",
2704       "requires" : "",
2705       "params" : [
2706         {
2707           "name" : "value",
2708           "type" : "String",
2709           "desc" : "(optional) The value to use for the left,right,top,bottom, defaults to '' (empty string). You could use 'auto'.",
2710           "isOptional" : false
2711         }
2712       ],
2713       "returns" : [
2714         {
2715           "name" : "",
2716           "type" : "Roo.Element",
2717           "desc" : "this"
2718         }
2719       ]
2720     },
2721     {
2722       "name" : "isDisplayed",
2723       "type" : "function",
2724       "desc" : "Returns true if display is not \"none\"",
2725       "sig" : "()\n{\n\n}",
2726       "static" : false,
2727       "memberOf" : "",
2728       "isStatic" : false,
2729       "isConstructor" : false,
2730       "isPrivate" : false,
2731       "example" : "",
2732       "deprecated" : "",
2733       "since" : "",
2734       "see" : "",
2735       "exceptions" : "",
2736       "requires" : "",
2737       "params" : [],
2738       "returns" : [
2739         {
2740           "name" : "",
2741           "type" : "Boolean",
2742           "desc" : ""
2743         }
2744       ]
2745     },
2746     {
2747       "name" : "show",
2748       "type" : "function",
2749       "desc" : "Show this element - Uses display mode to determine whether to use \"display\" or \"visibility\". See {@link #setVisible}.",
2750       "sig" : "(animate)",
2751       "static" : false,
2752       "memberOf" : "",
2753       "isStatic" : false,
2754       "isConstructor" : false,
2755       "isPrivate" : false,
2756       "example" : "",
2757       "deprecated" : "",
2758       "since" : "",
2759       "see" : "",
2760       "exceptions" : "",
2761       "requires" : "",
2762       "params" : [
2763         {
2764           "name" : "animate",
2765           "type" : "Boolean/Object",
2766           "desc" : "(optional) true for the default animation or a standard Element animation config object",
2767           "isOptional" : false
2768         }
2769       ],
2770       "returns" : [
2771         {
2772           "name" : "",
2773           "type" : "Roo.Element",
2774           "desc" : "this"
2775         }
2776       ]
2777     },
2778     {
2779       "name" : "setLeftTop",
2780       "type" : "function",
2781       "desc" : "Quick set left and top adding default units",
2782       "sig" : "(left, top)",
2783       "static" : false,
2784       "memberOf" : "",
2785       "isStatic" : false,
2786       "isConstructor" : false,
2787       "isPrivate" : false,
2788       "example" : "",
2789       "deprecated" : "",
2790       "since" : "",
2791       "see" : "",
2792       "exceptions" : "",
2793       "requires" : "",
2794       "params" : [
2795         {
2796           "name" : "left",
2797           "type" : "String",
2798           "desc" : "The left CSS property value",
2799           "isOptional" : false
2800         },
2801         {
2802           "name" : "top",
2803           "type" : "String",
2804           "desc" : "The top CSS property value",
2805           "isOptional" : false
2806         }
2807       ],
2808       "returns" : [
2809         {
2810           "name" : "",
2811           "type" : "Roo.Element",
2812           "desc" : "this"
2813         }
2814       ]
2815     },
2816     {
2817       "name" : "child",
2818       "type" : "function",
2819       "desc" : "Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).",
2820       "sig" : "(selector, returnDom)",
2821       "static" : false,
2822       "memberOf" : "",
2823       "isStatic" : false,
2824       "isConstructor" : false,
2825       "isPrivate" : false,
2826       "example" : "",
2827       "deprecated" : "",
2828       "since" : "",
2829       "see" : "",
2830       "exceptions" : "",
2831       "requires" : "",
2832       "params" : [
2833         {
2834           "name" : "selector",
2835           "type" : "String",
2836           "desc" : "The CSS selector",
2837           "isOptional" : false
2838         },
2839         {
2840           "name" : "returnDom",
2841           "type" : "Boolean",
2842           "desc" : "(optional) True to return the DOM node instead of Roo.Element (defaults to false)",
2843           "isOptional" : false
2844         }
2845       ],
2846       "returns" : [
2847         {
2848           "name" : "",
2849           "type" : "HTMLElement/Roo.Element",
2850           "desc" : "The child Roo.Element (or DOM node if returnDom = true)"
2851         }
2852       ]
2853     },
2854     {
2855       "name" : "unmask",
2856       "type" : "function",
2857       "desc" : "Removes a previously applied mask. If removeEl is true the mask overlay is destroyed, otherwise\nit is cached for reuse.",
2858       "sig" : "()\n{\n\n}",
2859       "static" : false,
2860       "memberOf" : "",
2861       "isStatic" : false,
2862       "isConstructor" : false,
2863       "isPrivate" : false,
2864       "example" : "",
2865       "deprecated" : "",
2866       "since" : "",
2867       "see" : "",
2868       "exceptions" : "",
2869       "requires" : "",
2870       "params" : [],
2871       "returns" : []
2872     },
2873     {
2874       "name" : "moveTo",
2875       "type" : "function",
2876       "desc" : "Sets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
2877       "sig" : "(x, y, animate)",
2878       "static" : false,
2879       "memberOf" : "",
2880       "isStatic" : false,
2881       "isConstructor" : false,
2882       "isPrivate" : false,
2883       "example" : "",
2884       "deprecated" : "",
2885       "since" : "",
2886       "see" : "",
2887       "exceptions" : "",
2888       "requires" : "",
2889       "params" : [
2890         {
2891           "name" : "x",
2892           "type" : "Number",
2893           "desc" : "X value for new position (coordinates are page-based)",
2894           "isOptional" : false
2895         },
2896         {
2897           "name" : "y",
2898           "type" : "Number",
2899           "desc" : "Y value for new position (coordinates are page-based)",
2900           "isOptional" : false
2901         },
2902         {
2903           "name" : "animate",
2904           "type" : "Boolean/Object",
2905           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
2906           "isOptional" : false
2907         }
2908       ],
2909       "returns" : [
2910         {
2911           "name" : "",
2912           "type" : "Roo.Element",
2913           "desc" : "this"
2914         }
2915       ]
2916     },
2917     {
2918       "name" : "addClassOnOver",
2919       "type" : "function",
2920       "desc" : "Sets up event handlers to add and remove a css class when the mouse is over this element",
2921       "sig" : "(className, preventFlicker)",
2922       "static" : false,
2923       "memberOf" : "",
2924       "isStatic" : false,
2925       "isConstructor" : false,
2926       "isPrivate" : false,
2927       "example" : "",
2928       "deprecated" : "",
2929       "since" : "",
2930       "see" : "",
2931       "exceptions" : "",
2932       "requires" : "",
2933       "params" : [
2934         {
2935           "name" : "className",
2936           "type" : "String",
2937           "desc" : "",
2938           "isOptional" : false
2939         },
2940         {
2941           "name" : "preventFlicker",
2942           "type" : "Boolean",
2943           "desc" : "(optional) If set to true, it prevents flickering by filtering\nmouseout events for children elements",
2944           "isOptional" : false
2945         }
2946       ],
2947       "returns" : [
2948         {
2949           "name" : "",
2950           "type" : "Roo.Element",
2951           "desc" : "this"
2952         }
2953       ]
2954     },
2955     {
2956       "name" : "getLeft",
2957       "type" : "function",
2958       "desc" : "Gets the left X coordinate",
2959       "sig" : "(local)",
2960       "static" : false,
2961       "memberOf" : "",
2962       "isStatic" : false,
2963       "isConstructor" : false,
2964       "isPrivate" : false,
2965       "example" : "",
2966       "deprecated" : "",
2967       "since" : "",
2968       "see" : "",
2969       "exceptions" : "",
2970       "requires" : "",
2971       "params" : [
2972         {
2973           "name" : "local",
2974           "type" : "Boolean",
2975           "desc" : "True to get the local css position instead of page coordinate",
2976           "isOptional" : false
2977         }
2978       ],
2979       "returns" : [
2980         {
2981           "name" : "",
2982           "type" : "Number",
2983           "desc" : ""
2984         }
2985       ]
2986     },
2987     {
2988       "name" : "isScrollable",
2989       "type" : "function",
2990       "desc" : "Returns true if this element is scrollable.",
2991       "sig" : "()\n{\n\n}",
2992       "static" : false,
2993       "memberOf" : "",
2994       "isStatic" : false,
2995       "isConstructor" : false,
2996       "isPrivate" : false,
2997       "example" : "",
2998       "deprecated" : "",
2999       "since" : "",
3000       "see" : "",
3001       "exceptions" : "",
3002       "requires" : "",
3003       "params" : [],
3004       "returns" : [
3005         {
3006           "name" : "",
3007           "type" : "Boolean",
3008           "desc" : ""
3009         }
3010       ]
3011     },
3012     {
3013       "name" : "boxWrap",
3014       "type" : "function",
3015       "desc" : "Wraps the specified element with a special markup/CSS block that renders by default as a gray container with a\ngradient background, rounded corners and a 4-way shadow.",
3016       "sig" : "(class)",
3017       "static" : false,
3018       "memberOf" : "",
3019       "isStatic" : false,
3020       "isConstructor" : false,
3021       "isPrivate" : false,
3022       "example" : "",
3023       "deprecated" : "",
3024       "since" : "",
3025       "see" : "",
3026       "exceptions" : "",
3027       "requires" : "",
3028       "params" : [
3029         {
3030           "name" : "class",
3031           "type" : "String",
3032           "desc" : "(optional) A base CSS class to apply to the containing wrapper element (defaults to 'x-box').\nNote that there are a number of CSS rules that are dependent on this name to make the overall effect work,\nso if you supply an alternate base class, make sure you also supply all of the necessary rules.",
3033           "isOptional" : false
3034         }
3035       ],
3036       "returns" : [
3037         {
3038           "name" : "",
3039           "type" : "Roo.Element",
3040           "desc" : "this"
3041         }
3042       ]
3043     },
3044     {
3045       "name" : "replace",
3046       "type" : "function",
3047       "desc" : "Replaces the passed element with this element",
3048       "sig" : "(el)",
3049       "static" : false,
3050       "memberOf" : "",
3051       "isStatic" : false,
3052       "isConstructor" : false,
3053       "isPrivate" : false,
3054       "example" : "",
3055       "deprecated" : "",
3056       "since" : "",
3057       "see" : "",
3058       "exceptions" : "",
3059       "requires" : "",
3060       "params" : [
3061         {
3062           "name" : "el",
3063           "type" : "String/HTMLElement/Element",
3064           "desc" : "The element to replace",
3065           "isOptional" : false
3066         }
3067       ],
3068       "returns" : [
3069         {
3070           "name" : "",
3071           "type" : "Roo.Element",
3072           "desc" : "this"
3073         }
3074       ]
3075     },
3076     {
3077       "name" : "select",
3078       "type" : "function",
3079       "desc" : "Creates a {@link Roo.CompositeElement} for child nodes based on the passed CSS selector (the selector should not contain an id).",
3080       "sig" : "(selector, unique)",
3081       "static" : false,
3082       "memberOf" : "",
3083       "isStatic" : false,
3084       "isConstructor" : false,
3085       "isPrivate" : false,
3086       "example" : "",
3087       "deprecated" : "",
3088       "since" : "",
3089       "see" : "",
3090       "exceptions" : "",
3091       "requires" : "",
3092       "params" : [
3093         {
3094           "name" : "selector",
3095           "type" : "String",
3096           "desc" : "The CSS selector",
3097           "isOptional" : false
3098         },
3099         {
3100           "name" : "unique",
3101           "type" : "Boolean",
3102           "desc" : "(optional) True to create a unique Roo.Element for each child (defaults to false, which creates a single shared flyweight object)",
3103           "isOptional" : false
3104         }
3105       ],
3106       "returns" : [
3107         {
3108           "name" : "",
3109           "type" : "CompositeElement/CompositeElementLite",
3110           "desc" : "The composite element"
3111         }
3112       ]
3113     },
3114     {
3115       "name" : "isMasked",
3116       "type" : "function",
3117       "desc" : "Returns true if this element is masked",
3118       "sig" : "()\n{\n\n}",
3119       "static" : false,
3120       "memberOf" : "",
3121       "isStatic" : false,
3122       "isConstructor" : false,
3123       "isPrivate" : false,
3124       "example" : "",
3125       "deprecated" : "",
3126       "since" : "",
3127       "see" : "",
3128       "exceptions" : "",
3129       "requires" : "",
3130       "params" : [],
3131       "returns" : [
3132         {
3133           "name" : "",
3134           "type" : "Boolean",
3135           "desc" : ""
3136         }
3137       ]
3138     },
3139     {
3140       "name" : "getUpdateManager",
3141       "type" : "function",
3142       "desc" : "Gets this element's UpdateManager",
3143       "sig" : "()\n{\n\n}",
3144       "static" : false,
3145       "memberOf" : "",
3146       "isStatic" : false,
3147       "isConstructor" : false,
3148       "isPrivate" : false,
3149       "example" : "",
3150       "deprecated" : "",
3151       "since" : "",
3152       "see" : "",
3153       "exceptions" : "",
3154       "requires" : "",
3155       "params" : [],
3156       "returns" : [
3157         {
3158           "name" : "",
3159           "type" : "Roo.UpdateManager",
3160           "desc" : "The UpdateManager"
3161         }
3162       ]
3163     },
3164     {
3165       "name" : "insertHtml",
3166       "type" : "function",
3167       "desc" : "Inserts an html fragment into this element",
3168       "sig" : "(where, html, returnEl)",
3169       "static" : false,
3170       "memberOf" : "",
3171       "isStatic" : false,
3172       "isConstructor" : false,
3173       "isPrivate" : false,
3174       "example" : "",
3175       "deprecated" : "",
3176       "since" : "",
3177       "see" : "",
3178       "exceptions" : "",
3179       "requires" : "",
3180       "params" : [
3181         {
3182           "name" : "where",
3183           "type" : "String",
3184           "desc" : "Where to insert the html in relation to the this element - beforeBegin, afterBegin, beforeEnd, afterEnd.",
3185           "isOptional" : false
3186         },
3187         {
3188           "name" : "html",
3189           "type" : "String",
3190           "desc" : "The HTML fragment",
3191           "isOptional" : false
3192         },
3193         {
3194           "name" : "returnEl",
3195           "type" : "Boolean",
3196           "desc" : "True to return an Roo.Element",
3197           "isOptional" : false
3198         }
3199       ],
3200       "returns" : [
3201         {
3202           "name" : "",
3203           "type" : "HTMLElement/Roo.Element",
3204           "desc" : "The inserted node (or nearest related if more than 1 inserted)"
3205         }
3206       ]
3207     },
3208     {
3209       "name" : "mask",
3210       "type" : "function",
3211       "desc" : "Puts a mask over this element to disable user interaction. Requires core.css.\nThis method can only be applied to elements which accept child nodes.",
3212       "sig" : "(msg, msgCls)",
3213       "static" : false,
3214       "memberOf" : "",
3215       "isStatic" : false,
3216       "isConstructor" : false,
3217       "isPrivate" : false,
3218       "example" : "",
3219       "deprecated" : "",
3220       "since" : "",
3221       "see" : "",
3222       "exceptions" : "",
3223       "requires" : "",
3224       "params" : [
3225         {
3226           "name" : "msg",
3227           "type" : "String",
3228           "desc" : "(optional) A message to display in the mask",
3229           "isOptional" : false
3230         },
3231         {
3232           "name" : "msgCls",
3233           "type" : "String",
3234           "desc" : "(optional) A css class to apply to the msg element",
3235           "isOptional" : false
3236         }
3237       ],
3238       "returns" : [
3239         {
3240           "name" : "",
3241           "type" : "Element",
3242           "desc" : "The mask  element"
3243         }
3244       ]
3245     },
3246     {
3247       "name" : "getTop",
3248       "type" : "function",
3249       "desc" : "Gets the top Y coordinate",
3250       "sig" : "(local)",
3251       "static" : false,
3252       "memberOf" : "",
3253       "isStatic" : false,
3254       "isConstructor" : false,
3255       "isPrivate" : false,
3256       "example" : "",
3257       "deprecated" : "",
3258       "since" : "",
3259       "see" : "",
3260       "exceptions" : "",
3261       "requires" : "",
3262       "params" : [
3263         {
3264           "name" : "local",
3265           "type" : "Boolean",
3266           "desc" : "True to get the local css position instead of page coordinate",
3267           "isOptional" : false
3268         }
3269       ],
3270       "returns" : [
3271         {
3272           "name" : "",
3273           "type" : "Number",
3274           "desc" : ""
3275         }
3276       ]
3277     },
3278     {
3279       "name" : "getBottom",
3280       "type" : "function",
3281       "desc" : "Gets the bottom Y coordinate of the element (element Y position + element height)",
3282       "sig" : "(local)",
3283       "static" : false,
3284       "memberOf" : "",
3285       "isStatic" : false,
3286       "isConstructor" : false,
3287       "isPrivate" : false,
3288       "example" : "",
3289       "deprecated" : "",
3290       "since" : "",
3291       "see" : "",
3292       "exceptions" : "",
3293       "requires" : "",
3294       "params" : [
3295         {
3296           "name" : "local",
3297           "type" : "Boolean",
3298           "desc" : "True to get the local css position instead of page coordinate",
3299           "isOptional" : false
3300         }
3301       ],
3302       "returns" : [
3303         {
3304           "name" : "",
3305           "type" : "Number",
3306           "desc" : ""
3307         }
3308       ]
3309     },
3310     {
3311       "name" : "getRight",
3312       "type" : "function",
3313       "desc" : "Gets the right X coordinate of the element (element X position + element width)",
3314       "sig" : "(local)",
3315       "static" : false,
3316       "memberOf" : "",
3317       "isStatic" : false,
3318       "isConstructor" : false,
3319       "isPrivate" : false,
3320       "example" : "",
3321       "deprecated" : "",
3322       "since" : "",
3323       "see" : "",
3324       "exceptions" : "",
3325       "requires" : "",
3326       "params" : [
3327         {
3328           "name" : "local",
3329           "type" : "Boolean",
3330           "desc" : "True to get the local css position instead of page coordinate",
3331           "isOptional" : false
3332         }
3333       ],
3334       "returns" : [
3335         {
3336           "name" : "",
3337           "type" : "Number",
3338           "desc" : ""
3339         }
3340       ]
3341     },
3342     {
3343       "name" : "beginMeasure",
3344       "type" : "function",
3345       "desc" : "Temporarily enables offsets (width,height,x,y) for an element with display:none, use endMeasure() when done.",
3346       "sig" : "()\n{\n\n}",
3347       "static" : false,
3348       "memberOf" : "",
3349       "isStatic" : false,
3350       "isConstructor" : false,
3351       "isPrivate" : false,
3352       "example" : "",
3353       "deprecated" : "",
3354       "since" : "",
3355       "see" : "",
3356       "exceptions" : "",
3357       "requires" : "",
3358       "params" : [],
3359       "returns" : [
3360         {
3361           "name" : "",
3362           "type" : "Roo.Element",
3363           "desc" : "this"
3364         }
3365       ]
3366     },
3367     {
3368       "name" : "appendTo",
3369       "type" : "function",
3370       "desc" : "Appends this element to the passed element",
3371       "sig" : "(el)",
3372       "static" : false,
3373       "memberOf" : "",
3374       "isStatic" : false,
3375       "isConstructor" : false,
3376       "isPrivate" : false,
3377       "example" : "",
3378       "deprecated" : "",
3379       "since" : "",
3380       "see" : "",
3381       "exceptions" : "",
3382       "requires" : "",
3383       "params" : [
3384         {
3385           "name" : "el",
3386           "type" : "String/HTMLElement/Element",
3387           "desc" : "The new parent element",
3388           "isOptional" : false
3389         }
3390       ],
3391       "returns" : [
3392         {
3393           "name" : "",
3394           "type" : "Roo.Element",
3395           "desc" : "this"
3396         }
3397       ]
3398     },
3399     {
3400       "name" : "fly",
3401       "type" : "function",
3402       "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.",
3403       "sig" : "(el, named)",
3404       "static" : true,
3405       "memberOf" : "",
3406       "isStatic" : true,
3407       "isConstructor" : false,
3408       "isPrivate" : false,
3409       "example" : "",
3410       "deprecated" : "",
3411       "since" : "",
3412       "see" : "",
3413       "exceptions" : "",
3414       "requires" : "",
3415       "params" : [
3416         {
3417           "name" : "el",
3418           "type" : "String/HTMLElement",
3419           "desc" : "The dom node or id",
3420           "isOptional" : false
3421         },
3422         {
3423           "name" : "named",
3424           "type" : "String",
3425           "desc" : "(optional) Allows for creation of named reusable flyweights to\n                                 prevent conflicts (e.g. internally Roo uses \"_internal\")",
3426           "isOptional" : false
3427         }
3428       ],
3429       "returns" : [
3430         {
3431           "name" : "",
3432           "type" : "Element",
3433           "desc" : "The shared Element object"
3434         }
3435       ]
3436     },
3437     {
3438       "name" : "hasClass",
3439       "type" : "function",
3440       "desc" : "Checks if the specified CSS class exists on this element's DOM node.",
3441       "sig" : "(className)",
3442       "static" : false,
3443       "memberOf" : "",
3444       "isStatic" : false,
3445       "isConstructor" : false,
3446       "isPrivate" : false,
3447       "example" : "",
3448       "deprecated" : "",
3449       "since" : "",
3450       "see" : "",
3451       "exceptions" : "",
3452       "requires" : "",
3453       "params" : [
3454         {
3455           "name" : "className",
3456           "type" : "String",
3457           "desc" : "The CSS class to check for",
3458           "isOptional" : false
3459         }
3460       ],
3461       "returns" : [
3462         {
3463           "name" : "",
3464           "type" : "Boolean",
3465           "desc" : "True if the class exists, else false"
3466         }
3467       ]
3468     },
3469     {
3470       "name" : "findScrollableParent",
3471       "type" : "function",
3472       "desc" : "Looks at  the scrollable parent element",
3473       "sig" : "()\n{\n\n}",
3474       "static" : false,
3475       "memberOf" : "",
3476       "isStatic" : false,
3477       "isConstructor" : false,
3478       "isPrivate" : false,
3479       "example" : "",
3480       "deprecated" : "",
3481       "since" : "",
3482       "see" : "",
3483       "exceptions" : "",
3484       "requires" : "",
3485       "params" : [],
3486       "returns" : []
3487     },
3488     {
3489       "name" : "fitToParent",
3490       "type" : "function",
3491       "desc" : "Sizes this element to its parent element's dimensions performing\nneccessary box adjustments.",
3492       "sig" : "(monitorResize, targetParent)",
3493       "static" : false,
3494       "memberOf" : "",
3495       "isStatic" : false,
3496       "isConstructor" : false,
3497       "isPrivate" : false,
3498       "example" : "",
3499       "deprecated" : "",
3500       "since" : "",
3501       "see" : "",
3502       "exceptions" : "",
3503       "requires" : "",
3504       "params" : [
3505         {
3506           "name" : "monitorResize",
3507           "type" : "Boolean",
3508           "desc" : "(optional) If true maintains the fit when the browser window is resized.",
3509           "isOptional" : false
3510         },
3511         {
3512           "name" : "targetParent",
3513           "type" : "String/HTMLElment/Element",
3514           "desc" : "(optional) The target parent, default to the parentNode.",
3515           "isOptional" : false
3516         }
3517       ],
3518       "returns" : [
3519         {
3520           "name" : "",
3521           "type" : "Roo.Element",
3522           "desc" : "this"
3523         }
3524       ]
3525     },
3526     {
3527       "name" : "setXY",
3528       "type" : "function",
3529       "desc" : "Sets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
3530       "sig" : "(pos, animate)",
3531       "static" : false,
3532       "memberOf" : "",
3533       "isStatic" : false,
3534       "isConstructor" : false,
3535       "isPrivate" : false,
3536       "example" : "",
3537       "deprecated" : "",
3538       "since" : "",
3539       "see" : "",
3540       "exceptions" : "",
3541       "requires" : "",
3542       "params" : [
3543         {
3544           "name" : "pos",
3545           "type" : "Array",
3546           "desc" : "Contains X & Y [x, y] values for new position (coordinates are page-based)",
3547           "isOptional" : false
3548         },
3549         {
3550           "name" : "animate",
3551           "type" : "Boolean/Object",
3552           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
3553           "isOptional" : false
3554         }
3555       ],
3556       "returns" : [
3557         {
3558           "name" : "",
3559           "type" : "Roo.Element",
3560           "desc" : "this"
3561         }
3562       ]
3563     },
3564     {
3565       "name" : "getXY",
3566       "type" : "function",
3567       "desc" : "Gets the current position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
3568       "sig" : "()\n{\n\n}",
3569       "static" : false,
3570       "memberOf" : "",
3571       "isStatic" : false,
3572       "isConstructor" : false,
3573       "isPrivate" : false,
3574       "example" : "",
3575       "deprecated" : "",
3576       "since" : "",
3577       "see" : "",
3578       "exceptions" : "",
3579       "requires" : "",
3580       "params" : [],
3581       "returns" : [
3582         {
3583           "name" : "",
3584           "type" : "Array",
3585           "desc" : "The XY position of the element"
3586         }
3587       ]
3588     },
3589     {
3590       "name" : "unselectable",
3591       "type" : "function",
3592       "desc" : "Disables text selection for this element (normalized across browsers)",
3593       "sig" : "()\n{\n\n}",
3594       "static" : false,
3595       "memberOf" : "",
3596       "isStatic" : false,
3597       "isConstructor" : false,
3598       "isPrivate" : false,
3599       "example" : "",
3600       "deprecated" : "",
3601       "since" : "",
3602       "see" : "",
3603       "exceptions" : "",
3604       "requires" : "",
3605       "params" : [],
3606       "returns" : [
3607         {
3608           "name" : "",
3609           "type" : "Roo.Element",
3610           "desc" : "this"
3611         }
3612       ]
3613     },
3614     {
3615       "name" : "blur",
3616       "type" : "function",
3617       "desc" : "Tries to blur the element. Any exceptions are caught and ignored.",
3618       "sig" : "()\n{\n\n}",
3619       "static" : false,
3620       "memberOf" : "",
3621       "isStatic" : false,
3622       "isConstructor" : false,
3623       "isPrivate" : false,
3624       "example" : "",
3625       "deprecated" : "",
3626       "since" : "",
3627       "see" : "",
3628       "exceptions" : "",
3629       "requires" : "",
3630       "params" : [],
3631       "returns" : [
3632         {
3633           "name" : "",
3634           "type" : "Roo.Element",
3635           "desc" : "this"
3636         }
3637       ]
3638     },
3639     {
3640       "name" : "setRight",
3641       "type" : "function",
3642       "desc" : "Sets the element's CSS right style.",
3643       "sig" : "(right)",
3644       "static" : false,
3645       "memberOf" : "",
3646       "isStatic" : false,
3647       "isConstructor" : false,
3648       "isPrivate" : false,
3649       "example" : "",
3650       "deprecated" : "",
3651       "since" : "",
3652       "see" : "",
3653       "exceptions" : "",
3654       "requires" : "",
3655       "params" : [
3656         {
3657           "name" : "right",
3658           "type" : "String",
3659           "desc" : "The right CSS property value",
3660           "isOptional" : false
3661         }
3662       ],
3663       "returns" : [
3664         {
3665           "name" : "",
3666           "type" : "Roo.Element",
3667           "desc" : "this"
3668         }
3669       ]
3670     },
3671     {
3672       "name" : "findParentNode",
3673       "type" : "function",
3674       "desc" : "Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)",
3675       "sig" : "(selector, maxDepth, returnEl)",
3676       "static" : false,
3677       "memberOf" : "",
3678       "isStatic" : false,
3679       "isConstructor" : false,
3680       "isPrivate" : false,
3681       "example" : "",
3682       "deprecated" : "",
3683       "since" : "",
3684       "see" : "",
3685       "exceptions" : "",
3686       "requires" : "",
3687       "params" : [
3688         {
3689           "name" : "selector",
3690           "type" : "String",
3691           "desc" : "The simple selector to test",
3692           "isOptional" : false
3693         },
3694         {
3695           "name" : "maxDepth",
3696           "type" : "Number/String/HTMLElement/Element",
3697           "desc" : "(optional) The max depth to\n                search as a number or element (defaults to 10 || document.body)",
3698           "isOptional" : false
3699         },
3700         {
3701           "name" : "returnEl",
3702           "type" : "Boolean",
3703           "desc" : "(optional) True to return a Roo.Element object instead of DOM node",
3704           "isOptional" : false
3705         }
3706       ],
3707       "returns" : [
3708         {
3709           "name" : "",
3710           "type" : "HTMLElement",
3711           "desc" : "The matching DOM node (or null if no match was found)"
3712         }
3713       ]
3714     },
3715     {
3716       "name" : "position",
3717       "type" : "function",
3718       "desc" : "Initializes positioning on this element. If a desired position is not passed, it will make the\nthe element positioned relative IF it is not already positioned.",
3719       "sig" : "(pos, zIndex, x, y)",
3720       "static" : false,
3721       "memberOf" : "",
3722       "isStatic" : false,
3723       "isConstructor" : false,
3724       "isPrivate" : false,
3725       "example" : "",
3726       "deprecated" : "",
3727       "since" : "",
3728       "see" : "",
3729       "exceptions" : "",
3730       "requires" : "",
3731       "params" : [
3732         {
3733           "name" : "pos",
3734           "type" : "String",
3735           "desc" : "(optional) Positioning to use \"relative\", \"absolute\" or \"fixed\"",
3736           "isOptional" : false
3737         },
3738         {
3739           "name" : "zIndex",
3740           "type" : "Number",
3741           "desc" : "(optional) The zIndex to apply",
3742           "isOptional" : false
3743         },
3744         {
3745           "name" : "x",
3746           "type" : "Number",
3747           "desc" : "(optional) Set the page X position",
3748           "isOptional" : false
3749         },
3750         {
3751           "name" : "y",
3752           "type" : "Number",
3753           "desc" : "(optional) Set the page Y position",
3754           "isOptional" : false
3755         }
3756       ],
3757       "returns" : []
3758     },
3759     {
3760       "name" : "getFrameWidth",
3761       "type" : "function",
3762       "desc" : "Returns the sum width of the padding and borders for the passed \"sides\". See getBorderWidth()\n         for more information about the sides.",
3763       "sig" : "(sides)",
3764       "static" : false,
3765       "memberOf" : "",
3766       "isStatic" : false,
3767       "isConstructor" : false,
3768       "isPrivate" : false,
3769       "example" : "",
3770       "deprecated" : "",
3771       "since" : "",
3772       "see" : "",
3773       "exceptions" : "",
3774       "requires" : "",
3775       "params" : [
3776         {
3777           "name" : "sides",
3778           "type" : "String",
3779           "desc" : "",
3780           "isOptional" : false
3781         }
3782       ],
3783       "returns" : [
3784         {
3785           "name" : "",
3786           "type" : "Number",
3787           "desc" : ""
3788         }
3789       ]
3790     },
3791     {
3792       "name" : "setLocation",
3793       "type" : "function",
3794       "desc" : "Sets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
3795       "sig" : "(x, y, animate)",
3796       "static" : false,
3797       "memberOf" : "",
3798       "isStatic" : false,
3799       "isConstructor" : false,
3800       "isPrivate" : false,
3801       "example" : "",
3802       "deprecated" : "",
3803       "since" : "",
3804       "see" : "",
3805       "exceptions" : "",
3806       "requires" : "",
3807       "params" : [
3808         {
3809           "name" : "x",
3810           "type" : "Number",
3811           "desc" : "X value for new position (coordinates are page-based)",
3812           "isOptional" : false
3813         },
3814         {
3815           "name" : "y",
3816           "type" : "Number",
3817           "desc" : "Y value for new position (coordinates are page-based)",
3818           "isOptional" : false
3819         },
3820         {
3821           "name" : "animate",
3822           "type" : "Boolean/Object",
3823           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
3824           "isOptional" : false
3825         }
3826       ],
3827       "returns" : [
3828         {
3829           "name" : "",
3830           "type" : "Roo.Element",
3831           "desc" : "this"
3832         }
3833       ]
3834     },
3835     {
3836       "name" : "unclip",
3837       "type" : "function",
3838       "desc" : "Return clipping (overflow) to original clipping before clip() was called",
3839       "sig" : "()\n{\n\n}",
3840       "static" : false,
3841       "memberOf" : "",
3842       "isStatic" : false,
3843       "isConstructor" : false,
3844       "isPrivate" : false,
3845       "example" : "",
3846       "deprecated" : "",
3847       "since" : "",
3848       "see" : "",
3849       "exceptions" : "",
3850       "requires" : "",
3851       "params" : [],
3852       "returns" : [
3853         {
3854           "name" : "",
3855           "type" : "Roo.Element",
3856           "desc" : "this"
3857         }
3858       ]
3859     },
3860     {
3861       "name" : "set",
3862       "type" : "function",
3863       "desc" : "Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)",
3864       "sig" : "(o, useSet)",
3865       "static" : false,
3866       "memberOf" : "",
3867       "isStatic" : false,
3868       "isConstructor" : false,
3869       "isPrivate" : false,
3870       "example" : "",
3871       "deprecated" : "",
3872       "since" : "",
3873       "see" : "",
3874       "exceptions" : "",
3875       "requires" : "",
3876       "params" : [
3877         {
3878           "name" : "o",
3879           "type" : "Object",
3880           "desc" : "The object with the attributes",
3881           "isOptional" : false
3882         },
3883         {
3884           "name" : "useSet",
3885           "type" : "Boolean",
3886           "desc" : "(optional) false to override the default setAttribute to use expandos.",
3887           "isOptional" : false
3888         }
3889       ],
3890       "returns" : [
3891         {
3892           "name" : "",
3893           "type" : "Roo.Element",
3894           "desc" : "this"
3895         }
3896       ]
3897     },
3898     {
3899       "name" : "setDisplayed",
3900       "type" : "function",
3901       "desc" : "Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.",
3902       "sig" : "(value)",
3903       "static" : false,
3904       "memberOf" : "",
3905       "isStatic" : false,
3906       "isConstructor" : false,
3907       "isPrivate" : false,
3908       "example" : "",
3909       "deprecated" : "",
3910       "since" : "",
3911       "see" : "",
3912       "exceptions" : "",
3913       "requires" : "",
3914       "params" : [
3915         {
3916           "name" : "value",
3917           "type" : "Boolean",
3918           "desc" : "Boolean value to display the element using its default display, or a string to set the display directly",
3919           "isOptional" : false
3920         }
3921       ],
3922       "returns" : [
3923         {
3924           "name" : "",
3925           "type" : "Roo.Element",
3926           "desc" : "this"
3927         }
3928       ]
3929     },
3930     {
3931       "name" : "insertFirst",
3932       "type" : "function",
3933       "desc" : "Inserts (or creates) an element (or DomHelper config) as the first child of the this element",
3934       "sig" : "(el)",
3935       "static" : false,
3936       "memberOf" : "",
3937       "isStatic" : false,
3938       "isConstructor" : false,
3939       "isPrivate" : false,
3940       "example" : "",
3941       "deprecated" : "",
3942       "since" : "",
3943       "see" : "",
3944       "exceptions" : "",
3945       "requires" : "",
3946       "params" : [
3947         {
3948           "name" : "el",
3949           "type" : "String/HTMLElement/Element/Object",
3950           "desc" : "The id or element to insert or a DomHelper config to create and insert",
3951           "isOptional" : false
3952         }
3953       ],
3954       "returns" : [
3955         {
3956           "name" : "",
3957           "type" : "Roo.Element",
3958           "desc" : "The new child"
3959         }
3960       ]
3961     },
3962     {
3963       "name" : "animate",
3964       "type" : "function",
3965       "desc" : "Perform animation on this element.",
3966       "sig" : "(args, duration, onComplete, easing, animType)",
3967       "static" : false,
3968       "memberOf" : "",
3969       "isStatic" : false,
3970       "isConstructor" : false,
3971       "isPrivate" : false,
3972       "example" : "",
3973       "deprecated" : "",
3974       "since" : "",
3975       "see" : "",
3976       "exceptions" : "",
3977       "requires" : "",
3978       "params" : [
3979         {
3980           "name" : "args",
3981           "type" : "Object",
3982           "desc" : "The YUI animation control args",
3983           "isOptional" : false
3984         },
3985         {
3986           "name" : "duration",
3987           "type" : "Float",
3988           "desc" : "(optional) How long the animation lasts in seconds (defaults to .35)",
3989           "isOptional" : false
3990         },
3991         {
3992           "name" : "onComplete",
3993           "type" : "Function",
3994           "desc" : "(optional) Function to call when animation completes",
3995           "isOptional" : false
3996         },
3997         {
3998           "name" : "easing",
3999           "type" : "String",
4000           "desc" : "(optional) Easing method to use (defaults to 'easeOut')",
4001           "isOptional" : false
4002         },
4003         {
4004           "name" : "animType",
4005           "type" : "String",
4006           "desc" : "(optional) 'run' is the default. Can also be 'color', 'motion', or 'scroll'",
4007           "isOptional" : false
4008         }
4009       ],
4010       "returns" : [
4011         {
4012           "name" : "",
4013           "type" : "Roo.Element",
4014           "desc" : "this"
4015         }
4016       ]
4017     },
4018     {
4019       "name" : "enableDisplayMode",
4020       "type" : "function",
4021       "desc" : "Convenience method for setVisibilityMode(Element.DISPLAY)",
4022       "sig" : "(display)",
4023       "static" : false,
4024       "memberOf" : "",
4025       "isStatic" : false,
4026       "isConstructor" : false,
4027       "isPrivate" : false,
4028       "example" : "",
4029       "deprecated" : "",
4030       "since" : "",
4031       "see" : "",
4032       "exceptions" : "",
4033       "requires" : "",
4034       "params" : [
4035         {
4036           "name" : "display",
4037           "type" : "String",
4038           "desc" : "(optional) What to set display to when visible",
4039           "isOptional" : false
4040         }
4041       ],
4042       "returns" : [
4043         {
4044           "name" : "",
4045           "type" : "Roo.Element",
4046           "desc" : "this"
4047         }
4048       ]
4049     },
4050     {
4051       "name" : "getComputedWidth",
4052       "type" : "function",
4053       "desc" : "Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders\nwhen needed to simulate offsetWidth when offsets aren't available. This may not work on display:none elements\nif a width has not been set using CSS.",
4054       "sig" : "()\n{\n\n}",
4055       "static" : false,
4056       "memberOf" : "",
4057       "isStatic" : false,
4058       "isConstructor" : false,
4059       "isPrivate" : false,
4060       "example" : "",
4061       "deprecated" : "",
4062       "since" : "",
4063       "see" : "",
4064       "exceptions" : "",
4065       "requires" : "",
4066       "params" : [],
4067       "returns" : [
4068         {
4069           "name" : "",
4070           "type" : "Number",
4071           "desc" : ""
4072         }
4073       ]
4074     },
4075     {
4076       "name" : "clip",
4077       "type" : "function",
4078       "desc" : "Store the current overflow setting and clip overflow on the element - use {@link #unclip} to remove",
4079       "sig" : "()\n{\n\n}",
4080       "static" : false,
4081       "memberOf" : "",
4082       "isStatic" : false,
4083       "isConstructor" : false,
4084       "isPrivate" : false,
4085       "example" : "",
4086       "deprecated" : "",
4087       "since" : "",
4088       "see" : "",
4089       "exceptions" : "",
4090       "requires" : "",
4091       "params" : [],
4092       "returns" : [
4093         {
4094           "name" : "",
4095           "type" : "Roo.Element",
4096           "desc" : "this"
4097         }
4098       ]
4099     },
4100     {
4101       "name" : "setVisibilityMode",
4102       "type" : "function",
4103       "desc" : "Sets the element's visibility mode. When setVisible() is called it\nwill use this to determine whether to set the visibility or the display property.",
4104       "sig" : "(visMode)",
4105       "static" : false,
4106       "memberOf" : "",
4107       "isStatic" : false,
4108       "isConstructor" : false,
4109       "isPrivate" : false,
4110       "example" : "",
4111       "deprecated" : "",
4112       "since" : "",
4113       "see" : "",
4114       "exceptions" : "",
4115       "requires" : "",
4116       "params" : [
4117         {
4118           "name" : "visMode",
4119           "type" : "",
4120           "desc" : "Element.VISIBILITY or Element.DISPLAY",
4121           "isOptional" : false
4122         }
4123       ],
4124       "returns" : [
4125         {
4126           "name" : "",
4127           "type" : "Roo.Element",
4128           "desc" : "this"
4129         }
4130       ]
4131     },
4132     {
4133       "name" : "getColor",
4134       "type" : "function",
4135       "desc" : "Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values\nare convert to standard 6 digit hex color.",
4136       "sig" : "(attr, defaultValue, prefix)",
4137       "static" : false,
4138       "memberOf" : "",
4139       "isStatic" : false,
4140       "isConstructor" : false,
4141       "isPrivate" : false,
4142       "example" : "",
4143       "deprecated" : "",
4144       "since" : "",
4145       "see" : "",
4146       "exceptions" : "",
4147       "requires" : "",
4148       "params" : [
4149         {
4150           "name" : "attr",
4151           "type" : "String",
4152           "desc" : "The css attribute",
4153           "isOptional" : false
4154         },
4155         {
4156           "name" : "defaultValue",
4157           "type" : "String",
4158           "desc" : "The default value to use when a valid color isn't found",
4159           "isOptional" : false
4160         },
4161         {
4162           "name" : "prefix",
4163           "type" : "String",
4164           "desc" : "(optional) defaults to #. Use an empty string when working with\nYUI color anims.",
4165           "isOptional" : false
4166         }
4167       ],
4168       "returns" : []
4169     },
4170     {
4171       "name" : "insertSibling",
4172       "type" : "function",
4173       "desc" : "Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element",
4174       "sig" : "(el, where, returnDom)",
4175       "static" : false,
4176       "memberOf" : "",
4177       "isStatic" : false,
4178       "isConstructor" : false,
4179       "isPrivate" : false,
4180       "example" : "",
4181       "deprecated" : "",
4182       "since" : "",
4183       "see" : "",
4184       "exceptions" : "",
4185       "requires" : "",
4186       "params" : [
4187         {
4188           "name" : "el",
4189           "type" : "String/HTMLElement/Element/Object",
4190           "desc" : "The id or element to insert or a DomHelper config to create and insert",
4191           "isOptional" : false
4192         },
4193         {
4194           "name" : "where",
4195           "type" : "String",
4196           "desc" : "(optional) 'before' or 'after' defaults to before",
4197           "isOptional" : false
4198         },
4199         {
4200           "name" : "returnDom",
4201           "type" : "Boolean",
4202           "desc" : "(optional) True to return the raw DOM element instead of Roo.Element",
4203           "isOptional" : false
4204         }
4205       ],
4206       "returns" : [
4207         {
4208           "name" : "",
4209           "type" : "Roo.Element",
4210           "desc" : "the inserted Element"
4211         }
4212       ]
4213     },
4214     {
4215       "name" : "removeListener",
4216       "type" : "function",
4217       "desc" : "Removes an event handler from this element",
4218       "sig" : "(eventName, fn, scope)",
4219       "static" : false,
4220       "memberOf" : "",
4221       "isStatic" : false,
4222       "isConstructor" : false,
4223       "isPrivate" : false,
4224       "example" : "",
4225       "deprecated" : "",
4226       "since" : "",
4227       "see" : "",
4228       "exceptions" : "",
4229       "requires" : "",
4230       "params" : [
4231         {
4232           "name" : "eventName",
4233           "type" : "String",
4234           "desc" : "the type of event to remove",
4235           "isOptional" : false
4236         },
4237         {
4238           "name" : "fn",
4239           "type" : "Function",
4240           "desc" : "the method the event invokes",
4241           "isOptional" : false
4242         },
4243         {
4244           "name" : "scope",
4245           "type" : "Function",
4246           "desc" : "(needed for svg fake listeners)",
4247           "isOptional" : false
4248         }
4249       ],
4250       "returns" : [
4251         {
4252           "name" : "",
4253           "type" : "Roo.Element",
4254           "desc" : "this"
4255         }
4256       ]
4257     },
4258     {
4259       "name" : "applyStyles",
4260       "type" : "function",
4261       "desc" : "More flexible version of {@link #setStyle} for setting style properties.",
4262       "sig" : "(styles)",
4263       "static" : false,
4264       "memberOf" : "",
4265       "isStatic" : false,
4266       "isConstructor" : false,
4267       "isPrivate" : false,
4268       "example" : "",
4269       "deprecated" : "",
4270       "since" : "",
4271       "see" : "",
4272       "exceptions" : "",
4273       "requires" : "",
4274       "params" : [
4275         {
4276           "name" : "styles",
4277           "type" : "String/Object/Function",
4278           "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
4279           "isOptional" : false
4280         }
4281       ],
4282       "returns" : [
4283         {
4284           "name" : "",
4285           "type" : "Roo.Element",
4286           "desc" : "this"
4287         }
4288       ]
4289     },
4290     {
4291       "name" : "getPrevSibling",
4292       "type" : "function",
4293       "desc" : "Gets the previous sibling, skipping text nodes",
4294       "sig" : "()\n{\n\n}",
4295       "static" : false,
4296       "memberOf" : "",
4297       "isStatic" : false,
4298       "isConstructor" : false,
4299       "isPrivate" : false,
4300       "example" : "",
4301       "deprecated" : "",
4302       "since" : "",
4303       "see" : "",
4304       "exceptions" : "",
4305       "requires" : "",
4306       "params" : [],
4307       "returns" : [
4308         {
4309           "name" : "",
4310           "type" : "HTMLElement",
4311           "desc" : "The previous sibling or null"
4312         }
4313       ]
4314     },
4315     {
4316       "name" : "setBox",
4317       "type" : "function",
4318       "desc" : "Sets the element's box. Use getBox() on another element to get a box obj. If animate is true then width, height, x and y will be animated concurrently.",
4319       "sig" : "(box, adjust, animate)",
4320       "static" : false,
4321       "memberOf" : "",
4322       "isStatic" : false,
4323       "isConstructor" : false,
4324       "isPrivate" : false,
4325       "example" : "",
4326       "deprecated" : "",
4327       "since" : "",
4328       "see" : "",
4329       "exceptions" : "",
4330       "requires" : "",
4331       "params" : [
4332         {
4333           "name" : "box",
4334           "type" : "Object",
4335           "desc" : "The box to fill {x, y, width, height}",
4336           "isOptional" : false
4337         },
4338         {
4339           "name" : "adjust",
4340           "type" : "Boolean",
4341           "desc" : "(optional) Whether to adjust for box-model issues automatically",
4342           "isOptional" : false
4343         },
4344         {
4345           "name" : "animate",
4346           "type" : "Boolean/Object",
4347           "desc" : "(optional) true for the default animation or a standard Element animation config object",
4348           "isOptional" : false
4349         }
4350       ],
4351       "returns" : [
4352         {
4353           "name" : "",
4354           "type" : "Roo.Element",
4355           "desc" : "this"
4356         }
4357       ]
4358     },
4359     {
4360       "name" : "initDDProxy",
4361       "type" : "function",
4362       "desc" : "Initializes a {@link Roo.dd.DDProxy} object for this element.",
4363       "sig" : "(group, config, overrides)",
4364       "static" : false,
4365       "memberOf" : "",
4366       "isStatic" : false,
4367       "isConstructor" : false,
4368       "isPrivate" : false,
4369       "example" : "",
4370       "deprecated" : "",
4371       "since" : "",
4372       "see" : "",
4373       "exceptions" : "",
4374       "requires" : "",
4375       "params" : [
4376         {
4377           "name" : "group",
4378           "type" : "String",
4379           "desc" : "The group the DDProxy object is member of",
4380           "isOptional" : false
4381         },
4382         {
4383           "name" : "config",
4384           "type" : "Object",
4385           "desc" : "The DDProxy config object",
4386           "isOptional" : false
4387         },
4388         {
4389           "name" : "overrides",
4390           "type" : "Object",
4391           "desc" : "An object containing methods to override/implement on the DDProxy object",
4392           "isOptional" : false
4393         }
4394       ],
4395       "returns" : [
4396         {
4397           "name" : "",
4398           "type" : "Roo.dd.DDProxy",
4399           "desc" : "The DDProxy object"
4400         }
4401       ]
4402     },
4403     {
4404       "name" : "setX",
4405       "type" : "function",
4406       "desc" : "Sets the X position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
4407       "sig" : "(The, animate)",
4408       "static" : false,
4409       "memberOf" : "",
4410       "isStatic" : false,
4411       "isConstructor" : false,
4412       "isPrivate" : false,
4413       "example" : "",
4414       "deprecated" : "",
4415       "since" : "",
4416       "see" : "",
4417       "exceptions" : "",
4418       "requires" : "",
4419       "params" : [
4420         {
4421           "name" : "The",
4422           "type" : "Number",
4423           "desc" : "X position of the element",
4424           "isOptional" : false
4425         },
4426         {
4427           "name" : "animate",
4428           "type" : "Boolean/Object",
4429           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
4430           "isOptional" : false
4431         }
4432       ],
4433       "returns" : [
4434         {
4435           "name" : "",
4436           "type" : "Roo.Element",
4437           "desc" : "this"
4438         }
4439       ]
4440     },
4441     {
4442       "name" : "setY",
4443       "type" : "function",
4444       "desc" : "Sets the Y position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
4445       "sig" : "(The, animate)",
4446       "static" : false,
4447       "memberOf" : "",
4448       "isStatic" : false,
4449       "isConstructor" : false,
4450       "isPrivate" : false,
4451       "example" : "",
4452       "deprecated" : "",
4453       "since" : "",
4454       "see" : "",
4455       "exceptions" : "",
4456       "requires" : "",
4457       "params" : [
4458         {
4459           "name" : "The",
4460           "type" : "Number",
4461           "desc" : "Y position of the element",
4462           "isOptional" : false
4463         },
4464         {
4465           "name" : "animate",
4466           "type" : "Boolean/Object",
4467           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
4468           "isOptional" : false
4469         }
4470       ],
4471       "returns" : [
4472         {
4473           "name" : "",
4474           "type" : "Roo.Element",
4475           "desc" : "this"
4476         }
4477       ]
4478     },
4479     {
4480       "name" : "query",
4481       "type" : "function",
4482       "desc" : "Selects child nodes based on the passed CSS selector (the selector should not contain an id).",
4483       "sig" : "(selector)",
4484       "static" : false,
4485       "memberOf" : "",
4486       "isStatic" : false,
4487       "isConstructor" : false,
4488       "isPrivate" : false,
4489       "example" : "",
4490       "deprecated" : "",
4491       "since" : "",
4492       "see" : "",
4493       "exceptions" : "",
4494       "requires" : "",
4495       "params" : [
4496         {
4497           "name" : "selector",
4498           "type" : "String",
4499           "desc" : "The CSS selector",
4500           "isOptional" : false
4501         }
4502       ],
4503       "returns" : [
4504         {
4505           "name" : "",
4506           "type" : "Array",
4507           "desc" : "An array of the matched nodes"
4508         }
4509       ]
4510     },
4511     {
4512       "name" : "getAnchorXY",
4513       "type" : "function",
4514       "desc" : "Gets the x,y coordinates specified by the anchor position on the element.",
4515       "sig" : "(anchor, size, local)",
4516       "static" : false,
4517       "memberOf" : "",
4518       "isStatic" : false,
4519       "isConstructor" : false,
4520       "isPrivate" : false,
4521       "example" : "",
4522       "deprecated" : "",
4523       "since" : "",
4524       "see" : "",
4525       "exceptions" : "",
4526       "requires" : "",
4527       "params" : [
4528         {
4529           "name" : "anchor",
4530           "type" : "String",
4531           "desc" : "(optional) The specified anchor position (defaults to \"c\").  See {@link #alignTo} for details on supported anchor positions.",
4532           "isOptional" : false
4533         },
4534         {
4535           "name" : "size",
4536           "type" : "Object",
4537           "desc" : "(optional) An object containing the size to use for calculating anchor position\n                      {width: (target width), height: (target height)} (defaults to the element's current size)",
4538           "isOptional" : false
4539         },
4540         {
4541           "name" : "local",
4542           "type" : "Boolean",
4543           "desc" : "(optional) True to get the local (element top/left-relative) anchor position instead of page coordinates",
4544           "isOptional" : false
4545         }
4546       ],
4547       "returns" : [
4548         {
4549           "name" : "",
4550           "type" : "Array",
4551           "desc" : "[x, y] An array containing the element's x and y coordinates"
4552         }
4553       ]
4554     },
4555     {
4556       "name" : "initDD",
4557       "type" : "function",
4558       "desc" : "Initializes a {@link Roo.dd.DD} drag drop object for this element.",
4559       "sig" : "(group, config, overrides)",
4560       "static" : false,
4561       "memberOf" : "",
4562       "isStatic" : false,
4563       "isConstructor" : false,
4564       "isPrivate" : false,
4565       "example" : "",
4566       "deprecated" : "",
4567       "since" : "",
4568       "see" : "",
4569       "exceptions" : "",
4570       "requires" : "",
4571       "params" : [
4572         {
4573           "name" : "group",
4574           "type" : "String",
4575           "desc" : "The group the DD object is member of",
4576           "isOptional" : false
4577         },
4578         {
4579           "name" : "config",
4580           "type" : "Object",
4581           "desc" : "The DD config object",
4582           "isOptional" : false
4583         },
4584         {
4585           "name" : "overrides",
4586           "type" : "Object",
4587           "desc" : "An object containing methods to override/implement on the DD object",
4588           "isOptional" : false
4589         }
4590       ],
4591       "returns" : [
4592         {
4593           "name" : "",
4594           "type" : "Roo.dd.DD",
4595           "desc" : "The DD object"
4596         }
4597       ]
4598     },
4599     {
4600       "name" : "getComputedHeight",
4601       "type" : "function",
4602       "desc" : "Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders\nwhen needed to simulate offsetHeight when offsets aren't available. This may not work on display:none elements\nif a height has not been set using CSS.",
4603       "sig" : "()\n{\n\n}",
4604       "static" : false,
4605       "memberOf" : "",
4606       "isStatic" : false,
4607       "isConstructor" : false,
4608       "isPrivate" : false,
4609       "example" : "",
4610       "deprecated" : "",
4611       "since" : "",
4612       "see" : "",
4613       "exceptions" : "",
4614       "requires" : "",
4615       "params" : [],
4616       "returns" : [
4617         {
4618           "name" : "",
4619           "type" : "Number",
4620           "desc" : ""
4621         }
4622       ]
4623     },
4624     {
4625       "name" : "is",
4626       "type" : "function",
4627       "desc" : "Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)",
4628       "sig" : "(selector)",
4629       "static" : false,
4630       "memberOf" : "",
4631       "isStatic" : false,
4632       "isConstructor" : false,
4633       "isPrivate" : false,
4634       "example" : "",
4635       "deprecated" : "",
4636       "since" : "",
4637       "see" : "",
4638       "exceptions" : "",
4639       "requires" : "",
4640       "params" : [
4641         {
4642           "name" : "selector",
4643           "type" : "String",
4644           "desc" : "The simple selector to test",
4645           "isOptional" : false
4646         }
4647       ],
4648       "returns" : [
4649         {
4650           "name" : "",
4651           "type" : "Boolean",
4652           "desc" : "True if this element matches the selector, else false"
4653         }
4654       ]
4655     },
4656     {
4657       "name" : "move",
4658       "type" : "function",
4659       "desc" : "Move this element relative to its current position.",
4660       "sig" : "(direction, distance, animate)",
4661       "static" : false,
4662       "memberOf" : "",
4663       "isStatic" : false,
4664       "isConstructor" : false,
4665       "isPrivate" : false,
4666       "example" : "",
4667       "deprecated" : "",
4668       "since" : "",
4669       "see" : "",
4670       "exceptions" : "",
4671       "requires" : "",
4672       "params" : [
4673         {
4674           "name" : "direction",
4675           "type" : "String",
4676           "desc" : "Possible values are: \"l\",\"left\" - \"r\",\"right\" - \"t\",\"top\",\"up\" - \"b\",\"bottom\",\"down\".",
4677           "isOptional" : false
4678         },
4679         {
4680           "name" : "distance",
4681           "type" : "Number",
4682           "desc" : "How far to move the element in pixels",
4683           "isOptional" : false
4684         },
4685         {
4686           "name" : "animate",
4687           "type" : "Boolean/Object",
4688           "desc" : "(optional) true for the default animation or a standard Element animation config object",
4689           "isOptional" : false
4690         }
4691       ],
4692       "returns" : [
4693         {
4694           "name" : "",
4695           "type" : "Roo.Element",
4696           "desc" : "this"
4697         }
4698       ]
4699     },
4700     {
4701       "name" : "remove",
4702       "type" : "function",
4703       "desc" : "Removes this element from the DOM and deletes it from the cache",
4704       "sig" : "()\n{\n\n}",
4705       "static" : false,
4706       "memberOf" : "",
4707       "isStatic" : false,
4708       "isConstructor" : false,
4709       "isPrivate" : false,
4710       "example" : "",
4711       "deprecated" : "",
4712       "since" : "",
4713       "see" : "",
4714       "exceptions" : "",
4715       "requires" : "",
4716       "params" : [],
4717       "returns" : []
4718     },
4719     {
4720       "name" : "getNextSibling",
4721       "type" : "function",
4722       "desc" : "Gets the next sibling, skipping text nodes",
4723       "sig" : "()\n{\n\n}",
4724       "static" : false,
4725       "memberOf" : "",
4726       "isStatic" : false,
4727       "isConstructor" : false,
4728       "isPrivate" : false,
4729       "example" : "",
4730       "deprecated" : "",
4731       "since" : "",
4732       "see" : "",
4733       "exceptions" : "",
4734       "requires" : "",
4735       "params" : [],
4736       "returns" : [
4737         {
4738           "name" : "",
4739           "type" : "HTMLElement",
4740           "desc" : "The next sibling or null"
4741         }
4742       ]
4743     },
4744     {
4745       "name" : "getStyle",
4746       "type" : "function",
4747       "desc" : "Normalizes currentStyle and computedStyle. This is not YUI getStyle, it is an optimised version.",
4748       "sig" : "(property)",
4749       "static" : false,
4750       "memberOf" : "",
4751       "isStatic" : false,
4752       "isConstructor" : false,
4753       "isPrivate" : false,
4754       "example" : "",
4755       "deprecated" : "",
4756       "since" : "",
4757       "see" : "",
4758       "exceptions" : "",
4759       "requires" : "",
4760       "params" : [
4761         {
4762           "name" : "property",
4763           "type" : "String",
4764           "desc" : "The style property whose value is returned.",
4765           "isOptional" : false
4766         }
4767       ],
4768       "returns" : [
4769         {
4770           "name" : "",
4771           "type" : "String",
4772           "desc" : "The current value of the style property for this element."
4773         }
4774       ]
4775     },
4776     {
4777       "name" : "isBorderBox",
4778       "type" : "function",
4779       "desc" : "Tests various css rules/browsers to determine if this element uses a border box",
4780       "sig" : "()\n{\n\n}",
4781       "static" : false,
4782       "memberOf" : "",
4783       "isStatic" : false,
4784       "isConstructor" : false,
4785       "isPrivate" : false,
4786       "example" : "",
4787       "deprecated" : "",
4788       "since" : "",
4789       "see" : "",
4790       "exceptions" : "",
4791       "requires" : "",
4792       "params" : [],
4793       "returns" : [
4794         {
4795           "name" : "",
4796           "type" : "Boolean",
4797           "desc" : ""
4798         }
4799       ]
4800     },
4801     {
4802       "name" : "getPadding",
4803       "type" : "function",
4804       "desc" : "Gets the width of the padding(s) for the specified side(s)",
4805       "sig" : "(side)",
4806       "static" : false,
4807       "memberOf" : "",
4808       "isStatic" : false,
4809       "isConstructor" : false,
4810       "isPrivate" : false,
4811       "example" : "",
4812       "deprecated" : "",
4813       "since" : "",
4814       "see" : "",
4815       "exceptions" : "",
4816       "requires" : "",
4817       "params" : [
4818         {
4819           "name" : "side",
4820           "type" : "String",
4821           "desc" : "Can be t, l, r, b or any combination of those to add multiple values. For example,\npassing lr would get the padding (l)eft + the padding (r)ight.",
4822           "isOptional" : false
4823         }
4824       ],
4825       "returns" : [
4826         {
4827           "name" : "",
4828           "type" : "Number",
4829           "desc" : "The padding of the sides passed added together"
4830         }
4831       ]
4832     }
4833   ],
4834   "events" : []
4835 }