e5b2c6a8f5df0fede2955dc21363b8aeb5c1ae7c
[roojs1] / docs / symbols / Roo.bootstrap.Form.json
1 {
2   "name" : "Roo.bootstrap.Form",
3   "augments" : [
4     "Roo.bootstrap.Component",
5     "Roo.Component",
6     "Roo.util.Observable"
7   ],
8   "childClasses" : [],
9   "desc" : "Bootstrap Form class",
10   "isSingleton" : false,
11   "isStatic" : false,
12   "isBuiltin" : false,
13   "memberOf" : "Form",
14   "example" : "",
15   "deprecated" : "",
16   "since" : "",
17   "see" : "",
18   "params" : [
19     {
20       "name" : "config",
21       "type" : "Object",
22       "desc" : "The config object",
23       "isOptional" : false
24     }
25   ],
26   "returns" : [],
27   "throws" : "",
28   "requires" : "",
29   "config" : [
30     {
31       "name" : "labelAlign",
32       "type" : "String",
33       "desc" : "top | left (default top)",
34       "memberOf" : ""
35     },
36     {
37       "name" : "listeners",
38       "type" : "Object",
39       "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  </code></pre>",
40       "memberOf" : "Roo.util.Observable"
41     },
42     {
43       "name" : "fileUpload",
44       "type" : "Boolean",
45       "desc" : "Set to true if this form is a file upload.",
46       "memberOf" : ""
47     },
48     {
49       "name" : "tooltip",
50       "type" : "string",
51       "desc" : "Text for the tooltip",
52       "memberOf" : "Roo.bootstrap.Component"
53     },
54     {
55       "name" : "container_method",
56       "type" : "string",
57       "desc" : "method to fetch parents container element (used by NavHeaderbar -  getHeaderChildContainer)",
58       "memberOf" : "Roo.bootstrap.Component"
59     },
60     {
61       "name" : "visibilityEl",
62       "type" : "string|object",
63       "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
64       "memberOf" : "Roo.bootstrap.Component"
65     },
66     {
67       "name" : "align",
68       "type" : "String",
69       "desc" : "left  | right - for navbars",
70       "memberOf" : ""
71     },
72     {
73       "name" : "can_build_overlaid",
74       "type" : "Boolean",
75       "desc" : "True if element can be rebuild from a HTML page",
76       "memberOf" : "Roo.bootstrap.Component"
77     },
78     {
79       "name" : "hideMode",
80       "type" : "String",
81       "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
82       "memberOf" : "Roo.Component"
83     },
84     {
85       "name" : "method",
86       "type" : "String",
87       "desc" : "GET | POST (default POST)",
88       "memberOf" : ""
89     },
90     {
91       "name" : "errorMask",
92       "type" : "Boolean",
93       "desc" : "e) default false",
94       "memberOf" : ""
95     },
96     {
97       "name" : "style",
98       "type" : "String",
99       "desc" : "any extra css",
100       "memberOf" : "Roo.bootstrap.Component"
101     },
102     {
103       "name" : "allowDomMove",
104       "type" : "Boolean",
105       "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
106       "memberOf" : "Roo.Component"
107     },
108     {
109       "name" : "timeout",
110       "type" : "Number",
111       "desc" : "Timeout for form actions in seconds (default is 30 seconds).",
112       "memberOf" : ""
113     },
114     {
115       "name" : "cls",
116       "type" : "String",
117       "desc" : "css class",
118       "memberOf" : "Roo.bootstrap.Component"
119     },
120     {
121       "name" : "loadMask",
122       "type" : "Boolean",
123       "desc" : "load mask when submit (default true)",
124       "memberOf" : ""
125     },
126     {
127       "name" : "baseParams",
128       "type" : "Object",
129       "desc" : "Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.",
130       "memberOf" : ""
131     },
132     {
133       "name" : "xattr",
134       "type" : "Object",
135       "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
136       "memberOf" : "Roo.bootstrap.Component"
137     },
138     {
139       "name" : "actionMode",
140       "type" : "String",
141       "desc" : "which property holds the element that used for  hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl",
142       "memberOf" : "Roo.Component"
143     },
144     {
145       "name" : "maskBody",
146       "type" : "Boolean",
147       "desc" : "",
148       "memberOf" : ""
149     },
150     {
151       "name" : "dataId",
152       "type" : "string",
153       "desc" : "cutomer id",
154       "memberOf" : "Roo.bootstrap.Component"
155     },
156     {
157       "name" : "url",
158       "type" : "String",
159       "desc" : "The URL to use for form actions if one isn't supplied in the action options.",
160       "memberOf" : ""
161     },
162     {
163       "name" : "name",
164       "type" : "string",
165       "desc" : "Specifies name attribute",
166       "memberOf" : "Roo.bootstrap.Component"
167     },
168     {
169       "name" : "disableClass",
170       "type" : "String",
171       "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
172       "memberOf" : "Roo.Component"
173     },
174     {
175       "name" : "maskOffset",
176       "type" : "Number",
177       "desc" : "Default 100",
178       "memberOf" : ""
179     }
180   ],
181   "methods" : [
182     {
183       "name" : "doAction",
184       "type" : "function",
185       "desc" : "Performs a predefined action (submit or load) or custom actions you define on this form.",
186       "sig" : "(actionName, options)",
187       "static" : false,
188       "memberOf" : "",
189       "isStatic" : false,
190       "isConstructor" : false,
191       "isPrivate" : false,
192       "example" : "",
193       "deprecated" : "",
194       "since" : "",
195       "see" : "",
196       "exceptions" : "",
197       "requires" : "",
198       "params" : [
199         {
200           "name" : "actionName",
201           "type" : "String",
202           "desc" : "The name of the action type",
203           "isOptional" : false
204         },
205         {
206           "name" : "options",
207           "type" : "Object",
208           "desc" : "(optional) The options to pass to the action.  All of the config options listed\nbelow are supported by both the submit and load actions unless otherwise noted (custom actions could also\naccept other config options):\n<pre>\nProperty          Type             Description\n----------------  ---------------  ----------------------------------------------------------------------------------\nurl               String           The url for the action (defaults to the form's url)\nmethod            String           The form method to use (defaults to the form's method, or POST if not defined)\nparams            String/Object    The params to pass (defaults to the form's baseParams, or none if not defined)\nclientValidation  Boolean          Applies to submit only.  Pass true to call form.isValid() prior to posting to\n                                   validate the form on the client (defaults to false)\n</pre>",
209           "isOptional" : false
210         }
211       ],
212       "returns" : [
213         {
214           "name" : "",
215           "type" : "BasicForm",
216           "desc" : "this"
217         }
218       ]
219     },
220     {
221       "name" : "setValues",
222       "type" : "function",
223       "desc" : "Set values for fields in this form in bulk.",
224       "sig" : "(values)",
225       "static" : false,
226       "memberOf" : "",
227       "isStatic" : false,
228       "isConstructor" : false,
229       "isPrivate" : false,
230       "example" : "",
231       "deprecated" : "",
232       "since" : "",
233       "see" : "",
234       "exceptions" : "",
235       "requires" : "",
236       "params" : [
237         {
238           "name" : "values",
239           "type" : "Array/Object",
240           "desc" : "Either an array in the form [{id:'fieldId', value:'foo'},...] or an object hash of {id: value, id2: value2}",
241           "isOptional" : false
242         }
243       ],
244       "returns" : [
245         {
246           "name" : "",
247           "type" : "BasicForm",
248           "desc" : "this"
249         }
250       ]
251     },
252     {
253       "name" : "getFieldValues",
254       "type" : "function",
255       "desc" : "Returns the fields in this form as an object with key/value pairs.\nThis differs from getValues as it calls getValue on each child item, rather than using dom data.",
256       "sig" : "()\n{\n\n}",
257       "static" : false,
258       "memberOf" : "",
259       "isStatic" : false,
260       "isConstructor" : false,
261       "isPrivate" : false,
262       "example" : "",
263       "deprecated" : "",
264       "since" : "",
265       "see" : "",
266       "exceptions" : "",
267       "requires" : "",
268       "params" : [],
269       "returns" : [
270         {
271           "name" : "",
272           "type" : "Object",
273           "desc" : ""
274         }
275       ]
276     },
277     {
278       "name" : "markInvalid",
279       "type" : "function",
280       "desc" : "Mark fields in this form invalid in bulk.",
281       "sig" : "(errors)",
282       "static" : false,
283       "memberOf" : "",
284       "isStatic" : false,
285       "isConstructor" : false,
286       "isPrivate" : false,
287       "example" : "",
288       "deprecated" : "",
289       "since" : "",
290       "see" : "",
291       "exceptions" : "",
292       "requires" : "",
293       "params" : [
294         {
295           "name" : "errors",
296           "type" : "Array/Object",
297           "desc" : "Either an array in the form [{id:'fieldId', msg:'The message'},...] or an object hash of {id: msg, id2: msg2}",
298           "isOptional" : false
299         }
300       ],
301       "returns" : [
302         {
303           "name" : "",
304           "type" : "BasicForm",
305           "desc" : "this"
306         }
307       ]
308     },
309     {
310       "name" : "clearInvalid",
311       "type" : "function",
312       "desc" : "Clears all invalid messages in this form.",
313       "sig" : "()\n{\n\n}",
314       "static" : false,
315       "memberOf" : "",
316       "isStatic" : false,
317       "isConstructor" : false,
318       "isPrivate" : false,
319       "example" : "",
320       "deprecated" : "",
321       "since" : "",
322       "see" : "",
323       "exceptions" : "",
324       "requires" : "",
325       "params" : [],
326       "returns" : [
327         {
328           "name" : "",
329           "type" : "BasicForm",
330           "desc" : "this"
331         }
332       ]
333     },
334     {
335       "name" : "findField",
336       "type" : "function",
337       "desc" : "Find a Roo.form.Field in this form by id, dataIndex, name or hiddenName",
338       "sig" : "(id)",
339       "static" : false,
340       "memberOf" : "",
341       "isStatic" : false,
342       "isConstructor" : false,
343       "isPrivate" : false,
344       "example" : "",
345       "deprecated" : "",
346       "since" : "",
347       "see" : "",
348       "exceptions" : "",
349       "requires" : "",
350       "params" : [
351         {
352           "name" : "id",
353           "type" : "String",
354           "desc" : "The value to search for",
355           "isOptional" : false
356         }
357       ],
358       "returns" : [
359         {
360           "name" : "",
361           "type" : "",
362           "desc" : "Field"
363         }
364       ]
365     },
366     {
367       "name" : "isDirty",
368       "type" : "function",
369       "desc" : "Returns true if any fields in this form have changed since their original load.",
370       "sig" : "()\n{\n\n}",
371       "static" : false,
372       "memberOf" : "",
373       "isStatic" : false,
374       "isConstructor" : false,
375       "isPrivate" : false,
376       "example" : "",
377       "deprecated" : "",
378       "since" : "",
379       "see" : "",
380       "exceptions" : "",
381       "requires" : "",
382       "params" : [],
383       "returns" : [
384         {
385           "name" : "",
386           "type" : "",
387           "desc" : "Boolean"
388         }
389       ]
390     },
391     {
392       "name" : "reset",
393       "type" : "function",
394       "desc" : "Resets this form.",
395       "sig" : "()\n{\n\n}",
396       "static" : false,
397       "memberOf" : "",
398       "isStatic" : false,
399       "isConstructor" : false,
400       "isPrivate" : false,
401       "example" : "",
402       "deprecated" : "",
403       "since" : "",
404       "see" : "",
405       "exceptions" : "",
406       "requires" : "",
407       "params" : [],
408       "returns" : [
409         {
410           "name" : "",
411           "type" : "BasicForm",
412           "desc" : "this"
413         }
414       ]
415     },
416     {
417       "name" : "getValues",
418       "type" : "function",
419       "desc" : "Returns the fields in this form as an object with key/value pairs. If multiple fields exist with the same name\nthey are returned as an array.",
420       "sig" : "(asString)",
421       "static" : false,
422       "memberOf" : "",
423       "isStatic" : false,
424       "isConstructor" : false,
425       "isPrivate" : false,
426       "example" : "",
427       "deprecated" : "",
428       "since" : "",
429       "see" : "",
430       "exceptions" : "",
431       "requires" : "",
432       "params" : [
433         {
434           "name" : "asString",
435           "type" : "Boolean",
436           "desc" : "",
437           "isOptional" : false
438         }
439       ],
440       "returns" : [
441         {
442           "name" : "",
443           "type" : "Object",
444           "desc" : ""
445         }
446       ]
447     },
448     {
449       "name" : "isValid",
450       "type" : "function",
451       "desc" : "Returns true if client-side validation on the form is successful.",
452       "sig" : "()\n{\n\n}",
453       "static" : false,
454       "memberOf" : "",
455       "isStatic" : false,
456       "isConstructor" : false,
457       "isPrivate" : false,
458       "example" : "",
459       "deprecated" : "",
460       "since" : "",
461       "see" : "",
462       "exceptions" : "",
463       "requires" : "",
464       "params" : [],
465       "returns" : [
466         {
467           "name" : "",
468           "type" : "",
469           "desc" : "Boolean"
470         }
471       ]
472     },
473     {
474       "name" : "tooltipEl",
475       "type" : "function",
476       "desc" : "Fetch the element to display the tooltip on.",
477       "sig" : "()\n{\n\n}",
478       "static" : false,
479       "memberOf" : "Roo.bootstrap.Component",
480       "isStatic" : false,
481       "isConstructor" : false,
482       "isPrivate" : false,
483       "example" : "",
484       "deprecated" : "",
485       "since" : "",
486       "see" : "",
487       "exceptions" : "",
488       "requires" : "",
489       "params" : [],
490       "returns" : [
491         {
492           "name" : "",
493           "type" : "Roo.Element",
494           "desc" : "defaults to this.el"
495         }
496       ]
497     },
498     {
499       "name" : "hide",
500       "type" : "function",
501       "desc" : "Hide a component - adds 'hidden' class",
502       "sig" : "()\n{\n\n}",
503       "static" : false,
504       "memberOf" : "Roo.bootstrap.Component",
505       "isStatic" : false,
506       "isConstructor" : false,
507       "isPrivate" : false,
508       "example" : "",
509       "deprecated" : "",
510       "since" : "",
511       "see" : "",
512       "exceptions" : "",
513       "requires" : "",
514       "params" : [],
515       "returns" : []
516     },
517     {
518       "name" : "show",
519       "type" : "function",
520       "desc" : "Show a component - removes 'hidden' class",
521       "sig" : "()\n{\n\n}",
522       "static" : false,
523       "memberOf" : "Roo.bootstrap.Component",
524       "isStatic" : false,
525       "isConstructor" : false,
526       "isPrivate" : false,
527       "example" : "",
528       "deprecated" : "",
529       "since" : "",
530       "see" : "",
531       "exceptions" : "",
532       "requires" : "",
533       "params" : [],
534       "returns" : []
535     },
536     {
537       "name" : "setVisibilityEl",
538       "type" : "function",
539       "desc" : "Set the element that will be used to show or hide",
540       "sig" : "()\n{\n\n}",
541       "static" : false,
542       "memberOf" : "Roo.bootstrap.Component",
543       "isStatic" : false,
544       "isConstructor" : false,
545       "isPrivate" : false,
546       "example" : "",
547       "deprecated" : "",
548       "since" : "",
549       "see" : "",
550       "exceptions" : "",
551       "requires" : "",
552       "params" : [],
553       "returns" : []
554     },
555     {
556       "name" : "getVisibilityEl",
557       "type" : "function",
558       "desc" : "Get the element that will be used to show or hide",
559       "sig" : "()\n{\n\n}",
560       "static" : false,
561       "memberOf" : "Roo.bootstrap.Component",
562       "isStatic" : false,
563       "isConstructor" : false,
564       "isPrivate" : false,
565       "example" : "",
566       "deprecated" : "",
567       "since" : "",
568       "see" : "",
569       "exceptions" : "",
570       "requires" : "",
571       "params" : [],
572       "returns" : []
573     },
574     {
575       "name" : "initEvents",
576       "type" : "function",
577       "desc" : "Initialize Events for the element",
578       "sig" : "()\n{\n\n}",
579       "static" : false,
580       "memberOf" : "Roo.bootstrap.Component",
581       "isStatic" : false,
582       "isConstructor" : false,
583       "isPrivate" : false,
584       "example" : "",
585       "deprecated" : "",
586       "since" : "",
587       "see" : "",
588       "exceptions" : "",
589       "requires" : "",
590       "params" : [],
591       "returns" : []
592     },
593     {
594       "name" : "getChildContainer",
595       "type" : "function",
596       "desc" : "Fetch the element to add children to",
597       "sig" : "()\n{\n\n}",
598       "static" : false,
599       "memberOf" : "Roo.bootstrap.Component",
600       "isStatic" : false,
601       "isConstructor" : false,
602       "isPrivate" : false,
603       "example" : "",
604       "deprecated" : "",
605       "since" : "",
606       "see" : "",
607       "exceptions" : "",
608       "requires" : "",
609       "params" : [],
610       "returns" : [
611         {
612           "name" : "",
613           "type" : "Roo.Element",
614           "desc" : "defaults to this.el"
615         }
616       ]
617     },
618     {
619       "name" : "getId",
620       "type" : "function",
621       "desc" : "Returns the id of this component.",
622       "sig" : "()\n{\n\n}",
623       "static" : false,
624       "memberOf" : "Roo.Component",
625       "isStatic" : false,
626       "isConstructor" : false,
627       "isPrivate" : false,
628       "example" : "",
629       "deprecated" : "",
630       "since" : "",
631       "see" : "",
632       "exceptions" : "",
633       "requires" : "",
634       "params" : [],
635       "returns" : [
636         {
637           "name" : "",
638           "type" : "String",
639           "desc" : ""
640         }
641       ]
642     },
643     {
644       "name" : "render",
645       "type" : "function",
646       "desc" : "If this is a lazy rendering component, render it to its container element.",
647       "sig" : "(container)",
648       "static" : false,
649       "memberOf" : "Roo.Component",
650       "isStatic" : false,
651       "isConstructor" : false,
652       "isPrivate" : false,
653       "example" : "",
654       "deprecated" : "",
655       "since" : "",
656       "see" : "",
657       "exceptions" : "",
658       "requires" : "",
659       "params" : [
660         {
661           "name" : "container",
662           "type" : "String/HTMLElement/Element",
663           "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
664           "isOptional" : false
665         }
666       ],
667       "returns" : []
668     },
669     {
670       "name" : "destroy",
671       "type" : "function",
672       "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.",
673       "sig" : "()\n{\n\n}",
674       "static" : false,
675       "memberOf" : "Roo.Component",
676       "isStatic" : false,
677       "isConstructor" : false,
678       "isPrivate" : false,
679       "example" : "",
680       "deprecated" : "",
681       "since" : "",
682       "see" : "",
683       "exceptions" : "",
684       "requires" : "",
685       "params" : [],
686       "returns" : []
687     },
688     {
689       "name" : "isVisible",
690       "type" : "function",
691       "desc" : "Returns true if this component is visible.",
692       "sig" : "()\n{\n\n}",
693       "static" : false,
694       "memberOf" : "Roo.Component",
695       "isStatic" : false,
696       "isConstructor" : false,
697       "isPrivate" : false,
698       "example" : "",
699       "deprecated" : "",
700       "since" : "",
701       "see" : "",
702       "exceptions" : "",
703       "requires" : "",
704       "params" : [],
705       "returns" : []
706     },
707     {
708       "name" : "setDisabled",
709       "type" : "function",
710       "desc" : "Convenience function for setting disabled/enabled by boolean.",
711       "sig" : "(disabled)",
712       "static" : false,
713       "memberOf" : "Roo.Component",
714       "isStatic" : false,
715       "isConstructor" : false,
716       "isPrivate" : false,
717       "example" : "",
718       "deprecated" : "",
719       "since" : "",
720       "see" : "",
721       "exceptions" : "",
722       "requires" : "",
723       "params" : [
724         {
725           "name" : "disabled",
726           "type" : "Boolean",
727           "desc" : "",
728           "isOptional" : false
729         }
730       ],
731       "returns" : []
732     },
733     {
734       "name" : "focus",
735       "type" : "function",
736       "desc" : "Try to focus this component.",
737       "sig" : "(selectText)",
738       "static" : false,
739       "memberOf" : "Roo.Component",
740       "isStatic" : false,
741       "isConstructor" : false,
742       "isPrivate" : false,
743       "example" : "",
744       "deprecated" : "",
745       "since" : "",
746       "see" : "",
747       "exceptions" : "",
748       "requires" : "",
749       "params" : [
750         {
751           "name" : "selectText",
752           "type" : "Boolean",
753           "desc" : "True to also select the text in this component (if applicable)",
754           "isOptional" : false
755         }
756       ],
757       "returns" : [
758         {
759           "name" : "",
760           "type" : "Roo.Component",
761           "desc" : "this"
762         }
763       ]
764     },
765     {
766       "name" : "enable",
767       "type" : "function",
768       "desc" : "Enable this component.",
769       "sig" : "()\n{\n\n}",
770       "static" : false,
771       "memberOf" : "Roo.Component",
772       "isStatic" : false,
773       "isConstructor" : false,
774       "isPrivate" : false,
775       "example" : "",
776       "deprecated" : "",
777       "since" : "",
778       "see" : "",
779       "exceptions" : "",
780       "requires" : "",
781       "params" : [],
782       "returns" : [
783         {
784           "name" : "",
785           "type" : "Roo.Component",
786           "desc" : "this"
787         }
788       ]
789     },
790     {
791       "name" : "setVisible",
792       "type" : "function",
793       "desc" : "Convenience function to hide or show this component by boolean.",
794       "sig" : "(visible)",
795       "static" : false,
796       "memberOf" : "Roo.Component",
797       "isStatic" : false,
798       "isConstructor" : false,
799       "isPrivate" : false,
800       "example" : "",
801       "deprecated" : "",
802       "since" : "",
803       "see" : "",
804       "exceptions" : "",
805       "requires" : "",
806       "params" : [
807         {
808           "name" : "visible",
809           "type" : "Boolean",
810           "desc" : "True to show, false to hide",
811           "isOptional" : false
812         }
813       ],
814       "returns" : [
815         {
816           "name" : "",
817           "type" : "Roo.Component",
818           "desc" : "this"
819         }
820       ]
821     },
822     {
823       "name" : "disable",
824       "type" : "function",
825       "desc" : "Disable this component.",
826       "sig" : "()\n{\n\n}",
827       "static" : false,
828       "memberOf" : "Roo.Component",
829       "isStatic" : false,
830       "isConstructor" : false,
831       "isPrivate" : false,
832       "example" : "",
833       "deprecated" : "",
834       "since" : "",
835       "see" : "",
836       "exceptions" : "",
837       "requires" : "",
838       "params" : [],
839       "returns" : [
840         {
841           "name" : "",
842           "type" : "Roo.Component",
843           "desc" : "this"
844         }
845       ]
846     },
847     {
848       "name" : "getEl",
849       "type" : "function",
850       "desc" : "Returns the underlying {@link Roo.Element}.",
851       "sig" : "()\n{\n\n}",
852       "static" : false,
853       "memberOf" : "Roo.Component",
854       "isStatic" : false,
855       "isConstructor" : false,
856       "isPrivate" : false,
857       "example" : "",
858       "deprecated" : "",
859       "since" : "",
860       "see" : "",
861       "exceptions" : "",
862       "requires" : "",
863       "params" : [],
864       "returns" : [
865         {
866           "name" : "",
867           "type" : "Roo.Element",
868           "desc" : "The element"
869         }
870       ]
871     },
872     {
873       "name" : "purgeListeners",
874       "type" : "function",
875       "desc" : "Removes all listeners for this object",
876       "sig" : "()\n{\n\n}",
877       "static" : false,
878       "memberOf" : "Roo.util.Observable",
879       "isStatic" : false,
880       "isConstructor" : false,
881       "isPrivate" : false,
882       "example" : "",
883       "deprecated" : "",
884       "since" : "",
885       "see" : "",
886       "exceptions" : "",
887       "requires" : "",
888       "params" : [],
889       "returns" : []
890     },
891     {
892       "name" : "on",
893       "type" : "function",
894       "desc" : "Appends an event handler to this element (shorthand for addListener)",
895       "sig" : "(eventName, handler, scope, options)",
896       "static" : false,
897       "memberOf" : "Roo.util.Observable",
898       "isStatic" : false,
899       "isConstructor" : false,
900       "isPrivate" : false,
901       "example" : "",
902       "deprecated" : "",
903       "since" : "",
904       "see" : "",
905       "exceptions" : "",
906       "requires" : "",
907       "params" : [
908         {
909           "name" : "eventName",
910           "type" : "String",
911           "desc" : "The type of event to listen for",
912           "isOptional" : false
913         },
914         {
915           "name" : "handler",
916           "type" : "Function",
917           "desc" : "The method the event invokes",
918           "isOptional" : false
919         },
920         {
921           "name" : "scope",
922           "type" : "Object",
923           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
924           "isOptional" : false
925         },
926         {
927           "name" : "options",
928           "type" : "Object",
929           "desc" : "(optional)",
930           "isOptional" : false
931         }
932       ],
933       "returns" : []
934     },
935     {
936       "name" : "un",
937       "type" : "function",
938       "desc" : "Removes a listener (shorthand for removeListener)",
939       "sig" : "(eventName, handler, scope)",
940       "static" : false,
941       "memberOf" : "Roo.util.Observable",
942       "isStatic" : false,
943       "isConstructor" : false,
944       "isPrivate" : false,
945       "example" : "",
946       "deprecated" : "",
947       "since" : "",
948       "see" : "",
949       "exceptions" : "",
950       "requires" : "",
951       "params" : [
952         {
953           "name" : "eventName",
954           "type" : "String",
955           "desc" : "The type of event to listen for",
956           "isOptional" : false
957         },
958         {
959           "name" : "handler",
960           "type" : "Function",
961           "desc" : "The handler to remove",
962           "isOptional" : false
963         },
964         {
965           "name" : "scope",
966           "type" : "Object",
967           "desc" : "(optional) The scope (this object) for the handler",
968           "isOptional" : false
969         }
970       ],
971       "returns" : []
972     },
973     {
974       "name" : "addEvents",
975       "type" : "function",
976       "desc" : "Used to define events on this Observable",
977       "sig" : "(object)",
978       "static" : false,
979       "memberOf" : "Roo.util.Observable",
980       "isStatic" : false,
981       "isConstructor" : false,
982       "isPrivate" : false,
983       "example" : "",
984       "deprecated" : "",
985       "since" : "",
986       "see" : "",
987       "exceptions" : "",
988       "requires" : "",
989       "params" : [
990         {
991           "name" : "object",
992           "type" : "Object",
993           "desc" : "The object with the events defined",
994           "isOptional" : false
995         }
996       ],
997       "returns" : []
998     },
999     {
1000       "name" : "releaseCapture",
1001       "type" : "function",
1002       "desc" : "Removes <b>all</b> added captures from the Observable.",
1003       "sig" : "(o)",
1004       "static" : true,
1005       "memberOf" : "Roo.util.Observable",
1006       "isStatic" : true,
1007       "isConstructor" : false,
1008       "isPrivate" : false,
1009       "example" : "",
1010       "deprecated" : "",
1011       "since" : "",
1012       "see" : "",
1013       "exceptions" : "",
1014       "requires" : "",
1015       "params" : [
1016         {
1017           "name" : "o",
1018           "type" : "Observable",
1019           "desc" : "The Observable to release",
1020           "isOptional" : false
1021         }
1022       ],
1023       "returns" : []
1024     },
1025     {
1026       "name" : "removeListener",
1027       "type" : "function",
1028       "desc" : "Removes a listener",
1029       "sig" : "(eventName, handler, scope)",
1030       "static" : false,
1031       "memberOf" : "Roo.util.Observable",
1032       "isStatic" : false,
1033       "isConstructor" : false,
1034       "isPrivate" : false,
1035       "example" : "",
1036       "deprecated" : "",
1037       "since" : "",
1038       "see" : "",
1039       "exceptions" : "",
1040       "requires" : "",
1041       "params" : [
1042         {
1043           "name" : "eventName",
1044           "type" : "String",
1045           "desc" : "The type of event to listen for",
1046           "isOptional" : false
1047         },
1048         {
1049           "name" : "handler",
1050           "type" : "Function",
1051           "desc" : "The handler to remove",
1052           "isOptional" : false
1053         },
1054         {
1055           "name" : "scope",
1056           "type" : "Object",
1057           "desc" : "(optional) The scope (this object) for the handler",
1058           "isOptional" : false
1059         }
1060       ],
1061       "returns" : []
1062     },
1063     {
1064       "name" : "fireEvent",
1065       "type" : "function",
1066       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1067       "sig" : "(eventName, args)",
1068       "static" : false,
1069       "memberOf" : "Roo.util.Observable",
1070       "isStatic" : false,
1071       "isConstructor" : false,
1072       "isPrivate" : false,
1073       "example" : "",
1074       "deprecated" : "",
1075       "since" : "",
1076       "see" : "",
1077       "exceptions" : "",
1078       "requires" : "",
1079       "params" : [
1080         {
1081           "name" : "eventName",
1082           "type" : "String",
1083           "desc" : "",
1084           "isOptional" : false
1085         },
1086         {
1087           "name" : "args",
1088           "type" : "Object...",
1089           "desc" : "Variable number of parameters are passed to handlers",
1090           "isOptional" : false
1091         }
1092       ],
1093       "returns" : [
1094         {
1095           "name" : "",
1096           "type" : "Boolean",
1097           "desc" : "returns false if any of the handlers return false otherwise it returns true"
1098         }
1099       ]
1100     },
1101     {
1102       "name" : "hasListener",
1103       "type" : "function",
1104       "desc" : "Checks to see if this object has any listeners for a specified event",
1105       "sig" : "(eventName)",
1106       "static" : false,
1107       "memberOf" : "Roo.util.Observable",
1108       "isStatic" : false,
1109       "isConstructor" : false,
1110       "isPrivate" : false,
1111       "example" : "",
1112       "deprecated" : "",
1113       "since" : "",
1114       "see" : "",
1115       "exceptions" : "",
1116       "requires" : "",
1117       "params" : [
1118         {
1119           "name" : "eventName",
1120           "type" : "String",
1121           "desc" : "The name of the event to check for",
1122           "isOptional" : false
1123         }
1124       ],
1125       "returns" : [
1126         {
1127           "name" : "",
1128           "type" : "Boolean",
1129           "desc" : "True if the event is being listened for, else false"
1130         }
1131       ]
1132     },
1133     {
1134       "name" : "capture",
1135       "type" : "function",
1136       "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
1137       "sig" : "(o, fn, scope)",
1138       "static" : true,
1139       "memberOf" : "Roo.util.Observable",
1140       "isStatic" : true,
1141       "isConstructor" : false,
1142       "isPrivate" : false,
1143       "example" : "",
1144       "deprecated" : "",
1145       "since" : "",
1146       "see" : "",
1147       "exceptions" : "",
1148       "requires" : "",
1149       "params" : [
1150         {
1151           "name" : "o",
1152           "type" : "Observable",
1153           "desc" : "The Observable to capture",
1154           "isOptional" : false
1155         },
1156         {
1157           "name" : "fn",
1158           "type" : "Function",
1159           "desc" : "The function to call",
1160           "isOptional" : false
1161         },
1162         {
1163           "name" : "scope",
1164           "type" : "Object",
1165           "desc" : "(optional) The scope (this object) for the fn",
1166           "isOptional" : false
1167         }
1168       ],
1169       "returns" : []
1170     },
1171     {
1172       "name" : "addListener",
1173       "type" : "function",
1174       "desc" : "Appends an event handler to this component",
1175       "sig" : "(eventName, handler, scope, options)",
1176       "static" : false,
1177       "memberOf" : "Roo.util.Observable",
1178       "isStatic" : false,
1179       "isConstructor" : false,
1180       "isPrivate" : false,
1181       "example" : "",
1182       "deprecated" : "",
1183       "since" : "",
1184       "see" : "",
1185       "exceptions" : "",
1186       "requires" : "",
1187       "params" : [
1188         {
1189           "name" : "eventName",
1190           "type" : "String",
1191           "desc" : "The type of event to listen for",
1192           "isOptional" : false
1193         },
1194         {
1195           "name" : "handler",
1196           "type" : "Function",
1197           "desc" : "The method the event invokes",
1198           "isOptional" : false
1199         },
1200         {
1201           "name" : "scope",
1202           "type" : "Object",
1203           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1204           "isOptional" : false
1205         },
1206         {
1207           "name" : "options",
1208           "type" : "Object",
1209           "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n    \t\tdelay: 100,\n    \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n        \t\tfn: this.onClick,\n        \t\tscope: this,\n        \t\tdelay: 100\n    \t\t}, \n    \t\t'mouseover': {\n        \t\tfn: this.onMouseOver,\n        \t\tscope: this\n    \t\t},\n    \t\t'mouseout': {\n        \t\tfn: this.onMouseOut,\n        \t\tscope: this\n    \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n     \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n    \t\t'mouseover': this.onMouseOver,\n    \t\t'mouseout': this.onMouseOut,\n    \t\tscope: this\n\t\t});\n\t\t</code></pre>",
1210           "isOptional" : false
1211         }
1212       ],
1213       "returns" : []
1214     }
1215   ],
1216   "events" : [
1217     {
1218       "name" : "actionfailed",
1219       "type" : "function",
1220       "desc" : "Fires when an action fails.",
1221       "sig" : "function (_self, action)\n{\n\n}",
1222       "memberOf" : "",
1223       "example" : "",
1224       "deprecated" : "",
1225       "since" : "",
1226       "see" : "",
1227       "params" : [
1228         {
1229           "name" : "this",
1230           "type" : "Form",
1231           "desc" : "",
1232           "isOptional" : false
1233         },
1234         {
1235           "name" : "action",
1236           "type" : "Action",
1237           "desc" : "The action that failed",
1238           "isOptional" : false
1239         }
1240       ],
1241       "returns" : []
1242     },
1243     {
1244       "name" : "actioncomplete",
1245       "type" : "function",
1246       "desc" : "Fires when an action is completed.",
1247       "sig" : "function (_self, action)\n{\n\n}",
1248       "memberOf" : "",
1249       "example" : "",
1250       "deprecated" : "",
1251       "since" : "",
1252       "see" : "",
1253       "params" : [
1254         {
1255           "name" : "this",
1256           "type" : "Form",
1257           "desc" : "",
1258           "isOptional" : false
1259         },
1260         {
1261           "name" : "action",
1262           "type" : "Action",
1263           "desc" : "The action that completed",
1264           "isOptional" : false
1265         }
1266       ],
1267       "returns" : []
1268     },
1269     {
1270       "name" : "beforeaction",
1271       "type" : "function",
1272       "desc" : "Fires before any action is performed. Return false to cancel the action.",
1273       "sig" : "function (_self, action)\n{\n\n}",
1274       "memberOf" : "",
1275       "example" : "",
1276       "deprecated" : "",
1277       "since" : "",
1278       "see" : "",
1279       "params" : [
1280         {
1281           "name" : "this",
1282           "type" : "Form",
1283           "desc" : "",
1284           "isOptional" : false
1285         },
1286         {
1287           "name" : "action",
1288           "type" : "Action",
1289           "desc" : "The action to be performed",
1290           "isOptional" : false
1291         }
1292       ],
1293       "returns" : []
1294     },
1295     {
1296       "name" : "clientvalidation",
1297       "type" : "function",
1298       "desc" : "If the monitorValid config option is true, this event fires repetitively to notify of valid state",
1299       "sig" : "function (_self, valid)\n{\n\n}",
1300       "memberOf" : "",
1301       "example" : "",
1302       "deprecated" : "",
1303       "since" : "",
1304       "see" : "",
1305       "params" : [
1306         {
1307           "name" : "this",
1308           "type" : "Form",
1309           "desc" : "",
1310           "isOptional" : false
1311         },
1312         {
1313           "name" : "valid",
1314           "type" : "Boolean",
1315           "desc" : "true if the form has passed client-side validation",
1316           "isOptional" : false
1317         }
1318       ],
1319       "returns" : []
1320     },
1321     {
1322       "name" : "childrenrendered",
1323       "type" : "function",
1324       "desc" : "Fires when the children have been rendered..",
1325       "sig" : "function (_self)\n{\n\n}",
1326       "memberOf" : "Roo.bootstrap.Component",
1327       "example" : "",
1328       "deprecated" : "",
1329       "since" : "",
1330       "see" : "",
1331       "params" : [
1332         {
1333           "name" : "this",
1334           "type" : "Roo.bootstrap.Component",
1335           "desc" : "",
1336           "isOptional" : false
1337         }
1338       ],
1339       "returns" : []
1340     },
1341     {
1342       "name" : "beforerender",
1343       "type" : "function",
1344       "desc" : "Fires before the component is rendered. Return false to stop the render.",
1345       "sig" : "function (_self)\n{\n\n}",
1346       "memberOf" : "Roo.Component",
1347       "example" : "",
1348       "deprecated" : "",
1349       "since" : "",
1350       "see" : "",
1351       "params" : [
1352         {
1353           "name" : "this",
1354           "type" : "Roo.Component",
1355           "desc" : "",
1356           "isOptional" : false
1357         }
1358       ],
1359       "returns" : []
1360     },
1361     {
1362       "name" : "disable",
1363       "type" : "function",
1364       "desc" : "Fires after the component is disabled.",
1365       "sig" : "function (_self)\n{\n\n}",
1366       "memberOf" : "Roo.Component",
1367       "example" : "",
1368       "deprecated" : "",
1369       "since" : "",
1370       "see" : "",
1371       "params" : [
1372         {
1373           "name" : "this",
1374           "type" : "Roo.Component",
1375           "desc" : "",
1376           "isOptional" : false
1377         }
1378       ],
1379       "returns" : []
1380     },
1381     {
1382       "name" : "render",
1383       "type" : "function",
1384       "desc" : "Fires after the component is rendered.",
1385       "sig" : "function (_self)\n{\n\n}",
1386       "memberOf" : "Roo.Component",
1387       "example" : "",
1388       "deprecated" : "",
1389       "since" : "",
1390       "see" : "",
1391       "params" : [
1392         {
1393           "name" : "this",
1394           "type" : "Roo.Component",
1395           "desc" : "",
1396           "isOptional" : false
1397         }
1398       ],
1399       "returns" : []
1400     },
1401     {
1402       "name" : "destroy",
1403       "type" : "function",
1404       "desc" : "Fires after the component is destroyed.",
1405       "sig" : "function (_self)\n{\n\n}",
1406       "memberOf" : "Roo.Component",
1407       "example" : "",
1408       "deprecated" : "",
1409       "since" : "",
1410       "see" : "",
1411       "params" : [
1412         {
1413           "name" : "this",
1414           "type" : "Roo.Component",
1415           "desc" : "",
1416           "isOptional" : false
1417         }
1418       ],
1419       "returns" : []
1420     },
1421     {
1422       "name" : "hide",
1423       "type" : "function",
1424       "desc" : "Fires after the component is hidden.",
1425       "sig" : "function (_self)\n{\n\n}",
1426       "memberOf" : "Roo.Component",
1427       "example" : "",
1428       "deprecated" : "",
1429       "since" : "",
1430       "see" : "",
1431       "params" : [
1432         {
1433           "name" : "this",
1434           "type" : "Roo.Component",
1435           "desc" : "",
1436           "isOptional" : false
1437         }
1438       ],
1439       "returns" : []
1440     },
1441     {
1442       "name" : "beforehide",
1443       "type" : "function",
1444       "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1445       "sig" : "function (_self)\n{\n\n}",
1446       "memberOf" : "Roo.Component",
1447       "example" : "",
1448       "deprecated" : "",
1449       "since" : "",
1450       "see" : "",
1451       "params" : [
1452         {
1453           "name" : "this",
1454           "type" : "Roo.Component",
1455           "desc" : "",
1456           "isOptional" : false
1457         }
1458       ],
1459       "returns" : []
1460     },
1461     {
1462       "name" : "show",
1463       "type" : "function",
1464       "desc" : "Fires after the component is shown.",
1465       "sig" : "function (_self)\n{\n\n}",
1466       "memberOf" : "Roo.Component",
1467       "example" : "",
1468       "deprecated" : "",
1469       "since" : "",
1470       "see" : "",
1471       "params" : [
1472         {
1473           "name" : "this",
1474           "type" : "Roo.Component",
1475           "desc" : "",
1476           "isOptional" : false
1477         }
1478       ],
1479       "returns" : []
1480     },
1481     {
1482       "name" : "beforeshow",
1483       "type" : "function",
1484       "desc" : "Fires before the component is shown.  Return false to stop the show.",
1485       "sig" : "function (_self)\n{\n\n}",
1486       "memberOf" : "Roo.Component",
1487       "example" : "",
1488       "deprecated" : "",
1489       "since" : "",
1490       "see" : "",
1491       "params" : [
1492         {
1493           "name" : "this",
1494           "type" : "Roo.Component",
1495           "desc" : "",
1496           "isOptional" : false
1497         }
1498       ],
1499       "returns" : []
1500     },
1501     {
1502       "name" : "enable",
1503       "type" : "function",
1504       "desc" : "Fires after the component is enabled.",
1505       "sig" : "function (_self)\n{\n\n}",
1506       "memberOf" : "Roo.Component",
1507       "example" : "",
1508       "deprecated" : "",
1509       "since" : "",
1510       "see" : "",
1511       "params" : [
1512         {
1513           "name" : "this",
1514           "type" : "Roo.Component",
1515           "desc" : "",
1516           "isOptional" : false
1517         }
1518       ],
1519       "returns" : []
1520     },
1521     {
1522       "name" : "beforedestroy",
1523       "type" : "function",
1524       "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1525       "sig" : "function (_self)\n{\n\n}",
1526       "memberOf" : "Roo.Component",
1527       "example" : "",
1528       "deprecated" : "",
1529       "since" : "",
1530       "see" : "",
1531       "params" : [
1532         {
1533           "name" : "this",
1534           "type" : "Roo.Component",
1535           "desc" : "",
1536           "isOptional" : false
1537         }
1538       ],
1539       "returns" : []
1540     }
1541   ]
1542 }