Fix #7418 - radio button set value
[roojs1] / docs / symbols / Roo.form.BasicForm.json
1 {
2   "name" : "Roo.form.BasicForm",
3   "augments" : [
4     "Roo.util.Observable"
5   ],
6   "childClasses" : {
7     "Roo.form.BasicForm" : [
8       "Roo.form.Form"
9     ]
10   },
11   "tree_children" : [],
12   "tree_parent" : [],
13   "desc" : "Supplies the functionality to do \"actions\" on forms and initialize Roo.form.Field types on existing markup.",
14   "isSingleton" : false,
15   "isStatic" : false,
16   "isBuiltin" : false,
17   "isAbstract" : false,
18   "isBuilderTop" : false,
19   "memberOf" : "BasicForm",
20   "example" : "",
21   "deprecated" : "",
22   "since" : "",
23   "see" : "",
24   "params" : [
25     {
26       "name" : "el",
27       "type" : "String/HTMLElement/Roo.Element",
28       "desc" : "The form element or its id",
29       "isOptional" : false
30     },
31     {
32       "name" : "config",
33       "type" : "Object",
34       "desc" : "Configuration options",
35       "isOptional" : false
36     }
37   ],
38   "returns" : [],
39   "throws" : "",
40   "requires" : "",
41   "config" : [
42     {
43       "name" : "listeners",
44       "type" : "Object",
45       "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>",
46       "memberOf" : "Roo.util.Observable",
47       "isOptional" : false,
48       "optvals" : []
49     },
50     {
51       "name" : "fileUpload",
52       "type" : "Boolean",
53       "desc" : "Set to true if this form is a file upload.",
54       "memberOf" : "",
55       "isOptional" : false,
56       "optvals" : []
57     },
58     {
59       "name" : "method",
60       "type" : "String",
61       "desc" : "The request method to use (GET or POST) for form actions if one isn't supplied in the action options.",
62       "memberOf" : "",
63       "isOptional" : false,
64       "optvals" : []
65     },
66     {
67       "name" : "errorMask",
68       "type" : "Boolean",
69       "desc" : "e) default fal",
70       "memberOf" : "",
71       "isOptional" : false,
72       "optvals" : [
73         "true",
74         "false"
75       ]
76     },
77     {
78       "name" : "timeout",
79       "type" : "Number",
80       "desc" : "Timeout for form actions in seconds (default is 30 seconds).",
81       "memberOf" : "",
82       "isOptional" : false,
83       "optvals" : []
84     },
85     {
86       "name" : "baseParams",
87       "type" : "Object",
88       "desc" : "Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.",
89       "memberOf" : "",
90       "isOptional" : false,
91       "optvals" : []
92     },
93     {
94       "name" : "trackResetOnLoad",
95       "type" : "Boolean",
96       "desc" : "If set to true, form.reset() resets to the last loaded\nor setValues() data instead of when the form was first created.",
97       "memberOf" : "",
98       "isOptional" : false,
99       "optvals" : []
100     },
101     {
102       "name" : "reader",
103       "type" : "DataReader",
104       "desc" : "An Roo.data.DataReader (e.g. {@link Roo.data.XmlReader}) to be used to read data when executing \"load\" actions.\nThis is optional as there is built-in support for processing JSON.",
105       "memberOf" : "",
106       "isOptional" : false,
107       "optvals" : []
108     },
109     {
110       "name" : "errorReader",
111       "type" : "DataReader",
112       "desc" : "An Roo.data.DataReader (e.g. {@link Roo.data.XmlReader}) to be used to read data when reading validation errors on \"submit\" actions.\nThis is completely optional as there is built-in support for processing JSON.",
113       "memberOf" : "",
114       "isOptional" : false,
115       "optvals" : []
116     },
117     {
118       "name" : "url",
119       "type" : "String",
120       "desc" : "The URL to use for form actions if one isn't supplied in the action options.",
121       "memberOf" : "",
122       "isOptional" : false,
123       "optvals" : []
124     },
125     {
126       "name" : "maskOffset",
127       "type" : "Number",
128       "desc" : "Default 100",
129       "memberOf" : "",
130       "isOptional" : false,
131       "optvals" : []
132     }
133   ],
134   "methods" : [
135     {
136       "name" : "remove",
137       "type" : "function",
138       "desc" : "Removes a field from the items collection (does NOT remove its markup).",
139       "sig" : "(field)",
140       "static" : false,
141       "memberOf" : "",
142       "isStatic" : false,
143       "isConstructor" : false,
144       "isPrivate" : false,
145       "example" : "",
146       "deprecated" : "",
147       "since" : "",
148       "see" : "",
149       "exceptions" : "",
150       "requires" : "",
151       "params" : [
152         {
153           "name" : "field",
154           "type" : "Field",
155           "desc" : "",
156           "isOptional" : false
157         }
158       ],
159       "returns" : [
160         {
161           "name" : "",
162           "type" : "BasicForm",
163           "desc" : "this"
164         }
165       ]
166     },
167     {
168       "name" : "loadRecord",
169       "type" : "function",
170       "desc" : "Loads an Roo.data.Record into this form.",
171       "sig" : "(record)",
172       "static" : false,
173       "memberOf" : "",
174       "isStatic" : false,
175       "isConstructor" : false,
176       "isPrivate" : false,
177       "example" : "",
178       "deprecated" : "",
179       "since" : "",
180       "see" : "",
181       "exceptions" : "",
182       "requires" : "",
183       "params" : [
184         {
185           "name" : "record",
186           "type" : "Record",
187           "desc" : "The record to load",
188           "isOptional" : false
189         }
190       ],
191       "returns" : [
192         {
193           "name" : "",
194           "type" : "BasicForm",
195           "desc" : "this"
196         }
197       ]
198     },
199     {
200       "name" : "load",
201       "type" : "function",
202       "desc" : "Shortcut to do a load action.",
203       "sig" : "(options)",
204       "static" : false,
205       "memberOf" : "",
206       "isStatic" : false,
207       "isConstructor" : false,
208       "isPrivate" : false,
209       "example" : "",
210       "deprecated" : "",
211       "since" : "",
212       "see" : "",
213       "exceptions" : "",
214       "requires" : "",
215       "params" : [
216         {
217           "name" : "options",
218           "type" : "Object",
219           "desc" : "The options to pass to the action (see {@link #doAction} for details)",
220           "isOptional" : false
221         }
222       ],
223       "returns" : [
224         {
225           "name" : "",
226           "type" : "BasicForm",
227           "desc" : "this"
228         }
229       ]
230     },
231     {
232       "name" : "doAction",
233       "type" : "function",
234       "desc" : "Performs a predefined action (submit or load) or custom actions you define on this form.",
235       "sig" : "(actionName, options)",
236       "static" : false,
237       "memberOf" : "",
238       "isStatic" : false,
239       "isConstructor" : false,
240       "isPrivate" : false,
241       "example" : "",
242       "deprecated" : "",
243       "since" : "",
244       "see" : "",
245       "exceptions" : "",
246       "requires" : "",
247       "params" : [
248         {
249           "name" : "actionName",
250           "type" : "String",
251           "desc" : "The name of the action type",
252           "isOptional" : false
253         },
254         {
255           "name" : "options",
256           "type" : "Object",
257           "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>",
258           "isOptional" : false
259         }
260       ],
261       "returns" : [
262         {
263           "name" : "",
264           "type" : "BasicForm",
265           "desc" : "this"
266         }
267       ]
268     },
269     {
270       "name" : "getValues",
271       "type" : "function",
272       "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.",
273       "sig" : "(asString)",
274       "static" : false,
275       "memberOf" : "",
276       "isStatic" : false,
277       "isConstructor" : false,
278       "isPrivate" : false,
279       "example" : "",
280       "deprecated" : "",
281       "since" : "",
282       "see" : "",
283       "exceptions" : "",
284       "requires" : "",
285       "params" : [
286         {
287           "name" : "asString",
288           "type" : "Boolean",
289           "desc" : "(def)",
290           "isOptional" : false
291         }
292       ],
293       "returns" : [
294         {
295           "name" : "",
296           "type" : "Object",
297           "desc" : ""
298         }
299       ]
300     },
301     {
302       "name" : "resetHasChanged",
303       "type" : "function",
304       "desc" : "Resets all hasChanged to 'false' -\nThe old 'isDirty' used 'original value..' however this breaks reset() and a few other things.\nSo hasChanged storage is only to be used for this purpose",
305       "sig" : "()\n{\n\n}",
306       "static" : false,
307       "memberOf" : "",
308       "isStatic" : false,
309       "isConstructor" : false,
310       "isPrivate" : false,
311       "example" : "",
312       "deprecated" : "",
313       "since" : "",
314       "see" : "",
315       "exceptions" : "",
316       "requires" : "",
317       "params" : [],
318       "returns" : [
319         {
320           "name" : "",
321           "type" : "",
322           "desc" : "Boolean"
323         }
324       ]
325     },
326     {
327       "name" : "clearInvalid",
328       "type" : "function",
329       "desc" : "Clears all invalid messages in this form.",
330       "sig" : "()\n{\n\n}",
331       "static" : false,
332       "memberOf" : "",
333       "isStatic" : false,
334       "isConstructor" : false,
335       "isPrivate" : false,
336       "example" : "",
337       "deprecated" : "",
338       "since" : "",
339       "see" : "",
340       "exceptions" : "",
341       "requires" : "",
342       "params" : [],
343       "returns" : [
344         {
345           "name" : "",
346           "type" : "BasicForm",
347           "desc" : "this"
348         }
349       ]
350     },
351     {
352       "name" : "isDirty",
353       "type" : "function",
354       "desc" : "DEPRICATED Returns true if any fields in this form have changed since their original load.",
355       "sig" : "()\n{\n\n}",
356       "static" : false,
357       "memberOf" : "",
358       "isStatic" : false,
359       "isConstructor" : false,
360       "isPrivate" : false,
361       "example" : "",
362       "deprecated" : "",
363       "since" : "",
364       "see" : "",
365       "exceptions" : "",
366       "requires" : "",
367       "params" : [],
368       "returns" : [
369         {
370           "name" : "",
371           "type" : "",
372           "desc" : "Boolean"
373         }
374       ]
375     },
376     {
377       "name" : "updateRecord",
378       "type" : "function",
379       "desc" : "Persists the values in this form into the passed Roo.data.Record object in a beginEdit/endEdit block.",
380       "sig" : "(record)",
381       "static" : false,
382       "memberOf" : "",
383       "isStatic" : false,
384       "isConstructor" : false,
385       "isPrivate" : false,
386       "example" : "",
387       "deprecated" : "",
388       "since" : "",
389       "see" : "",
390       "exceptions" : "",
391       "requires" : "",
392       "params" : [
393         {
394           "name" : "record",
395           "type" : "Record",
396           "desc" : "The record to edit",
397           "isOptional" : false
398         }
399       ],
400       "returns" : [
401         {
402           "name" : "",
403           "type" : "BasicForm",
404           "desc" : "this"
405         }
406       ]
407     },
408     {
409       "name" : "hasChanged",
410       "type" : "function",
411       "desc" : "Returns true if any fields in this form have changed since their original load. (New version)",
412       "sig" : "()\n{\n\n}",
413       "static" : false,
414       "memberOf" : "",
415       "isStatic" : false,
416       "isConstructor" : false,
417       "isPrivate" : false,
418       "example" : "",
419       "deprecated" : "",
420       "since" : "",
421       "see" : "",
422       "exceptions" : "",
423       "requires" : "",
424       "params" : [],
425       "returns" : [
426         {
427           "name" : "",
428           "type" : "",
429           "desc" : "Boolean"
430         }
431       ]
432     },
433     {
434       "name" : "applyToFields",
435       "type" : "function",
436       "desc" : "Calls {@link Ext#apply} for all fields in this form with the passed object.",
437       "sig" : "(values)",
438       "static" : false,
439       "memberOf" : "",
440       "isStatic" : false,
441       "isConstructor" : false,
442       "isPrivate" : false,
443       "example" : "",
444       "deprecated" : "",
445       "since" : "",
446       "see" : "",
447       "exceptions" : "",
448       "requires" : "",
449       "params" : [
450         {
451           "name" : "values",
452           "type" : "Object",
453           "desc" : "",
454           "isOptional" : false
455         }
456       ],
457       "returns" : [
458         {
459           "name" : "",
460           "type" : "BasicForm",
461           "desc" : "this"
462         }
463       ]
464     },
465     {
466       "name" : "getFieldValues",
467       "type" : "function",
468       "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.\nNormally this will not return readOnly data",
469       "sig" : "(with_readonly)",
470       "static" : false,
471       "memberOf" : "",
472       "isStatic" : false,
473       "isConstructor" : false,
474       "isPrivate" : false,
475       "example" : "",
476       "deprecated" : "",
477       "since" : "",
478       "see" : "",
479       "exceptions" : "",
480       "requires" : "",
481       "params" : [
482         {
483           "name" : "with_readonly",
484           "type" : "Boolean",
485           "desc" : "return readonly field data.",
486           "isOptional" : false
487         }
488       ],
489       "returns" : [
490         {
491           "name" : "",
492           "type" : "Object",
493           "desc" : ""
494         }
495       ]
496     },
497     {
498       "name" : "submit",
499       "type" : "function",
500       "desc" : "Shortcut to do a submit action.",
501       "sig" : "(options)",
502       "static" : false,
503       "memberOf" : "",
504       "isStatic" : false,
505       "isConstructor" : false,
506       "isPrivate" : false,
507       "example" : "",
508       "deprecated" : "",
509       "since" : "",
510       "see" : "",
511       "exceptions" : "",
512       "requires" : "",
513       "params" : [
514         {
515           "name" : "options",
516           "type" : "Object",
517           "desc" : "The options to pass to the action (see {@link #doAction} for details)",
518           "isOptional" : false
519         }
520       ],
521       "returns" : [
522         {
523           "name" : "",
524           "type" : "BasicForm",
525           "desc" : "this"
526         }
527       ]
528     },
529     {
530       "name" : "markInvalid",
531       "type" : "function",
532       "desc" : "Mark fields in this form invalid in bulk.",
533       "sig" : "(errors)",
534       "static" : false,
535       "memberOf" : "",
536       "isStatic" : false,
537       "isConstructor" : false,
538       "isPrivate" : false,
539       "example" : "",
540       "deprecated" : "",
541       "since" : "",
542       "see" : "",
543       "exceptions" : "",
544       "requires" : "",
545       "params" : [
546         {
547           "name" : "errors",
548           "type" : "Array/Object",
549           "desc" : "Either an array in the form [{id:'fieldId', msg:'The message'},...] or an object hash of {id: msg, id2: msg2}",
550           "isOptional" : false
551         }
552       ],
553       "returns" : [
554         {
555           "name" : "",
556           "type" : "BasicForm",
557           "desc" : "this"
558         }
559       ]
560     },
561     {
562       "name" : "setValues",
563       "type" : "function",
564       "desc" : "Set values for fields in this form in bulk.",
565       "sig" : "(values)",
566       "static" : false,
567       "memberOf" : "",
568       "isStatic" : false,
569       "isConstructor" : false,
570       "isPrivate" : false,
571       "example" : "",
572       "deprecated" : "",
573       "since" : "",
574       "see" : "",
575       "exceptions" : "",
576       "requires" : "",
577       "params" : [
578         {
579           "name" : "values",
580           "type" : "Array/Object",
581           "desc" : "Either an array in the form [{id:'fieldId', value:'foo'},...] or an object hash of {id: value, id2: value2}",
582           "isOptional" : false
583         }
584       ],
585       "returns" : [
586         {
587           "name" : "",
588           "type" : "BasicForm",
589           "desc" : "this"
590         }
591       ]
592     },
593     {
594       "name" : "isValid",
595       "type" : "function",
596       "desc" : "Returns true if client-side validation on the form is successful.",
597       "sig" : "()\n{\n\n}",
598       "static" : false,
599       "memberOf" : "",
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" : "",
614           "desc" : "Boolean"
615         }
616       ]
617     },
618     {
619       "name" : "invalidFields",
620       "type" : "function",
621       "desc" : "Returns array of invalid form fields.",
622       "sig" : "()\n{\n\n}",
623       "static" : false,
624       "memberOf" : "",
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" : "",
639           "desc" : "Array"
640         }
641       ]
642     },
643     {
644       "name" : "render",
645       "type" : "function",
646       "desc" : "Looks at the fields in this form, checks them for an id attribute,\nand calls applyTo on the existing dom element with that id.",
647       "sig" : "()\n{\n\n}",
648       "static" : false,
649       "memberOf" : "",
650       "isStatic" : false,
651       "isConstructor" : false,
652       "isPrivate" : false,
653       "example" : "",
654       "deprecated" : "",
655       "since" : "",
656       "see" : "",
657       "exceptions" : "",
658       "requires" : "",
659       "params" : [],
660       "returns" : [
661         {
662           "name" : "",
663           "type" : "BasicForm",
664           "desc" : "this"
665         }
666       ]
667     },
668     {
669       "name" : "add",
670       "type" : "function",
671       "desc" : "Add Roo.form components to this form.",
672       "sig" : "(field1, field2, etc)",
673       "static" : false,
674       "memberOf" : "",
675       "isStatic" : false,
676       "isConstructor" : false,
677       "isPrivate" : false,
678       "example" : "",
679       "deprecated" : "",
680       "since" : "",
681       "see" : "",
682       "exceptions" : "",
683       "requires" : "",
684       "params" : [
685         {
686           "name" : "field1",
687           "type" : "Field",
688           "desc" : "",
689           "isOptional" : false
690         },
691         {
692           "name" : "field2",
693           "type" : "Field",
694           "desc" : "(optional)",
695           "isOptional" : false
696         },
697         {
698           "name" : "etc",
699           "type" : "Field",
700           "desc" : "(optional)",
701           "isOptional" : false
702         }
703       ],
704       "returns" : [
705         {
706           "name" : "",
707           "type" : "BasicForm",
708           "desc" : "this"
709         }
710       ]
711     },
712     {
713       "name" : "applyIfToFields",
714       "type" : "function",
715       "desc" : "Calls {@link Ext#applyIf} for all field in this form with the passed object.",
716       "sig" : "(values)",
717       "static" : false,
718       "memberOf" : "",
719       "isStatic" : false,
720       "isConstructor" : false,
721       "isPrivate" : false,
722       "example" : "",
723       "deprecated" : "",
724       "since" : "",
725       "see" : "",
726       "exceptions" : "",
727       "requires" : "",
728       "params" : [
729         {
730           "name" : "values",
731           "type" : "Object",
732           "desc" : "",
733           "isOptional" : false
734         }
735       ],
736       "returns" : [
737         {
738           "name" : "",
739           "type" : "BasicForm",
740           "desc" : "this"
741         }
742       ]
743     },
744     {
745       "name" : "findField",
746       "type" : "function",
747       "desc" : "Find a Roo.form.Field in this form by id, dataIndex, name or hiddenName",
748       "sig" : "(id)",
749       "static" : false,
750       "memberOf" : "",
751       "isStatic" : false,
752       "isConstructor" : false,
753       "isPrivate" : false,
754       "example" : "",
755       "deprecated" : "",
756       "since" : "",
757       "see" : "",
758       "exceptions" : "",
759       "requires" : "",
760       "params" : [
761         {
762           "name" : "id",
763           "type" : "String",
764           "desc" : "The value to search for",
765           "isOptional" : false
766         }
767       ],
768       "returns" : [
769         {
770           "name" : "",
771           "type" : "",
772           "desc" : "Field"
773         }
774       ]
775     },
776     {
777       "name" : "reset",
778       "type" : "function",
779       "desc" : "Resets this form.",
780       "sig" : "()\n{\n\n}",
781       "static" : false,
782       "memberOf" : "",
783       "isStatic" : false,
784       "isConstructor" : false,
785       "isPrivate" : false,
786       "example" : "",
787       "deprecated" : "",
788       "since" : "",
789       "see" : "",
790       "exceptions" : "",
791       "requires" : "",
792       "params" : [],
793       "returns" : [
794         {
795           "name" : "",
796           "type" : "BasicForm",
797           "desc" : "this"
798         }
799       ]
800     },
801     {
802       "name" : "addForm",
803       "type" : "function",
804       "desc" : "Add a secondary form to this one, \nUsed to provide tabbed forms. One form is primary, with hidden values \nwhich mirror the elements from the other forms.",
805       "sig" : "(form)",
806       "static" : false,
807       "memberOf" : "",
808       "isStatic" : false,
809       "isConstructor" : false,
810       "isPrivate" : false,
811       "example" : "",
812       "deprecated" : "",
813       "since" : "",
814       "see" : "",
815       "exceptions" : "",
816       "requires" : "",
817       "params" : [
818         {
819           "name" : "form",
820           "type" : "Roo.form.Form",
821           "desc" : "to add.",
822           "isOptional" : false
823         }
824       ],
825       "returns" : []
826     },
827     {
828       "name" : "purgeListeners",
829       "type" : "function",
830       "desc" : "Removes all listeners for this object",
831       "sig" : "()\n{\n\n}",
832       "static" : false,
833       "memberOf" : "Roo.util.Observable",
834       "isStatic" : false,
835       "isConstructor" : false,
836       "isPrivate" : false,
837       "example" : "",
838       "deprecated" : "",
839       "since" : "",
840       "see" : "",
841       "exceptions" : "",
842       "requires" : "",
843       "params" : [],
844       "returns" : []
845     },
846     {
847       "name" : "on",
848       "type" : "function",
849       "desc" : "Appends an event handler to this element (shorthand for addListener)",
850       "sig" : "(eventName, handler, scope, options)",
851       "static" : false,
852       "memberOf" : "Roo.util.Observable",
853       "isStatic" : false,
854       "isConstructor" : false,
855       "isPrivate" : false,
856       "example" : "",
857       "deprecated" : "",
858       "since" : "",
859       "see" : "",
860       "exceptions" : "",
861       "requires" : "",
862       "params" : [
863         {
864           "name" : "eventName",
865           "type" : "String",
866           "desc" : "The type of event to listen for",
867           "isOptional" : false
868         },
869         {
870           "name" : "handler",
871           "type" : "Function",
872           "desc" : "The method the event invokes",
873           "isOptional" : false
874         },
875         {
876           "name" : "scope",
877           "type" : "Object",
878           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
879           "isOptional" : false
880         },
881         {
882           "name" : "options",
883           "type" : "Object",
884           "desc" : "(optional)",
885           "isOptional" : false
886         }
887       ],
888       "returns" : []
889     },
890     {
891       "name" : "un",
892       "type" : "function",
893       "desc" : "Removes a listener (shorthand for removeListener)",
894       "sig" : "(eventName, handler, scope)",
895       "static" : false,
896       "memberOf" : "Roo.util.Observable",
897       "isStatic" : false,
898       "isConstructor" : false,
899       "isPrivate" : false,
900       "example" : "",
901       "deprecated" : "",
902       "since" : "",
903       "see" : "",
904       "exceptions" : "",
905       "requires" : "",
906       "params" : [
907         {
908           "name" : "eventName",
909           "type" : "String",
910           "desc" : "The type of event to listen for",
911           "isOptional" : false
912         },
913         {
914           "name" : "handler",
915           "type" : "Function",
916           "desc" : "The handler to remove",
917           "isOptional" : false
918         },
919         {
920           "name" : "scope",
921           "type" : "Object",
922           "desc" : "(optional) The scope (this object) for the handler",
923           "isOptional" : false
924         }
925       ],
926       "returns" : []
927     },
928     {
929       "name" : "addEvents",
930       "type" : "function",
931       "desc" : "Used to define events on this Observable",
932       "sig" : "(object)",
933       "static" : false,
934       "memberOf" : "Roo.util.Observable",
935       "isStatic" : false,
936       "isConstructor" : false,
937       "isPrivate" : false,
938       "example" : "",
939       "deprecated" : "",
940       "since" : "",
941       "see" : "",
942       "exceptions" : "",
943       "requires" : "",
944       "params" : [
945         {
946           "name" : "object",
947           "type" : "Object",
948           "desc" : "The object with the events defined",
949           "isOptional" : false
950         }
951       ],
952       "returns" : []
953     },
954     {
955       "name" : "releaseCapture",
956       "type" : "function",
957       "desc" : "Removes <b>all</b> added captures from the Observable.",
958       "sig" : "(o)",
959       "static" : true,
960       "memberOf" : "Roo.util.Observable",
961       "isStatic" : true,
962       "isConstructor" : false,
963       "isPrivate" : false,
964       "example" : "",
965       "deprecated" : "",
966       "since" : "",
967       "see" : "",
968       "exceptions" : "",
969       "requires" : "",
970       "params" : [
971         {
972           "name" : "o",
973           "type" : "Observable",
974           "desc" : "The Observable to release",
975           "isOptional" : false
976         }
977       ],
978       "returns" : []
979     },
980     {
981       "name" : "removeListener",
982       "type" : "function",
983       "desc" : "Removes a listener",
984       "sig" : "(eventName, handler, scope)",
985       "static" : false,
986       "memberOf" : "Roo.util.Observable",
987       "isStatic" : false,
988       "isConstructor" : false,
989       "isPrivate" : false,
990       "example" : "",
991       "deprecated" : "",
992       "since" : "",
993       "see" : "",
994       "exceptions" : "",
995       "requires" : "",
996       "params" : [
997         {
998           "name" : "eventName",
999           "type" : "String",
1000           "desc" : "The type of event to listen for",
1001           "isOptional" : false
1002         },
1003         {
1004           "name" : "handler",
1005           "type" : "Function",
1006           "desc" : "The handler to remove",
1007           "isOptional" : false
1008         },
1009         {
1010           "name" : "scope",
1011           "type" : "Object",
1012           "desc" : "(optional) The scope (this object) for the handler",
1013           "isOptional" : false
1014         }
1015       ],
1016       "returns" : []
1017     },
1018     {
1019       "name" : "fireEvent",
1020       "type" : "function",
1021       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1022       "sig" : "(eventName, args)",
1023       "static" : false,
1024       "memberOf" : "Roo.util.Observable",
1025       "isStatic" : false,
1026       "isConstructor" : false,
1027       "isPrivate" : false,
1028       "example" : "",
1029       "deprecated" : "",
1030       "since" : "",
1031       "see" : "",
1032       "exceptions" : "",
1033       "requires" : "",
1034       "params" : [
1035         {
1036           "name" : "eventName",
1037           "type" : "String",
1038           "desc" : "",
1039           "isOptional" : false
1040         },
1041         {
1042           "name" : "args",
1043           "type" : "Object...",
1044           "desc" : "Variable number of parameters are passed to handlers",
1045           "isOptional" : false
1046         }
1047       ],
1048       "returns" : [
1049         {
1050           "name" : "",
1051           "type" : "Boolean",
1052           "desc" : "returns false if any of the handlers return false otherwise it returns true"
1053         }
1054       ]
1055     },
1056     {
1057       "name" : "hasListener",
1058       "type" : "function",
1059       "desc" : "Checks to see if this object has any listeners for a specified event",
1060       "sig" : "(eventName)",
1061       "static" : false,
1062       "memberOf" : "Roo.util.Observable",
1063       "isStatic" : false,
1064       "isConstructor" : false,
1065       "isPrivate" : false,
1066       "example" : "",
1067       "deprecated" : "",
1068       "since" : "",
1069       "see" : "",
1070       "exceptions" : "",
1071       "requires" : "",
1072       "params" : [
1073         {
1074           "name" : "eventName",
1075           "type" : "String",
1076           "desc" : "The name of the event to check for",
1077           "isOptional" : false
1078         }
1079       ],
1080       "returns" : [
1081         {
1082           "name" : "",
1083           "type" : "Boolean",
1084           "desc" : "True if the event is being listened for, else false"
1085         }
1086       ]
1087     },
1088     {
1089       "name" : "capture",
1090       "type" : "function",
1091       "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.",
1092       "sig" : "(o, fn, scope)",
1093       "static" : true,
1094       "memberOf" : "Roo.util.Observable",
1095       "isStatic" : true,
1096       "isConstructor" : false,
1097       "isPrivate" : false,
1098       "example" : "",
1099       "deprecated" : "",
1100       "since" : "",
1101       "see" : "",
1102       "exceptions" : "",
1103       "requires" : "",
1104       "params" : [
1105         {
1106           "name" : "o",
1107           "type" : "Observable",
1108           "desc" : "The Observable to capture",
1109           "isOptional" : false
1110         },
1111         {
1112           "name" : "fn",
1113           "type" : "Function",
1114           "desc" : "The function to call",
1115           "isOptional" : false
1116         },
1117         {
1118           "name" : "scope",
1119           "type" : "Object",
1120           "desc" : "(optional) The scope (this object) for the fn",
1121           "isOptional" : false
1122         }
1123       ],
1124       "returns" : []
1125     },
1126     {
1127       "name" : "addListener",
1128       "type" : "function",
1129       "desc" : "Appends an event handler to this component",
1130       "sig" : "(eventName, handler, scope, options)",
1131       "static" : false,
1132       "memberOf" : "Roo.util.Observable",
1133       "isStatic" : false,
1134       "isConstructor" : false,
1135       "isPrivate" : false,
1136       "example" : "",
1137       "deprecated" : "",
1138       "since" : "",
1139       "see" : "",
1140       "exceptions" : "",
1141       "requires" : "",
1142       "params" : [
1143         {
1144           "name" : "eventName",
1145           "type" : "String",
1146           "desc" : "The type of event to listen for",
1147           "isOptional" : false
1148         },
1149         {
1150           "name" : "handler",
1151           "type" : "Function",
1152           "desc" : "The method the event invokes",
1153           "isOptional" : false
1154         },
1155         {
1156           "name" : "scope",
1157           "type" : "Object",
1158           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1159           "isOptional" : false
1160         },
1161         {
1162           "name" : "options",
1163           "type" : "Object",
1164           "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>",
1165           "isOptional" : false
1166         }
1167       ],
1168       "returns" : []
1169     }
1170   ],
1171   "events" : [
1172     {
1173       "name" : "beforeaction",
1174       "type" : "function",
1175       "desc" : "Fires before any action is performed. Return false to cancel the action.",
1176       "sig" : "function (_self, action)\n{\n\n}",
1177       "memberOf" : "",
1178       "example" : "",
1179       "deprecated" : "",
1180       "since" : "",
1181       "see" : "",
1182       "params" : [
1183         {
1184           "name" : "this",
1185           "type" : "Form",
1186           "desc" : "",
1187           "isOptional" : false
1188         },
1189         {
1190           "name" : "action",
1191           "type" : "Action",
1192           "desc" : "The action to be performed",
1193           "isOptional" : false
1194         }
1195       ],
1196       "returns" : []
1197     },
1198     {
1199       "name" : "actioncomplete",
1200       "type" : "function",
1201       "desc" : "Fires when an action is completed.",
1202       "sig" : "function (_self, action)\n{\n\n}",
1203       "memberOf" : "",
1204       "example" : "",
1205       "deprecated" : "",
1206       "since" : "",
1207       "see" : "",
1208       "params" : [
1209         {
1210           "name" : "this",
1211           "type" : "Form",
1212           "desc" : "",
1213           "isOptional" : false
1214         },
1215         {
1216           "name" : "action",
1217           "type" : "Action",
1218           "desc" : "The action that completed",
1219           "isOptional" : false
1220         }
1221       ],
1222       "returns" : []
1223     },
1224     {
1225       "name" : "actionfailed",
1226       "type" : "function",
1227       "desc" : "Fires when an action fails.",
1228       "sig" : "function (_self, action)\n{\n\n}",
1229       "memberOf" : "",
1230       "example" : "",
1231       "deprecated" : "",
1232       "since" : "",
1233       "see" : "",
1234       "params" : [
1235         {
1236           "name" : "this",
1237           "type" : "Form",
1238           "desc" : "",
1239           "isOptional" : false
1240         },
1241         {
1242           "name" : "action",
1243           "type" : "Action",
1244           "desc" : "The action that failed",
1245           "isOptional" : false
1246         }
1247       ],
1248       "returns" : []
1249     }
1250   ]
1251 }