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