enable grammerly in editor
[roojs1] / docs / symbols / Roo.form.TriggerField.json
1 {
2   "name" : "Roo.form.TriggerField",
3   "augments" : [
4     "Roo.form.TextField",
5     "Roo.form.Field",
6     "Roo.BoxComponent",
7     "Roo.Component",
8     "Roo.util.Observable"
9   ],
10   "desc" : "Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default).\nThe trigger has no default action, so you must assign a function to implement the trigger click handler by\noverriding {@link #onTriggerClick}. You can create a TriggerField directly, as it renders exactly like a combobox\nfor which you can provide a custom implementation.  For example:\n<pre><code>\nvar trigger = new Roo.form.TriggerField();\ntrigger.onTriggerClick = myTriggerFn;\ntrigger.applyTo('my-field');\n</code></pre>\n\nHowever, in general you will most likely want to use TriggerField as the base class for a reusable component.\n{@link Roo.form.DateField} and {@link Roo.form.ComboBox} are perfect examples of this.",
11   "isSingleton" : false,
12   "isStatic" : false,
13   "isBuiltin" : false,
14   "memberOf" : "TriggerField",
15   "example" : "",
16   "deprecated" : "",
17   "since" : "",
18   "see" : "",
19   "params" : [
20     {
21       "name" : "config",
22       "type" : "Object",
23       "desc" : "Configuration options (valid {@Roo.form.TextField} config options will also be applied\nto the base TextField)",
24       "isOptional" : false
25     }
26   ],
27   "returns" : [],
28   "config" : [
29     {
30       "name" : "triggerClass",
31       "type" : "String",
32       "desc" : "An additional CSS class used to style the trigger button.  The trigger will always get the\nclass 'x-form-trigger' by default and triggerClass will be <b>appended</b> if specified.",
33       "memberOf" : "Roo.form.TriggerField",
34       "optvals" : []
35     },
36     {
37       "name" : "hideMode",
38       "type" : "String",
39       "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\".",
40       "memberOf" : "Roo.Component",
41       "optvals" : [
42         "display",
43         "visibility"
44       ]
45     },
46     {
47       "name" : "disableKeyFilter",
48       "type" : "Boolean",
49       "desc" : "True to disable input keystroke filtering (defaults to false)",
50       "memberOf" : "Roo.form.TextField",
51       "optvals" : []
52     },
53     {
54       "name" : "disabled",
55       "type" : "Boolean",
56       "desc" : "True to disable the field (defaults to false).",
57       "memberOf" : "Roo.form.Field",
58       "optvals" : []
59     },
60     {
61       "name" : "validator",
62       "type" : "Function",
63       "desc" : "A custom validation function to be called during field validation (defaults to null).\nIf available, this function will be called only after the basic validators all return true, and will be passed the\ncurrent field value and expected to return boolean true if the value is valid or a string error message if invalid.",
64       "memberOf" : "Roo.form.TextField",
65       "optvals" : []
66     },
67     {
68       "name" : "name",
69       "type" : "String",
70       "desc" : "The field's HTML name attribute.",
71       "memberOf" : "Roo.form.Field",
72       "optvals" : []
73     },
74     {
75       "name" : "width",
76       "type" : "Number",
77       "desc" : "width (optional) size of component",
78       "memberOf" : "Roo.BoxComponent",
79       "optvals" : []
80     },
81     {
82       "name" : "regexText",
83       "type" : "String",
84       "desc" : "The error text to display if {@link #regex} is used and the test fails during validation (defaults to \"\")",
85       "memberOf" : "Roo.form.TextField",
86       "optvals" : []
87     },
88     {
89       "name" : "allowDomMove",
90       "type" : "Boolean",
91       "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
92       "memberOf" : "Roo.Component",
93       "optvals" : []
94     },
95     {
96       "name" : "height",
97       "type" : "Number",
98       "desc" : "height (optional) size of component",
99       "memberOf" : "Roo.BoxComponent",
100       "optvals" : []
101     },
102     {
103       "name" : "value",
104       "type" : "Mixed",
105       "desc" : "A value to initialize this field with.",
106       "memberOf" : "Roo.form.Field",
107       "optvals" : []
108     },
109     {
110       "name" : "emptyText",
111       "type" : "String",
112       "desc" : "The default text to display in an empty field - placeholder... (defaults to null).",
113       "memberOf" : "Roo.form.TextField",
114       "optvals" : []
115     },
116     {
117       "name" : "msgFx",
118       "type" : "String",
119       "desc" : "<b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').",
120       "memberOf" : "Roo.form.Field",
121       "optvals" : []
122     },
123     {
124       "name" : "actionMode",
125       "type" : "String",
126       "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",
127       "memberOf" : "Roo.Component",
128       "optvals" : []
129     },
130     {
131       "name" : "msgTarget",
132       "type" : "String",
133       "desc" : "The location where error text should display.  Should be one of the following values (defaults to 'qtip'):\n<pre>\nValue         Description\n-----------   ----------------------------------------------------------------------\nqtip          Display a quick tip when the user hovers over the field\ntitle         Display a default browser title attribute popup\nunder         Add a block div beneath the field containing the error text\nside          Add an error icon to the right of the field with a popup on hover\n[element id]  Add the error text directly to the innerHTML of the specified element\n</pre>",
134       "memberOf" : "Roo.form.Field",
135       "optvals" : []
136     },
137     {
138       "name" : "maxLengthText",
139       "type" : "String",
140       "desc" : "Error text to display if the maximum length validation fails (defaults to \"The maximum length for this field is {maxLength}\")",
141       "memberOf" : "Roo.form.TextField",
142       "optvals" : []
143     },
144     {
145       "name" : "minLengthText",
146       "type" : "String",
147       "desc" : "Error text to display if the minimum length validation fails (defaults to \"The minimum length for this field is {minLength}\")",
148       "memberOf" : "Roo.form.TextField",
149       "optvals" : []
150     },
151     {
152       "name" : "listeners",
153       "type" : "Object",
154       "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>",
155       "memberOf" : "Roo.util.Observable",
156       "optvals" : []
157     },
158     {
159       "name" : "readOnly",
160       "type" : "Boolean",
161       "desc" : "True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.",
162       "memberOf" : "Roo.form.Field",
163       "optvals" : []
164     },
165     {
166       "name" : "focusClass",
167       "type" : "String",
168       "desc" : "The CSS class to use when the field receives focus (defaults to \"x-form-focus\")",
169       "memberOf" : "Roo.form.Field",
170       "optvals" : []
171     },
172     {
173       "name" : "hideTrigger",
174       "type" : "Boolean",
175       "desc" : "True to hide the trigger element and display only the base text field (defaults to false)",
176       "memberOf" : "Roo.form.TriggerField",
177       "optvals" : []
178     },
179     {
180       "name" : "cls",
181       "type" : "String",
182       "desc" : "A CSS class to apply to the field's underlying element.",
183       "memberOf" : "Roo.form.Field",
184       "optvals" : []
185     },
186     {
187       "name" : "validateOnBlur",
188       "type" : "Boolean",
189       "desc" : "Whether the field should validate when it loses focus (defaults to true).",
190       "memberOf" : "Roo.form.Field",
191       "optvals" : []
192     },
193     {
194       "name" : "inputType",
195       "type" : "String",
196       "desc" : "The type attribute for input fields -- e.g. radio, text, password (defaults to \"text\").",
197       "memberOf" : "Roo.form.Field",
198       "optvals" : []
199     },
200     {
201       "name" : "fieldClass",
202       "type" : "String",
203       "desc" : "The default CSS class for the field (defaults to \"x-form-field\")",
204       "memberOf" : "Roo.form.Field",
205       "optvals" : []
206     },
207     {
208       "name" : "allowLeadingSpace",
209       "type" : "Boolean",
210       "desc" : "True to prevent the stripping of leading white space",
211       "memberOf" : "Roo.form.TextField",
212       "optvals" : []
213     },
214     {
215       "name" : "autoCreate",
216       "type" : "String/Object",
217       "desc" : "A DomHelper element spec, or true for a default element spec (defaults to\n{tag: \"input\", type: \"text\", size: \"16\", autocomplete: \"off\"})",
218       "memberOf" : "Roo.form.TriggerField",
219       "optvals" : []
220     },
221     {
222       "name" : "invalidClass",
223       "type" : "String",
224       "desc" : "The CSS class to use when marking a field invalid (defaults to \"x-form-invalid\")",
225       "memberOf" : "Roo.form.Field",
226       "optvals" : []
227     },
228     {
229       "name" : "maskRe",
230       "type" : "String",
231       "desc" : "An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)",
232       "memberOf" : "Roo.form.TextField",
233       "optvals" : []
234     },
235     {
236       "name" : "vtype",
237       "type" : "String",
238       "desc" : "A validation type name as defined in {@link Roo.form.VTypes} (defaults to null)",
239       "memberOf" : "Roo.form.TextField",
240       "optvals" : []
241     },
242     {
243       "name" : "validationEvent",
244       "type" : "String/Boolean",
245       "desc" : "The event that should initiate field validation. Set to false to disable\n      automatic validation (defaults to \"keyup\").",
246       "memberOf" : "Roo.form.Field",
247       "optvals" : []
248     },
249     {
250       "name" : "fieldLabel",
251       "type" : "String",
252       "desc" : "Label to use when rendering a form.",
253       "memberOf" : "Roo.form.Field",
254       "optvals" : []
255     },
256     {
257       "name" : "blankText",
258       "type" : "String",
259       "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
260       "memberOf" : "Roo.form.TextField",
261       "optvals" : []
262     },
263     {
264       "name" : "validationDelay",
265       "type" : "Number",
266       "desc" : "The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)",
267       "memberOf" : "Roo.form.Field",
268       "optvals" : []
269     },
270     {
271       "name" : "selectOnFocus",
272       "type" : "Boolean",
273       "desc" : "True to automatically select any existing field text when the field receives input focus (defaults to false)",
274       "memberOf" : "Roo.form.TextField",
275       "optvals" : []
276     },
277     {
278       "name" : "disableClass",
279       "type" : "String",
280       "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
281       "memberOf" : "Roo.Component",
282       "optvals" : []
283     },
284     {
285       "name" : "tabIndex",
286       "type" : "Number",
287       "desc" : "The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).",
288       "memberOf" : "Roo.form.Field",
289       "optvals" : []
290     },
291     {
292       "name" : "regex",
293       "type" : "RegExp",
294       "desc" : "A JavaScript RegExp object to be tested against the field value during validation (defaults to null).\nIf available, this regex will be evaluated only after the basic validators all return true, and will be passed the\ncurrent field value.  If the test fails, the field will be marked invalid using {@link #regexText}.",
295       "memberOf" : "Roo.form.TextField",
296       "optvals" : []
297     },
298     {
299       "name" : "minLength",
300       "type" : "Number",
301       "desc" : "Minimum input field length required (defaults to 0)",
302       "memberOf" : "Roo.form.TextField",
303       "optvals" : []
304     },
305     {
306       "name" : "allowBlank",
307       "type" : "Boolean",
308       "desc" : "False to validate that the value length > 0 (defaults to true)",
309       "memberOf" : "Roo.form.TextField",
310       "optvals" : []
311     },
312     {
313       "name" : "qtip",
314       "type" : "String",
315       "desc" : "Mouse over tip",
316       "memberOf" : "Roo.form.Field",
317       "optvals" : []
318     },
319     {
320       "name" : "maxLength",
321       "type" : "Number",
322       "desc" : "Maximum input field length allowed (defaults to Number.MAX_VALUE)",
323       "memberOf" : "Roo.form.TextField",
324       "optvals" : []
325     },
326     {
327       "name" : "invalidText",
328       "type" : "String",
329       "desc" : "The error text to use when marking a field invalid and no message is provided (defaults to \"The value in this field is invalid\")",
330       "memberOf" : "Roo.form.Field",
331       "optvals" : []
332     }
333   ],
334   "methods" : [
335     {
336       "name" : "onTriggerClick",
337       "desc" : "The function that should handle the trigger's click event.  This method does nothing by default until overridden\nby an implementing function.",
338       "isStatic" : false,
339       "isConstructor" : false,
340       "isPrivate" : false,
341       "memberOf" : "Roo.form.TriggerField",
342       "example" : "",
343       "deprecated" : "",
344       "since" : "",
345       "see" : "",
346       "params" : [
347         {
348           "name" : "e",
349           "type" : "EventObject",
350           "desc" : "",
351           "isOptional" : false
352         }
353       ],
354       "returns" : []
355     },
356     {
357       "name" : "autoSize",
358       "desc" : "",
359       "isStatic" : false,
360       "isConstructor" : false,
361       "isPrivate" : false,
362       "memberOf" : "Roo.form.TriggerField",
363       "example" : "",
364       "deprecated" : "",
365       "since" : "",
366       "see" : "",
367       "params" : [],
368       "returns" : []
369     },
370     {
371       "name" : "selectText",
372       "desc" : "Selects text in this field",
373       "isStatic" : false,
374       "isConstructor" : false,
375       "isPrivate" : false,
376       "memberOf" : "Roo.form.TextField",
377       "example" : "",
378       "deprecated" : "",
379       "since" : "",
380       "see" : "",
381       "params" : [
382         {
383           "name" : "start",
384           "type" : "Number",
385           "desc" : "(optional) The index where the selection should start (defaults to 0)",
386           "isOptional" : false
387         },
388         {
389           "name" : "end",
390           "type" : "Number",
391           "desc" : "(optional) The index where the selection should end (defaults to the text length)",
392           "isOptional" : false
393         }
394       ],
395       "returns" : []
396     },
397     {
398       "name" : "validateValue",
399       "desc" : "Validates a value according to the field's validation rules and marks the field as invalid\nif the validation fails",
400       "isStatic" : false,
401       "isConstructor" : false,
402       "isPrivate" : false,
403       "memberOf" : "Roo.form.TextField",
404       "example" : "",
405       "deprecated" : "",
406       "since" : "",
407       "see" : "",
408       "params" : [
409         {
410           "name" : "value",
411           "type" : "Mixed",
412           "desc" : "The value to validate",
413           "isOptional" : false
414         }
415       ],
416       "returns" : [
417         {
418           "name" : "",
419           "type" : "Boolean",
420           "desc" : "True if the value is valid, else false"
421         }
422       ]
423     },
424     {
425       "name" : "reset",
426       "desc" : "Resets the current field value to the originally-loaded value and clears any validation messages.",
427       "isStatic" : false,
428       "isConstructor" : false,
429       "isPrivate" : false,
430       "memberOf" : "Roo.form.TextField",
431       "example" : "",
432       "deprecated" : "",
433       "since" : "",
434       "see" : "",
435       "params" : [],
436       "returns" : []
437     },
438     {
439       "name" : "validate",
440       "desc" : "Validates the field value",
441       "isStatic" : false,
442       "isConstructor" : false,
443       "isPrivate" : false,
444       "memberOf" : "Roo.form.Field",
445       "example" : "",
446       "deprecated" : "",
447       "since" : "",
448       "see" : "",
449       "params" : [],
450       "returns" : [
451         {
452           "name" : "",
453           "type" : "Boolean",
454           "desc" : "True if the value is valid, else false"
455         }
456       ]
457     },
458     {
459       "name" : "getValue",
460       "desc" : "Returns the normalized data value (undefined or emptyText will be returned as '').  To return the raw value see {@link #getRawValue}.",
461       "isStatic" : false,
462       "isConstructor" : false,
463       "isPrivate" : false,
464       "memberOf" : "Roo.form.Field",
465       "example" : "",
466       "deprecated" : "",
467       "since" : "",
468       "see" : "",
469       "params" : [],
470       "returns" : [
471         {
472           "name" : "",
473           "type" : "Mixed",
474           "desc" : "value The field value"
475         }
476       ]
477     },
478     {
479       "name" : "setValue",
480       "desc" : "Sets a data value into the field and validates it.  To set the value directly without validation see {@link #setRawValue}.",
481       "isStatic" : false,
482       "isConstructor" : false,
483       "isPrivate" : false,
484       "memberOf" : "Roo.form.Field",
485       "example" : "",
486       "deprecated" : "",
487       "since" : "",
488       "see" : "",
489       "params" : [
490         {
491           "name" : "value",
492           "type" : "Mixed",
493           "desc" : "The value to set",
494           "isOptional" : false
495         }
496       ],
497       "returns" : []
498     },
499     {
500       "name" : "getName",
501       "desc" : "Returns the name attribute of the field if available",
502       "isStatic" : false,
503       "isConstructor" : false,
504       "isPrivate" : false,
505       "memberOf" : "Roo.form.Field",
506       "example" : "",
507       "deprecated" : "",
508       "since" : "",
509       "see" : "",
510       "params" : [],
511       "returns" : [
512         {
513           "name" : "",
514           "type" : "String",
515           "desc" : "name The field name"
516         }
517       ]
518     },
519     {
520       "name" : "markInvalid",
521       "desc" : "Mark this field as invalid",
522       "isStatic" : false,
523       "isConstructor" : false,
524       "isPrivate" : false,
525       "memberOf" : "Roo.form.Field",
526       "example" : "",
527       "deprecated" : "",
528       "since" : "",
529       "see" : "",
530       "params" : [
531         {
532           "name" : "msg",
533           "type" : "String",
534           "desc" : "The validation message",
535           "isOptional" : false
536         }
537       ],
538       "returns" : []
539     },
540     {
541       "name" : "getRawValue",
542       "desc" : "Returns the raw data value which may or may not be a valid, defined value.  To return a normalized value see {@link #getValue}.",
543       "isStatic" : false,
544       "isConstructor" : false,
545       "isPrivate" : false,
546       "memberOf" : "Roo.form.Field",
547       "example" : "",
548       "deprecated" : "",
549       "since" : "",
550       "see" : "",
551       "params" : [],
552       "returns" : [
553         {
554           "name" : "",
555           "type" : "Mixed",
556           "desc" : "value The field value"
557         }
558       ]
559     },
560     {
561       "name" : "applyTo",
562       "desc" : "Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>",
563       "isStatic" : false,
564       "isConstructor" : false,
565       "isPrivate" : false,
566       "memberOf" : "Roo.form.Field",
567       "example" : "",
568       "deprecated" : "",
569       "since" : "",
570       "see" : "",
571       "params" : [
572         {
573           "name" : "el",
574           "type" : "String/HTMLElement/Element",
575           "desc" : "The id of the node, a DOM node or an existing Element",
576           "isOptional" : false
577         }
578       ],
579       "returns" : [
580         {
581           "name" : "",
582           "type" : "Roo.form.Field",
583           "desc" : "this"
584         }
585       ]
586     },
587     {
588       "name" : "resetHasChanged",
589       "desc" : "stores the current value in loadedValue",
590       "isStatic" : false,
591       "isConstructor" : false,
592       "isPrivate" : false,
593       "memberOf" : "Roo.form.Field",
594       "example" : "",
595       "deprecated" : "",
596       "since" : "",
597       "see" : "",
598       "params" : [],
599       "returns" : []
600     },
601     {
602       "name" : "isDirty",
603       "desc" : "Returns true if this field has been changed since it was originally loaded and is not disabled.\nDEPRICATED  - it never worked well - use hasChanged/resetHasChanged.",
604       "isStatic" : false,
605       "isConstructor" : false,
606       "isPrivate" : false,
607       "memberOf" : "Roo.form.Field",
608       "example" : "",
609       "deprecated" : "",
610       "since" : "",
611       "see" : "",
612       "params" : [],
613       "returns" : []
614     },
615     {
616       "name" : "setRawValue",
617       "desc" : "Sets the underlying DOM field's value directly, bypassing validation.  To set the value with validation see {@link #setValue}.",
618       "isStatic" : false,
619       "isConstructor" : false,
620       "isPrivate" : false,
621       "memberOf" : "Roo.form.Field",
622       "example" : "",
623       "deprecated" : "",
624       "since" : "",
625       "see" : "",
626       "params" : [
627         {
628           "name" : "value",
629           "type" : "Mixed",
630           "desc" : "The value to set",
631           "isOptional" : false
632         }
633       ],
634       "returns" : []
635     },
636     {
637       "name" : "clearInvalid",
638       "desc" : "Clear any invalid styles/messages for this field",
639       "isStatic" : false,
640       "isConstructor" : false,
641       "isPrivate" : false,
642       "memberOf" : "Roo.form.Field",
643       "example" : "",
644       "deprecated" : "",
645       "since" : "",
646       "see" : "",
647       "params" : [],
648       "returns" : []
649     },
650     {
651       "name" : "isValid",
652       "desc" : "Returns whether or not the field value is currently valid",
653       "isStatic" : false,
654       "isConstructor" : false,
655       "isPrivate" : false,
656       "memberOf" : "Roo.form.Field",
657       "example" : "",
658       "deprecated" : "",
659       "since" : "",
660       "see" : "",
661       "params" : [
662         {
663           "name" : "preventMark",
664           "type" : "Boolean",
665           "desc" : "True to disable marking the field invalid",
666           "isOptional" : false
667         }
668       ],
669       "returns" : [
670         {
671           "name" : "",
672           "type" : "Boolean",
673           "desc" : "True if the value is valid, else false"
674         }
675       ]
676     },
677     {
678       "name" : "hasChanged",
679       "desc" : "checks the current value against the 'loaded' value.\nNote - will return false if 'resetHasChanged' has not been called first.",
680       "isStatic" : false,
681       "isConstructor" : false,
682       "isPrivate" : false,
683       "memberOf" : "Roo.form.Field",
684       "example" : "",
685       "deprecated" : "",
686       "since" : "",
687       "see" : "",
688       "params" : [],
689       "returns" : []
690     },
691     {
692       "name" : "updateBox",
693       "desc" : "Sets the current box measurements of the component's underlying element.",
694       "isStatic" : false,
695       "isConstructor" : false,
696       "isPrivate" : false,
697       "memberOf" : "Roo.BoxComponent",
698       "example" : "",
699       "deprecated" : "",
700       "since" : "",
701       "see" : "",
702       "params" : [
703         {
704           "name" : "box",
705           "type" : "Object",
706           "desc" : "An object in the format {x, y, width, height}",
707           "isOptional" : false
708         }
709       ],
710       "returns" : []
711     },
712     {
713       "name" : "setPagePosition",
714       "desc" : "Sets the page XY position of the component.  To set the left and top instead, use {@link #setPosition}.\nThis method fires the move event.",
715       "isStatic" : false,
716       "isConstructor" : false,
717       "isPrivate" : false,
718       "memberOf" : "Roo.BoxComponent",
719       "example" : "",
720       "deprecated" : "",
721       "since" : "",
722       "see" : "",
723       "params" : [
724         {
725           "name" : "x",
726           "type" : "Number",
727           "desc" : "The new x position",
728           "isOptional" : false
729         },
730         {
731           "name" : "y",
732           "type" : "Number",
733           "desc" : "The new y position",
734           "isOptional" : false
735         }
736       ],
737       "returns" : []
738     },
739     {
740       "name" : "syncSize",
741       "desc" : "Force the component's size to recalculate based on the underlying element's current height and width.",
742       "isStatic" : false,
743       "isConstructor" : false,
744       "isPrivate" : false,
745       "memberOf" : "Roo.BoxComponent",
746       "example" : "",
747       "deprecated" : "",
748       "since" : "",
749       "see" : "",
750       "params" : [],
751       "returns" : []
752     },
753     {
754       "name" : "setSize",
755       "desc" : "Sets the width and height of the component.  This method fires the resize event.  This method can accept\neither width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}.",
756       "isStatic" : false,
757       "isConstructor" : false,
758       "isPrivate" : false,
759       "memberOf" : "Roo.BoxComponent",
760       "example" : "",
761       "deprecated" : "",
762       "since" : "",
763       "see" : "",
764       "params" : [
765         {
766           "name" : "width",
767           "type" : "Number/Object",
768           "desc" : "The new width to set, or a size object in the format {width, height}",
769           "isOptional" : false
770         },
771         {
772           "name" : "height",
773           "type" : "Number",
774           "desc" : "The new height to set (not required if a size object is passed as the first arg)",
775           "isOptional" : false
776         }
777       ],
778       "returns" : [
779         {
780           "name" : "",
781           "type" : "Roo.BoxComponent",
782           "desc" : "this"
783         }
784       ]
785     },
786     {
787       "name" : "getPosition",
788       "desc" : "Gets the current XY position of the component's underlying element.",
789       "isStatic" : false,
790       "isConstructor" : false,
791       "isPrivate" : false,
792       "memberOf" : "Roo.BoxComponent",
793       "example" : "",
794       "deprecated" : "",
795       "since" : "",
796       "see" : "",
797       "params" : [
798         {
799           "name" : "local",
800           "type" : "Boolean",
801           "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
802           "isOptional" : false
803         }
804       ],
805       "returns" : [
806         {
807           "name" : "",
808           "type" : "Array",
809           "desc" : "The XY position of the element (e.g., [100, 200])"
810         }
811       ]
812     },
813     {
814       "name" : "onResize",
815       "desc" : "Called after the component is resized, this method is empty by default but can be implemented by any\nsubclass that needs to perform custom logic after a resize occurs.",
816       "isStatic" : false,
817       "isConstructor" : false,
818       "isPrivate" : false,
819       "memberOf" : "Roo.BoxComponent",
820       "example" : "",
821       "deprecated" : "",
822       "since" : "",
823       "see" : "",
824       "params" : [
825         {
826           "name" : "adjWidth",
827           "type" : "Number",
828           "desc" : "The box-adjusted width that was set",
829           "isOptional" : false
830         },
831         {
832           "name" : "adjHeight",
833           "type" : "Number",
834           "desc" : "The box-adjusted height that was set",
835           "isOptional" : false
836         },
837         {
838           "name" : "rawWidth",
839           "type" : "Number",
840           "desc" : "The width that was originally specified",
841           "isOptional" : false
842         },
843         {
844           "name" : "rawHeight",
845           "type" : "Number",
846           "desc" : "The height that was originally specified",
847           "isOptional" : false
848         }
849       ],
850       "returns" : []
851     },
852     {
853       "name" : "getBox",
854       "desc" : "Gets the current box measurements of the component's underlying element.",
855       "isStatic" : false,
856       "isConstructor" : false,
857       "isPrivate" : false,
858       "memberOf" : "Roo.BoxComponent",
859       "example" : "",
860       "deprecated" : "",
861       "since" : "",
862       "see" : "",
863       "params" : [
864         {
865           "name" : "local",
866           "type" : "Boolean",
867           "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
868           "isOptional" : false
869         }
870       ],
871       "returns" : []
872     },
873     {
874       "name" : "getSize",
875       "desc" : "Gets the current size of the component's underlying element.",
876       "isStatic" : false,
877       "isConstructor" : false,
878       "isPrivate" : false,
879       "memberOf" : "Roo.BoxComponent",
880       "example" : "",
881       "deprecated" : "",
882       "since" : "",
883       "see" : "",
884       "params" : [],
885       "returns" : [
886         {
887           "name" : "",
888           "type" : "Object",
889           "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
890         }
891       ]
892     },
893     {
894       "name" : "onPosition",
895       "desc" : "Called after the component is moved, this method is empty by default but can be implemented by any\nsubclass that needs to perform custom logic after a move occurs.",
896       "isStatic" : false,
897       "isConstructor" : false,
898       "isPrivate" : false,
899       "memberOf" : "Roo.BoxComponent",
900       "example" : "",
901       "deprecated" : "",
902       "since" : "",
903       "see" : "",
904       "params" : [
905         {
906           "name" : "x",
907           "type" : "Number",
908           "desc" : "The new x position",
909           "isOptional" : false
910         },
911         {
912           "name" : "y",
913           "type" : "Number",
914           "desc" : "The new y position",
915           "isOptional" : false
916         }
917       ],
918       "returns" : []
919     },
920     {
921       "name" : "setPosition",
922       "desc" : "Sets the left and top of the component.  To set the page XY position instead, use {@link #setPagePosition}.\nThis method fires the move event.",
923       "isStatic" : false,
924       "isConstructor" : false,
925       "isPrivate" : false,
926       "memberOf" : "Roo.BoxComponent",
927       "example" : "",
928       "deprecated" : "",
929       "since" : "",
930       "see" : "",
931       "params" : [
932         {
933           "name" : "left",
934           "type" : "Number",
935           "desc" : "The new left",
936           "isOptional" : false
937         },
938         {
939           "name" : "top",
940           "type" : "Number",
941           "desc" : "The new top",
942           "isOptional" : false
943         }
944       ],
945       "returns" : []
946     },
947     {
948       "name" : "getId",
949       "desc" : "Returns the id of this component.",
950       "isStatic" : false,
951       "isConstructor" : false,
952       "isPrivate" : false,
953       "memberOf" : "Roo.Component",
954       "example" : "",
955       "deprecated" : "",
956       "since" : "",
957       "see" : "",
958       "params" : [],
959       "returns" : [
960         {
961           "name" : "",
962           "type" : "String",
963           "desc" : ""
964         }
965       ]
966     },
967     {
968       "name" : "render",
969       "desc" : "If this is a lazy rendering component, render it to its container element.",
970       "isStatic" : false,
971       "isConstructor" : false,
972       "isPrivate" : false,
973       "memberOf" : "Roo.Component",
974       "example" : "",
975       "deprecated" : "",
976       "since" : "",
977       "see" : "",
978       "params" : [
979         {
980           "name" : "container",
981           "type" : "String/HTMLElement/Element",
982           "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
983           "isOptional" : false
984         }
985       ],
986       "returns" : []
987     },
988     {
989       "name" : "destroy",
990       "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}.",
991       "isStatic" : false,
992       "isConstructor" : false,
993       "isPrivate" : false,
994       "memberOf" : "Roo.Component",
995       "example" : "",
996       "deprecated" : "",
997       "since" : "",
998       "see" : "",
999       "params" : [],
1000       "returns" : []
1001     },
1002     {
1003       "name" : "isVisible",
1004       "desc" : "Returns true if this component is visible.",
1005       "isStatic" : false,
1006       "isConstructor" : false,
1007       "isPrivate" : false,
1008       "memberOf" : "Roo.Component",
1009       "example" : "",
1010       "deprecated" : "",
1011       "since" : "",
1012       "see" : "",
1013       "params" : [],
1014       "returns" : []
1015     },
1016     {
1017       "name" : "setDisabled",
1018       "desc" : "Convenience function for setting disabled/enabled by boolean.",
1019       "isStatic" : false,
1020       "isConstructor" : false,
1021       "isPrivate" : false,
1022       "memberOf" : "Roo.Component",
1023       "example" : "",
1024       "deprecated" : "",
1025       "since" : "",
1026       "see" : "",
1027       "params" : [
1028         {
1029           "name" : "disabled",
1030           "type" : "Boolean",
1031           "desc" : "",
1032           "isOptional" : false
1033         }
1034       ],
1035       "returns" : []
1036     },
1037     {
1038       "name" : "hide",
1039       "desc" : "Hide this component.",
1040       "isStatic" : false,
1041       "isConstructor" : false,
1042       "isPrivate" : false,
1043       "memberOf" : "Roo.Component",
1044       "example" : "",
1045       "deprecated" : "",
1046       "since" : "",
1047       "see" : "",
1048       "params" : [],
1049       "returns" : [
1050         {
1051           "name" : "",
1052           "type" : "Roo.Component",
1053           "desc" : "this"
1054         }
1055       ]
1056     },
1057     {
1058       "name" : "focus",
1059       "desc" : "Try to focus this component.",
1060       "isStatic" : false,
1061       "isConstructor" : false,
1062       "isPrivate" : false,
1063       "memberOf" : "Roo.Component",
1064       "example" : "",
1065       "deprecated" : "",
1066       "since" : "",
1067       "see" : "",
1068       "params" : [
1069         {
1070           "name" : "selectText",
1071           "type" : "Boolean",
1072           "desc" : "True to also select the text in this component (if applicable)",
1073           "isOptional" : false
1074         }
1075       ],
1076       "returns" : [
1077         {
1078           "name" : "",
1079           "type" : "Roo.Component",
1080           "desc" : "this"
1081         }
1082       ]
1083     },
1084     {
1085       "name" : "show",
1086       "desc" : "Show this component.",
1087       "isStatic" : false,
1088       "isConstructor" : false,
1089       "isPrivate" : false,
1090       "memberOf" : "Roo.Component",
1091       "example" : "",
1092       "deprecated" : "",
1093       "since" : "",
1094       "see" : "",
1095       "params" : [],
1096       "returns" : [
1097         {
1098           "name" : "",
1099           "type" : "Roo.Component",
1100           "desc" : "this"
1101         }
1102       ]
1103     },
1104     {
1105       "name" : "enable",
1106       "desc" : "Enable this component.",
1107       "isStatic" : false,
1108       "isConstructor" : false,
1109       "isPrivate" : false,
1110       "memberOf" : "Roo.Component",
1111       "example" : "",
1112       "deprecated" : "",
1113       "since" : "",
1114       "see" : "",
1115       "params" : [],
1116       "returns" : [
1117         {
1118           "name" : "",
1119           "type" : "Roo.Component",
1120           "desc" : "this"
1121         }
1122       ]
1123     },
1124     {
1125       "name" : "setVisible",
1126       "desc" : "Convenience function to hide or show this component by boolean.",
1127       "isStatic" : false,
1128       "isConstructor" : false,
1129       "isPrivate" : false,
1130       "memberOf" : "Roo.Component",
1131       "example" : "",
1132       "deprecated" : "",
1133       "since" : "",
1134       "see" : "",
1135       "params" : [
1136         {
1137           "name" : "visible",
1138           "type" : "Boolean",
1139           "desc" : "True to show, false to hide",
1140           "isOptional" : false
1141         }
1142       ],
1143       "returns" : [
1144         {
1145           "name" : "",
1146           "type" : "Roo.Component",
1147           "desc" : "this"
1148         }
1149       ]
1150     },
1151     {
1152       "name" : "disable",
1153       "desc" : "Disable this component.",
1154       "isStatic" : false,
1155       "isConstructor" : false,
1156       "isPrivate" : false,
1157       "memberOf" : "Roo.Component",
1158       "example" : "",
1159       "deprecated" : "",
1160       "since" : "",
1161       "see" : "",
1162       "params" : [],
1163       "returns" : [
1164         {
1165           "name" : "",
1166           "type" : "Roo.Component",
1167           "desc" : "this"
1168         }
1169       ]
1170     },
1171     {
1172       "name" : "getEl",
1173       "desc" : "Returns the underlying {@link Roo.Element}.",
1174       "isStatic" : false,
1175       "isConstructor" : false,
1176       "isPrivate" : false,
1177       "memberOf" : "Roo.Component",
1178       "example" : "",
1179       "deprecated" : "",
1180       "since" : "",
1181       "see" : "",
1182       "params" : [],
1183       "returns" : [
1184         {
1185           "name" : "",
1186           "type" : "Roo.Element",
1187           "desc" : "The element"
1188         }
1189       ]
1190     },
1191     {
1192       "name" : "purgeListeners",
1193       "desc" : "Removes all listeners for this object",
1194       "isStatic" : false,
1195       "isConstructor" : false,
1196       "isPrivate" : false,
1197       "memberOf" : "Roo.util.Observable",
1198       "example" : "",
1199       "deprecated" : "",
1200       "since" : "",
1201       "see" : "",
1202       "params" : [],
1203       "returns" : []
1204     },
1205     {
1206       "name" : "on",
1207       "desc" : "Appends an event handler to this element (shorthand for addListener)",
1208       "isStatic" : false,
1209       "isConstructor" : false,
1210       "isPrivate" : false,
1211       "memberOf" : "Roo.util.Observable",
1212       "example" : "",
1213       "deprecated" : "",
1214       "since" : "",
1215       "see" : "",
1216       "params" : [
1217         {
1218           "name" : "eventName",
1219           "type" : "String",
1220           "desc" : "The type of event to listen for",
1221           "isOptional" : false
1222         },
1223         {
1224           "name" : "handler",
1225           "type" : "Function",
1226           "desc" : "The method the event invokes",
1227           "isOptional" : false
1228         },
1229         {
1230           "name" : "scope",
1231           "type" : "Object",
1232           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1233           "isOptional" : false
1234         },
1235         {
1236           "name" : "options",
1237           "type" : "Object",
1238           "desc" : "(optional)",
1239           "isOptional" : false
1240         }
1241       ],
1242       "returns" : []
1243     },
1244     {
1245       "name" : "un",
1246       "desc" : "Removes a listener (shorthand for removeListener)",
1247       "isStatic" : false,
1248       "isConstructor" : false,
1249       "isPrivate" : false,
1250       "memberOf" : "Roo.util.Observable",
1251       "example" : "",
1252       "deprecated" : "",
1253       "since" : "",
1254       "see" : "",
1255       "params" : [
1256         {
1257           "name" : "eventName",
1258           "type" : "String",
1259           "desc" : "The type of event to listen for",
1260           "isOptional" : false
1261         },
1262         {
1263           "name" : "handler",
1264           "type" : "Function",
1265           "desc" : "The handler to remove",
1266           "isOptional" : false
1267         },
1268         {
1269           "name" : "scope",
1270           "type" : "Object",
1271           "desc" : "(optional) The scope (this object) for the handler",
1272           "isOptional" : false
1273         }
1274       ],
1275       "returns" : []
1276     },
1277     {
1278       "name" : "addEvents",
1279       "desc" : "Used to define events on this Observable",
1280       "isStatic" : false,
1281       "isConstructor" : false,
1282       "isPrivate" : false,
1283       "memberOf" : "Roo.util.Observable",
1284       "example" : "",
1285       "deprecated" : "",
1286       "since" : "",
1287       "see" : "",
1288       "params" : [
1289         {
1290           "name" : "object",
1291           "type" : "Object",
1292           "desc" : "The object with the events defined",
1293           "isOptional" : false
1294         }
1295       ],
1296       "returns" : []
1297     },
1298     {
1299       "name" : "releaseCapture",
1300       "desc" : "Removes <b>all</b> added captures from the Observable.",
1301       "isStatic" : true,
1302       "isConstructor" : false,
1303       "isPrivate" : false,
1304       "memberOf" : "Roo.util.Observable",
1305       "example" : "",
1306       "deprecated" : "",
1307       "since" : "",
1308       "see" : "",
1309       "params" : [
1310         {
1311           "name" : "o",
1312           "type" : "Observable",
1313           "desc" : "The Observable to release",
1314           "isOptional" : false
1315         }
1316       ],
1317       "returns" : []
1318     },
1319     {
1320       "name" : "removeListener",
1321       "desc" : "Removes a listener",
1322       "isStatic" : false,
1323       "isConstructor" : false,
1324       "isPrivate" : false,
1325       "memberOf" : "Roo.util.Observable",
1326       "example" : "",
1327       "deprecated" : "",
1328       "since" : "",
1329       "see" : "",
1330       "params" : [
1331         {
1332           "name" : "eventName",
1333           "type" : "String",
1334           "desc" : "The type of event to listen for",
1335           "isOptional" : false
1336         },
1337         {
1338           "name" : "handler",
1339           "type" : "Function",
1340           "desc" : "The handler to remove",
1341           "isOptional" : false
1342         },
1343         {
1344           "name" : "scope",
1345           "type" : "Object",
1346           "desc" : "(optional) The scope (this object) for the handler",
1347           "isOptional" : false
1348         }
1349       ],
1350       "returns" : []
1351     },
1352     {
1353       "name" : "fireEvent",
1354       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1355       "isStatic" : false,
1356       "isConstructor" : false,
1357       "isPrivate" : false,
1358       "memberOf" : "Roo.util.Observable",
1359       "example" : "",
1360       "deprecated" : "",
1361       "since" : "",
1362       "see" : "",
1363       "params" : [
1364         {
1365           "name" : "eventName",
1366           "type" : "String",
1367           "desc" : "",
1368           "isOptional" : false
1369         },
1370         {
1371           "name" : "args",
1372           "type" : "Object...",
1373           "desc" : "Variable number of parameters are passed to handlers",
1374           "isOptional" : false
1375         }
1376       ],
1377       "returns" : [
1378         {
1379           "name" : "",
1380           "type" : "Boolean",
1381           "desc" : "returns false if any of the handlers return false otherwise it returns true"
1382         }
1383       ]
1384     },
1385     {
1386       "name" : "hasListener",
1387       "desc" : "Checks to see if this object has any listeners for a specified event",
1388       "isStatic" : false,
1389       "isConstructor" : false,
1390       "isPrivate" : false,
1391       "memberOf" : "Roo.util.Observable",
1392       "example" : "",
1393       "deprecated" : "",
1394       "since" : "",
1395       "see" : "",
1396       "params" : [
1397         {
1398           "name" : "eventName",
1399           "type" : "String",
1400           "desc" : "The name of the event to check for",
1401           "isOptional" : false
1402         }
1403       ],
1404       "returns" : [
1405         {
1406           "name" : "",
1407           "type" : "Boolean",
1408           "desc" : "True if the event is being listened for, else false"
1409         }
1410       ]
1411     },
1412     {
1413       "name" : "capture",
1414       "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.",
1415       "isStatic" : true,
1416       "isConstructor" : false,
1417       "isPrivate" : false,
1418       "memberOf" : "Roo.util.Observable",
1419       "example" : "",
1420       "deprecated" : "",
1421       "since" : "",
1422       "see" : "",
1423       "params" : [
1424         {
1425           "name" : "o",
1426           "type" : "Observable",
1427           "desc" : "The Observable to capture",
1428           "isOptional" : false
1429         },
1430         {
1431           "name" : "fn",
1432           "type" : "Function",
1433           "desc" : "The function to call",
1434           "isOptional" : false
1435         },
1436         {
1437           "name" : "scope",
1438           "type" : "Object",
1439           "desc" : "(optional) The scope (this object) for the fn",
1440           "isOptional" : false
1441         }
1442       ],
1443       "returns" : []
1444     },
1445     {
1446       "name" : "addListener",
1447       "desc" : "Appends an event handler to this component",
1448       "isStatic" : false,
1449       "isConstructor" : false,
1450       "isPrivate" : false,
1451       "memberOf" : "Roo.util.Observable",
1452       "example" : "",
1453       "deprecated" : "",
1454       "since" : "",
1455       "see" : "",
1456       "params" : [
1457         {
1458           "name" : "eventName",
1459           "type" : "String",
1460           "desc" : "The type of event to listen for",
1461           "isOptional" : false
1462         },
1463         {
1464           "name" : "handler",
1465           "type" : "Function",
1466           "desc" : "The method the event invokes",
1467           "isOptional" : false
1468         },
1469         {
1470           "name" : "scope",
1471           "type" : "Object",
1472           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1473           "isOptional" : false
1474         },
1475         {
1476           "name" : "options",
1477           "type" : "Object",
1478           "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>",
1479           "isOptional" : false
1480         }
1481       ],
1482       "returns" : []
1483     }
1484   ],
1485   "events" : [
1486     {
1487       "name" : "autosize",
1488       "desc" : "Fires when the autosize function is triggered.  The field may or may not have actually changed size\naccording to the default logic, but this event provides a hook for the developer to apply additional\nlogic at runtime to resize the field if needed.",
1489       "memberOf" : "Roo.form.TextField",
1490       "example" : "",
1491       "deprecated" : "",
1492       "since" : "",
1493       "see" : "",
1494       "params" : [
1495         {
1496           "name" : "this",
1497           "type" : "Roo.form.Field",
1498           "desc" : "This text field",
1499           "isOptional" : false
1500         },
1501         {
1502           "name" : "width",
1503           "type" : "Number",
1504           "desc" : "The new field width",
1505           "isOptional" : false
1506         }
1507       ],
1508       "returns" : []
1509     },
1510     {
1511       "name" : "blur",
1512       "desc" : "Fires when this field loses input focus.",
1513       "memberOf" : "Roo.form.Field",
1514       "example" : "",
1515       "deprecated" : "",
1516       "since" : "",
1517       "see" : "",
1518       "params" : [
1519         {
1520           "name" : "this",
1521           "type" : "Roo.form.Field",
1522           "desc" : "",
1523           "isOptional" : false
1524         }
1525       ],
1526       "returns" : []
1527     },
1528     {
1529       "name" : "valid",
1530       "desc" : "Fires after the field has been validated with no errors.",
1531       "memberOf" : "Roo.form.Field",
1532       "example" : "",
1533       "deprecated" : "",
1534       "since" : "",
1535       "see" : "",
1536       "params" : [
1537         {
1538           "name" : "this",
1539           "type" : "Roo.form.Field",
1540           "desc" : "",
1541           "isOptional" : false
1542         }
1543       ],
1544       "returns" : []
1545     },
1546     {
1547       "name" : "specialkey",
1548       "desc" : "Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.  You can check\n{@link Roo.EventObject#getKey} to determine which key was pressed.",
1549       "memberOf" : "Roo.form.Field",
1550       "example" : "",
1551       "deprecated" : "",
1552       "since" : "",
1553       "see" : "",
1554       "params" : [
1555         {
1556           "name" : "this",
1557           "type" : "Roo.form.Field",
1558           "desc" : "",
1559           "isOptional" : false
1560         },
1561         {
1562           "name" : "e",
1563           "type" : "Roo.EventObject",
1564           "desc" : "The event object",
1565           "isOptional" : false
1566         }
1567       ],
1568       "returns" : []
1569     },
1570     {
1571       "name" : "focus",
1572       "desc" : "Fires when this field receives input focus.",
1573       "memberOf" : "Roo.form.Field",
1574       "example" : "",
1575       "deprecated" : "",
1576       "since" : "",
1577       "see" : "",
1578       "params" : [
1579         {
1580           "name" : "this",
1581           "type" : "Roo.form.Field",
1582           "desc" : "",
1583           "isOptional" : false
1584         }
1585       ],
1586       "returns" : []
1587     },
1588     {
1589       "name" : "keyup",
1590       "desc" : "Fires after the key up",
1591       "memberOf" : "Roo.form.Field",
1592       "example" : "",
1593       "deprecated" : "",
1594       "since" : "",
1595       "see" : "",
1596       "params" : [
1597         {
1598           "name" : "this",
1599           "type" : "Roo.form.Field",
1600           "desc" : "",
1601           "isOptional" : false
1602         },
1603         {
1604           "name" : "e",
1605           "type" : "Roo.EventObject",
1606           "desc" : "The event Object",
1607           "isOptional" : false
1608         }
1609       ],
1610       "returns" : []
1611     },
1612     {
1613       "name" : "invalid",
1614       "desc" : "Fires after the field has been marked as invalid.",
1615       "memberOf" : "Roo.form.Field",
1616       "example" : "",
1617       "deprecated" : "",
1618       "since" : "",
1619       "see" : "",
1620       "params" : [
1621         {
1622           "name" : "this",
1623           "type" : "Roo.form.Field",
1624           "desc" : "",
1625           "isOptional" : false
1626         },
1627         {
1628           "name" : "msg",
1629           "type" : "String",
1630           "desc" : "The validation message",
1631           "isOptional" : false
1632         }
1633       ],
1634       "returns" : []
1635     },
1636     {
1637       "name" : "change",
1638       "desc" : "Fires just before the field blurs if the field value has changed.",
1639       "memberOf" : "Roo.form.Field",
1640       "example" : "",
1641       "deprecated" : "",
1642       "since" : "",
1643       "see" : "",
1644       "params" : [
1645         {
1646           "name" : "this",
1647           "type" : "Roo.form.Field",
1648           "desc" : "",
1649           "isOptional" : false
1650         },
1651         {
1652           "name" : "newValue",
1653           "type" : "Mixed",
1654           "desc" : "The new value",
1655           "isOptional" : false
1656         },
1657         {
1658           "name" : "oldValue",
1659           "type" : "Mixed",
1660           "desc" : "The original value",
1661           "isOptional" : false
1662         }
1663       ],
1664       "returns" : []
1665     },
1666     {
1667       "name" : "move",
1668       "desc" : "Fires after the component is moved.",
1669       "memberOf" : "Roo.BoxComponent",
1670       "example" : "",
1671       "deprecated" : "",
1672       "since" : "",
1673       "see" : "",
1674       "params" : [
1675         {
1676           "name" : "this",
1677           "type" : "Roo.Component",
1678           "desc" : "",
1679           "isOptional" : false
1680         },
1681         {
1682           "name" : "x",
1683           "type" : "Number",
1684           "desc" : "The new x position",
1685           "isOptional" : false
1686         },
1687         {
1688           "name" : "y",
1689           "type" : "Number",
1690           "desc" : "The new y position",
1691           "isOptional" : false
1692         }
1693       ],
1694       "returns" : []
1695     },
1696     {
1697       "name" : "resize",
1698       "desc" : "Fires after the component is resized.",
1699       "memberOf" : "Roo.BoxComponent",
1700       "example" : "",
1701       "deprecated" : "",
1702       "since" : "",
1703       "see" : "",
1704       "params" : [
1705         {
1706           "name" : "this",
1707           "type" : "Roo.Component",
1708           "desc" : "",
1709           "isOptional" : false
1710         },
1711         {
1712           "name" : "adjWidth",
1713           "type" : "Number",
1714           "desc" : "The box-adjusted width that was set",
1715           "isOptional" : false
1716         },
1717         {
1718           "name" : "adjHeight",
1719           "type" : "Number",
1720           "desc" : "The box-adjusted height that was set",
1721           "isOptional" : false
1722         },
1723         {
1724           "name" : "rawWidth",
1725           "type" : "Number",
1726           "desc" : "The width that was originally specified",
1727           "isOptional" : false
1728         },
1729         {
1730           "name" : "rawHeight",
1731           "type" : "Number",
1732           "desc" : "The height that was originally specified",
1733           "isOptional" : false
1734         }
1735       ],
1736       "returns" : []
1737     },
1738     {
1739       "name" : "beforerender",
1740       "desc" : "Fires before the component is rendered. Return false to stop the render.",
1741       "memberOf" : "Roo.Component",
1742       "example" : "",
1743       "deprecated" : "",
1744       "since" : "",
1745       "see" : "",
1746       "params" : [
1747         {
1748           "name" : "this",
1749           "type" : "Roo.Component",
1750           "desc" : "",
1751           "isOptional" : false
1752         }
1753       ],
1754       "returns" : []
1755     },
1756     {
1757       "name" : "disable",
1758       "desc" : "Fires after the component is disabled.",
1759       "memberOf" : "Roo.Component",
1760       "example" : "",
1761       "deprecated" : "",
1762       "since" : "",
1763       "see" : "",
1764       "params" : [
1765         {
1766           "name" : "this",
1767           "type" : "Roo.Component",
1768           "desc" : "",
1769           "isOptional" : false
1770         }
1771       ],
1772       "returns" : []
1773     },
1774     {
1775       "name" : "render",
1776       "desc" : "Fires after the component is rendered.",
1777       "memberOf" : "Roo.Component",
1778       "example" : "",
1779       "deprecated" : "",
1780       "since" : "",
1781       "see" : "",
1782       "params" : [
1783         {
1784           "name" : "this",
1785           "type" : "Roo.Component",
1786           "desc" : "",
1787           "isOptional" : false
1788         }
1789       ],
1790       "returns" : []
1791     },
1792     {
1793       "name" : "destroy",
1794       "desc" : "Fires after the component is destroyed.",
1795       "memberOf" : "Roo.Component",
1796       "example" : "",
1797       "deprecated" : "",
1798       "since" : "",
1799       "see" : "",
1800       "params" : [
1801         {
1802           "name" : "this",
1803           "type" : "Roo.Component",
1804           "desc" : "",
1805           "isOptional" : false
1806         }
1807       ],
1808       "returns" : []
1809     },
1810     {
1811       "name" : "hide",
1812       "desc" : "Fires after the component is hidden.",
1813       "memberOf" : "Roo.Component",
1814       "example" : "",
1815       "deprecated" : "",
1816       "since" : "",
1817       "see" : "",
1818       "params" : [
1819         {
1820           "name" : "this",
1821           "type" : "Roo.Component",
1822           "desc" : "",
1823           "isOptional" : false
1824         }
1825       ],
1826       "returns" : []
1827     },
1828     {
1829       "name" : "beforehide",
1830       "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1831       "memberOf" : "Roo.Component",
1832       "example" : "",
1833       "deprecated" : "",
1834       "since" : "",
1835       "see" : "",
1836       "params" : [
1837         {
1838           "name" : "this",
1839           "type" : "Roo.Component",
1840           "desc" : "",
1841           "isOptional" : false
1842         }
1843       ],
1844       "returns" : []
1845     },
1846     {
1847       "name" : "show",
1848       "desc" : "Fires after the component is shown.",
1849       "memberOf" : "Roo.Component",
1850       "example" : "",
1851       "deprecated" : "",
1852       "since" : "",
1853       "see" : "",
1854       "params" : [
1855         {
1856           "name" : "this",
1857           "type" : "Roo.Component",
1858           "desc" : "",
1859           "isOptional" : false
1860         }
1861       ],
1862       "returns" : []
1863     },
1864     {
1865       "name" : "beforeshow",
1866       "desc" : "Fires before the component is shown.  Return false to stop the show.",
1867       "memberOf" : "Roo.Component",
1868       "example" : "",
1869       "deprecated" : "",
1870       "since" : "",
1871       "see" : "",
1872       "params" : [
1873         {
1874           "name" : "this",
1875           "type" : "Roo.Component",
1876           "desc" : "",
1877           "isOptional" : false
1878         }
1879       ],
1880       "returns" : []
1881     },
1882     {
1883       "name" : "enable",
1884       "desc" : "Fires after the component is enabled.",
1885       "memberOf" : "Roo.Component",
1886       "example" : "",
1887       "deprecated" : "",
1888       "since" : "",
1889       "see" : "",
1890       "params" : [
1891         {
1892           "name" : "this",
1893           "type" : "Roo.Component",
1894           "desc" : "",
1895           "isOptional" : false
1896         }
1897       ],
1898       "returns" : []
1899     },
1900     {
1901       "name" : "beforedestroy",
1902       "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1903       "memberOf" : "Roo.Component",
1904       "example" : "",
1905       "deprecated" : "",
1906       "since" : "",
1907       "see" : "",
1908       "params" : [
1909         {
1910           "name" : "this",
1911           "type" : "Roo.Component",
1912           "desc" : "",
1913           "isOptional" : false
1914         }
1915       ],
1916       "returns" : []
1917     }
1918   ]
1919 }