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