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