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