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