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