sync
[roojs1] / docs / symbols / Roo.UpdateManager.json
1 {
2   "name" : "Roo.UpdateManager",
3   "augments" : [
4     "Roo.util.Observable"
5   ],
6   "childClasses" : [],
7   "desc" : "Provides AJAX-style update for Element object.<br><br>\nUsage:<br>\n<pre><code>\n// Get it from a Roo.Element object\nvar el = Roo.get(\"foo\");\nvar mgr = el.getUpdateManager();\nmgr.update(\"http://myserver.com/index.php\", \"param1=1&amp;param2=2\");\n...\nmgr.formUpdate(\"myFormId\", \"http://myserver.com/index.php\");\n<br>\n// or directly (returns the same UpdateManager instance)\nvar mgr = new Roo.UpdateManager(\"myElementId\");\nmgr.startAutoRefresh(60, \"http://myserver.com/index.php\");\nmgr.on(\"update\", myFcnNeedsToKnow);\n<br>\n   // short handed call directly from the element object\n   Roo.get(\"foo\").load({\n        url: \"bar.php\",\n        scripts:true,\n        params: \"for=bar\",\n        text: \"Loading Foo...\"\n   });\n</code></pre>",
8   "isSingleton" : false,
9   "isStatic" : false,
10   "isBuiltin" : false,
11   "memberOf" : "UpdateManager",
12   "example" : "",
13   "deprecated" : "",
14   "since" : "",
15   "see" : "",
16   "params" : [
17     {
18       "name" : "el",
19       "type" : "String/HTMLElement/Roo.Element",
20       "desc" : "The element to update",
21       "isOptional" : false
22     },
23     {
24       "name" : "forceNew",
25       "type" : "Boolean",
26       "desc" : "(optional) By default the constructor checks to see if the passed element already has an UpdateManager and if it does it returns the same instance. This will skip that check (useful for extending this class).",
27       "isOptional" : false
28     }
29   ],
30   "returns" : [],
31   "throws" : "",
32   "requires" : "",
33   "config" : [
34     {
35       "name" : "listeners",
36       "type" : "Object",
37       "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>",
38       "memberOf" : "Roo.util.Observable"
39     }
40   ],
41   "methods" : [
42     {
43       "name" : "update",
44       "type" : "function",
45       "desc" : "Performs an async request, updating this element with the response. If params are specified it uses POST, otherwise it uses GET.",
46       "sig" : "(url, params, callback, discardUrl)",
47       "static" : false,
48       "memberOf" : "",
49       "isStatic" : false,
50       "isConstructor" : false,
51       "isPrivate" : false,
52       "example" : "",
53       "deprecated" : "",
54       "since" : "",
55       "see" : "",
56       "exceptions" : "",
57       "requires" : "",
58       "params" : [
59         {
60           "name" : "url",
61           "type" : "Object/String/Function",
62           "desc" : "The url for this request or a function to call to get the url or a config object containing any of the following options:\n<pre><code>\num.update({<br/>\n    url: \"your-url.php\",<br/>\n    params: {param1: \"foo\", param2: \"bar\"}, // or a URL encoded string<br/>\n    callback: yourFunction,<br/>\n    scope: yourObject, //(optional scope)  <br/>\n    discardUrl: false, <br/>\n    nocache: false,<br/>\n    text: \"Loading...\",<br/>\n    timeout: 30,<br/>\n    scripts: false<br/>\n});\n</code></pre>\nThe only required property is url. The optional properties nocache, text and scripts\nare shorthand for disableCaching, indicatorText and loadScripts and are used to set their associated property on this UpdateManager instance.",
63           "isOptional" : false
64         },
65         {
66           "name" : "params",
67           "type" : "String/Object",
68           "desc" : "(optional) The parameters to pass as either a url encoded string \"param1=1&amp;param2=2\" or an object {param1: 1, param2: 2}",
69           "isOptional" : false
70         },
71         {
72           "name" : "callback",
73           "type" : "Function",
74           "desc" : "(optional) Callback when transaction is complete - called with signature (oElement, bSuccess, oResponse)",
75           "isOptional" : false
76         },
77         {
78           "name" : "discardUrl",
79           "type" : "Boolean",
80           "desc" : "(optional) By default when you execute an update the defaultUrl is changed to the last used url. If true, it will not store the url.",
81           "isOptional" : false
82         }
83       ],
84       "returns" : []
85     },
86     {
87       "name" : "showLoading",
88       "type" : "function",
89       "desc" : "Called to update the element to \"Loading\" state. Override to perform custom action.",
90       "sig" : "()\n{\n\n}",
91       "static" : false,
92       "memberOf" : "",
93       "isStatic" : false,
94       "isConstructor" : false,
95       "isPrivate" : false,
96       "example" : "",
97       "deprecated" : "",
98       "since" : "",
99       "see" : "",
100       "exceptions" : "",
101       "requires" : "",
102       "params" : [],
103       "returns" : []
104     },
105     {
106       "name" : "setDefaultUrl",
107       "type" : "function",
108       "desc" : "Set the defaultUrl used for updates",
109       "sig" : "(defaultUrl)",
110       "static" : false,
111       "memberOf" : "",
112       "isStatic" : false,
113       "isConstructor" : false,
114       "isPrivate" : false,
115       "example" : "",
116       "deprecated" : "",
117       "since" : "",
118       "see" : "",
119       "exceptions" : "",
120       "requires" : "",
121       "params" : [
122         {
123           "name" : "defaultUrl",
124           "type" : "String/Function",
125           "desc" : "The url or a function to call to get the url",
126           "isOptional" : false
127         }
128       ],
129       "returns" : []
130     },
131     {
132       "name" : "updateElement",
133       "type" : "function",
134       "desc" : "Static convenience method. This method is deprecated in favor of el.load({url:'foo.php', ...}).\nUsage:\n<pre><code>Roo.UpdateManager.updateElement(\"my-div\", \"stuff.php\");</code></pre>",
135       "sig" : "(el, url, params, options)",
136       "static" : true,
137       "memberOf" : "",
138       "isStatic" : true,
139       "isConstructor" : false,
140       "isPrivate" : false,
141       "example" : "",
142       "deprecated" : "This has been deprecated: ",
143       "since" : "",
144       "see" : "",
145       "exceptions" : "",
146       "requires" : "",
147       "params" : [
148         {
149           "name" : "el",
150           "type" : "String/HTMLElement/Roo.Element",
151           "desc" : "The element to update",
152           "isOptional" : false
153         },
154         {
155           "name" : "url",
156           "type" : "String",
157           "desc" : "The url",
158           "isOptional" : false
159         },
160         {
161           "name" : "params",
162           "type" : "String/Object",
163           "desc" : "(optional) Url encoded param string or an object of name/value pairs",
164           "isOptional" : false
165         },
166         {
167           "name" : "options",
168           "type" : "Object",
169           "desc" : "(optional) A config object with any of the UpdateManager properties you want to set - for example: {disableCaching:true, indicatorText: \"Loading data...\"}",
170           "isOptional" : false
171         }
172       ],
173       "returns" : []
174     },
175     {
176       "name" : "refresh",
177       "type" : "function",
178       "desc" : "Refresh the element with the last used url or defaultUrl. If there is no url, it returns immediately",
179       "sig" : "(callback)",
180       "static" : false,
181       "memberOf" : "",
182       "isStatic" : false,
183       "isConstructor" : false,
184       "isPrivate" : false,
185       "example" : "",
186       "deprecated" : "",
187       "since" : "",
188       "see" : "",
189       "exceptions" : "",
190       "requires" : "",
191       "params" : [
192         {
193           "name" : "callback",
194           "type" : "Function",
195           "desc" : "(optional) Callback when transaction is complete - called with signature (oElement, bSuccess)",
196           "isOptional" : false
197         }
198       ],
199       "returns" : []
200     },
201     {
202       "name" : "getEl",
203       "type" : "function",
204       "desc" : "Get the Element this UpdateManager is bound to",
205       "sig" : "()\n{\n\n}",
206       "static" : false,
207       "memberOf" : "",
208       "isStatic" : false,
209       "isConstructor" : false,
210       "isPrivate" : false,
211       "example" : "",
212       "deprecated" : "",
213       "since" : "",
214       "see" : "",
215       "exceptions" : "",
216       "requires" : "",
217       "params" : [],
218       "returns" : [
219         {
220           "name" : "",
221           "type" : "Roo.Element",
222           "desc" : "The element"
223         }
224       ]
225     },
226     {
227       "name" : "isUpdating",
228       "type" : "function",
229       "desc" : "Returns true if an update is in progress",
230       "sig" : "()\n{\n\n}",
231       "static" : false,
232       "memberOf" : "",
233       "isStatic" : false,
234       "isConstructor" : false,
235       "isPrivate" : false,
236       "example" : "",
237       "deprecated" : "",
238       "since" : "",
239       "see" : "",
240       "exceptions" : "",
241       "requires" : "",
242       "params" : [],
243       "returns" : [
244         {
245           "name" : "",
246           "type" : "Boolean",
247           "desc" : ""
248         }
249       ]
250     },
251     {
252       "name" : "stopAutoRefresh",
253       "type" : "function",
254       "desc" : "Stop auto refresh on this element.",
255       "sig" : "()\n{\n\n}",
256       "static" : false,
257       "memberOf" : "",
258       "isStatic" : false,
259       "isConstructor" : false,
260       "isPrivate" : false,
261       "example" : "",
262       "deprecated" : "",
263       "since" : "",
264       "see" : "",
265       "exceptions" : "",
266       "requires" : "",
267       "params" : [],
268       "returns" : []
269     },
270     {
271       "name" : "startAutoRefresh",
272       "type" : "function",
273       "desc" : "Set this element to auto refresh.",
274       "sig" : "(interval, url, params, callback, refreshNow)",
275       "static" : false,
276       "memberOf" : "",
277       "isStatic" : false,
278       "isConstructor" : false,
279       "isPrivate" : false,
280       "example" : "",
281       "deprecated" : "",
282       "since" : "",
283       "see" : "",
284       "exceptions" : "",
285       "requires" : "",
286       "params" : [
287         {
288           "name" : "interval",
289           "type" : "Number",
290           "desc" : "How often to update (in seconds).",
291           "isOptional" : false
292         },
293         {
294           "name" : "url",
295           "type" : "String/Function",
296           "desc" : "(optional) The url for this request or a function to call to get the url (Defaults to the last used url)",
297           "isOptional" : false
298         },
299         {
300           "name" : "params",
301           "type" : "String/Object",
302           "desc" : "(optional) The parameters to pass as either a url encoded string \"&param1=1&param2=2\" or as an object {param1: 1, param2: 2}",
303           "isOptional" : false
304         },
305         {
306           "name" : "callback",
307           "type" : "Function",
308           "desc" : "(optional) Callback when transaction is complete - called with signature (oElement, bSuccess)",
309           "isOptional" : false
310         },
311         {
312           "name" : "refreshNow",
313           "type" : "Boolean",
314           "desc" : "(optional) Whether to execute the refresh now, or wait the interval",
315           "isOptional" : false
316         }
317       ],
318       "returns" : []
319     },
320     {
321       "name" : "abort",
322       "type" : "function",
323       "desc" : "Aborts the executing transaction",
324       "sig" : "()\n{\n\n}",
325       "static" : false,
326       "memberOf" : "",
327       "isStatic" : false,
328       "isConstructor" : false,
329       "isPrivate" : false,
330       "example" : "",
331       "deprecated" : "",
332       "since" : "",
333       "see" : "",
334       "exceptions" : "",
335       "requires" : "",
336       "params" : [],
337       "returns" : []
338     },
339     {
340       "name" : "setRenderer",
341       "type" : "function",
342       "desc" : "Set the content renderer for this UpdateManager. See {@link Roo.UpdateManager.BasicRenderer#render} for more details.",
343       "sig" : "(renderer)",
344       "static" : false,
345       "memberOf" : "",
346       "isStatic" : false,
347       "isConstructor" : false,
348       "isPrivate" : false,
349       "example" : "",
350       "deprecated" : "",
351       "since" : "",
352       "see" : "",
353       "exceptions" : "",
354       "requires" : "",
355       "params" : [
356         {
357           "name" : "renderer",
358           "type" : "Object",
359           "desc" : "The object implementing the render() method",
360           "isOptional" : false
361         }
362       ],
363       "returns" : []
364     },
365     {
366       "name" : "formUpdate",
367       "type" : "function",
368       "desc" : "Performs an async form post, updating this element with the response. If the form has the attribute enctype=\"multipart/form-data\", it assumes it's a file upload.\nUses this.sslBlankUrl for SSL file uploads to prevent IE security warning.",
369       "sig" : "(form, url, reset, callback)",
370       "static" : false,
371       "memberOf" : "",
372       "isStatic" : false,
373       "isConstructor" : false,
374       "isPrivate" : false,
375       "example" : "",
376       "deprecated" : "",
377       "since" : "",
378       "see" : "",
379       "exceptions" : "",
380       "requires" : "",
381       "params" : [
382         {
383           "name" : "form",
384           "type" : "String/HTMLElement",
385           "desc" : "The form Id or form element",
386           "isOptional" : false
387         },
388         {
389           "name" : "url",
390           "type" : "String",
391           "desc" : "(optional) The url to pass the form to. If omitted the action attribute on the form will be used.",
392           "isOptional" : false
393         },
394         {
395           "name" : "reset",
396           "type" : "Boolean",
397           "desc" : "(optional) Whether to try to reset the form after the update",
398           "isOptional" : false
399         },
400         {
401           "name" : "callback",
402           "type" : "Function",
403           "desc" : "(optional) Callback when transaction is complete - called with signature (oElement, bSuccess, oResponse)",
404           "isOptional" : false
405         }
406       ],
407       "returns" : []
408     },
409     {
410       "name" : "purgeListeners",
411       "type" : "function",
412       "desc" : "Removes all listeners for this object",
413       "sig" : "()\n{\n\n}",
414       "static" : false,
415       "memberOf" : "Roo.util.Observable",
416       "isStatic" : false,
417       "isConstructor" : false,
418       "isPrivate" : false,
419       "example" : "",
420       "deprecated" : "",
421       "since" : "",
422       "see" : "",
423       "exceptions" : "",
424       "requires" : "",
425       "params" : [],
426       "returns" : []
427     },
428     {
429       "name" : "on",
430       "type" : "function",
431       "desc" : "Appends an event handler to this element (shorthand for addListener)",
432       "sig" : "(eventName, handler, scope, options)",
433       "static" : false,
434       "memberOf" : "Roo.util.Observable",
435       "isStatic" : false,
436       "isConstructor" : false,
437       "isPrivate" : false,
438       "example" : "",
439       "deprecated" : "",
440       "since" : "",
441       "see" : "",
442       "exceptions" : "",
443       "requires" : "",
444       "params" : [
445         {
446           "name" : "eventName",
447           "type" : "String",
448           "desc" : "The type of event to listen for",
449           "isOptional" : false
450         },
451         {
452           "name" : "handler",
453           "type" : "Function",
454           "desc" : "The method the event invokes",
455           "isOptional" : false
456         },
457         {
458           "name" : "scope",
459           "type" : "Object",
460           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
461           "isOptional" : false
462         },
463         {
464           "name" : "options",
465           "type" : "Object",
466           "desc" : "(optional)",
467           "isOptional" : false
468         }
469       ],
470       "returns" : []
471     },
472     {
473       "name" : "un",
474       "type" : "function",
475       "desc" : "Removes a listener (shorthand for removeListener)",
476       "sig" : "(eventName, handler, scope)",
477       "static" : false,
478       "memberOf" : "Roo.util.Observable",
479       "isStatic" : false,
480       "isConstructor" : false,
481       "isPrivate" : false,
482       "example" : "",
483       "deprecated" : "",
484       "since" : "",
485       "see" : "",
486       "exceptions" : "",
487       "requires" : "",
488       "params" : [
489         {
490           "name" : "eventName",
491           "type" : "String",
492           "desc" : "The type of event to listen for",
493           "isOptional" : false
494         },
495         {
496           "name" : "handler",
497           "type" : "Function",
498           "desc" : "The handler to remove",
499           "isOptional" : false
500         },
501         {
502           "name" : "scope",
503           "type" : "Object",
504           "desc" : "(optional) The scope (this object) for the handler",
505           "isOptional" : false
506         }
507       ],
508       "returns" : []
509     },
510     {
511       "name" : "addEvents",
512       "type" : "function",
513       "desc" : "Used to define events on this Observable",
514       "sig" : "(object)",
515       "static" : false,
516       "memberOf" : "Roo.util.Observable",
517       "isStatic" : false,
518       "isConstructor" : false,
519       "isPrivate" : false,
520       "example" : "",
521       "deprecated" : "",
522       "since" : "",
523       "see" : "",
524       "exceptions" : "",
525       "requires" : "",
526       "params" : [
527         {
528           "name" : "object",
529           "type" : "Object",
530           "desc" : "The object with the events defined",
531           "isOptional" : false
532         }
533       ],
534       "returns" : []
535     },
536     {
537       "name" : "releaseCapture",
538       "type" : "function",
539       "desc" : "Removes <b>all</b> added captures from the Observable.",
540       "sig" : "(o)",
541       "static" : true,
542       "memberOf" : "Roo.util.Observable",
543       "isStatic" : true,
544       "isConstructor" : false,
545       "isPrivate" : false,
546       "example" : "",
547       "deprecated" : "",
548       "since" : "",
549       "see" : "",
550       "exceptions" : "",
551       "requires" : "",
552       "params" : [
553         {
554           "name" : "o",
555           "type" : "Observable",
556           "desc" : "The Observable to release",
557           "isOptional" : false
558         }
559       ],
560       "returns" : []
561     },
562     {
563       "name" : "removeListener",
564       "type" : "function",
565       "desc" : "Removes a listener",
566       "sig" : "(eventName, handler, scope)",
567       "static" : false,
568       "memberOf" : "Roo.util.Observable",
569       "isStatic" : false,
570       "isConstructor" : false,
571       "isPrivate" : false,
572       "example" : "",
573       "deprecated" : "",
574       "since" : "",
575       "see" : "",
576       "exceptions" : "",
577       "requires" : "",
578       "params" : [
579         {
580           "name" : "eventName",
581           "type" : "String",
582           "desc" : "The type of event to listen for",
583           "isOptional" : false
584         },
585         {
586           "name" : "handler",
587           "type" : "Function",
588           "desc" : "The handler to remove",
589           "isOptional" : false
590         },
591         {
592           "name" : "scope",
593           "type" : "Object",
594           "desc" : "(optional) The scope (this object) for the handler",
595           "isOptional" : false
596         }
597       ],
598       "returns" : []
599     },
600     {
601       "name" : "fireEvent",
602       "type" : "function",
603       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
604       "sig" : "(eventName, args)",
605       "static" : false,
606       "memberOf" : "Roo.util.Observable",
607       "isStatic" : false,
608       "isConstructor" : false,
609       "isPrivate" : false,
610       "example" : "",
611       "deprecated" : "",
612       "since" : "",
613       "see" : "",
614       "exceptions" : "",
615       "requires" : "",
616       "params" : [
617         {
618           "name" : "eventName",
619           "type" : "String",
620           "desc" : "",
621           "isOptional" : false
622         },
623         {
624           "name" : "args",
625           "type" : "Object...",
626           "desc" : "Variable number of parameters are passed to handlers",
627           "isOptional" : false
628         }
629       ],
630       "returns" : [
631         {
632           "name" : "",
633           "type" : "Boolean",
634           "desc" : "returns false if any of the handlers return false otherwise it returns true"
635         }
636       ]
637     },
638     {
639       "name" : "hasListener",
640       "type" : "function",
641       "desc" : "Checks to see if this object has any listeners for a specified event",
642       "sig" : "(eventName)",
643       "static" : false,
644       "memberOf" : "Roo.util.Observable",
645       "isStatic" : false,
646       "isConstructor" : false,
647       "isPrivate" : false,
648       "example" : "",
649       "deprecated" : "",
650       "since" : "",
651       "see" : "",
652       "exceptions" : "",
653       "requires" : "",
654       "params" : [
655         {
656           "name" : "eventName",
657           "type" : "String",
658           "desc" : "The name of the event to check for",
659           "isOptional" : false
660         }
661       ],
662       "returns" : [
663         {
664           "name" : "",
665           "type" : "Boolean",
666           "desc" : "True if the event is being listened for, else false"
667         }
668       ]
669     },
670     {
671       "name" : "capture",
672       "type" : "function",
673       "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.",
674       "sig" : "(o, fn, scope)",
675       "static" : true,
676       "memberOf" : "Roo.util.Observable",
677       "isStatic" : true,
678       "isConstructor" : false,
679       "isPrivate" : false,
680       "example" : "",
681       "deprecated" : "",
682       "since" : "",
683       "see" : "",
684       "exceptions" : "",
685       "requires" : "",
686       "params" : [
687         {
688           "name" : "o",
689           "type" : "Observable",
690           "desc" : "The Observable to capture",
691           "isOptional" : false
692         },
693         {
694           "name" : "fn",
695           "type" : "Function",
696           "desc" : "The function to call",
697           "isOptional" : false
698         },
699         {
700           "name" : "scope",
701           "type" : "Object",
702           "desc" : "(optional) The scope (this object) for the fn",
703           "isOptional" : false
704         }
705       ],
706       "returns" : []
707     },
708     {
709       "name" : "addListener",
710       "type" : "function",
711       "desc" : "Appends an event handler to this component",
712       "sig" : "(eventName, handler, scope, options)",
713       "static" : false,
714       "memberOf" : "Roo.util.Observable",
715       "isStatic" : false,
716       "isConstructor" : false,
717       "isPrivate" : false,
718       "example" : "",
719       "deprecated" : "",
720       "since" : "",
721       "see" : "",
722       "exceptions" : "",
723       "requires" : "",
724       "params" : [
725         {
726           "name" : "eventName",
727           "type" : "String",
728           "desc" : "The type of event to listen for",
729           "isOptional" : false
730         },
731         {
732           "name" : "handler",
733           "type" : "Function",
734           "desc" : "The method the event invokes",
735           "isOptional" : false
736         },
737         {
738           "name" : "scope",
739           "type" : "Object",
740           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
741           "isOptional" : false
742         },
743         {
744           "name" : "options",
745           "type" : "Object",
746           "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>",
747           "isOptional" : false
748         }
749       ],
750       "returns" : []
751     }
752   ],
753   "events" : [
754     {
755       "name" : "update",
756       "type" : "function",
757       "desc" : "Fired after successful update is made.",
758       "sig" : "function (el, oResponseObject)\n{\n\n}",
759       "memberOf" : "",
760       "example" : "",
761       "deprecated" : "",
762       "since" : "",
763       "see" : "",
764       "params" : [
765         {
766           "name" : "el",
767           "type" : "Roo.Element",
768           "desc" : "",
769           "isOptional" : false
770         },
771         {
772           "name" : "oResponseObject",
773           "type" : "Object",
774           "desc" : "The response Object",
775           "isOptional" : false
776         }
777       ],
778       "returns" : []
779     },
780     {
781       "name" : "beforeupdate",
782       "type" : "function",
783       "desc" : "Fired before an update is made, return false from your handler and the update is cancelled.",
784       "sig" : "function (el, url, params)\n{\n\n}",
785       "memberOf" : "",
786       "example" : "",
787       "deprecated" : "",
788       "since" : "",
789       "see" : "",
790       "params" : [
791         {
792           "name" : "el",
793           "type" : "Roo.Element",
794           "desc" : "",
795           "isOptional" : false
796         },
797         {
798           "name" : "url",
799           "type" : "String/Object/Function",
800           "desc" : "",
801           "isOptional" : false
802         },
803         {
804           "name" : "params",
805           "type" : "String/Object",
806           "desc" : "",
807           "isOptional" : false
808         }
809       ],
810       "returns" : []
811     },
812     {
813       "name" : "failure",
814       "type" : "function",
815       "desc" : "Fired on update failure.",
816       "sig" : "function (el, oResponseObject)\n{\n\n}",
817       "memberOf" : "",
818       "example" : "",
819       "deprecated" : "",
820       "since" : "",
821       "see" : "",
822       "params" : [
823         {
824           "name" : "el",
825           "type" : "Roo.Element",
826           "desc" : "",
827           "isOptional" : false
828         },
829         {
830           "name" : "oResponseObject",
831           "type" : "Object",
832           "desc" : "The response Object",
833           "isOptional" : false
834         }
835       ],
836       "returns" : []
837     }
838   ]
839 }