2 "name" : "Roo.data.DataProxy",
7 "Roo.data.DataProxy" : [
14 "desc" : "This class is an abstract base class for implementations which provide retrieval of\nunformatted data objects.<br>\n<p>\nDataProxy implementations are usually used in conjunction with an implementation of Roo.data.DataReader\n(of the appropriate type which knows how to parse the data object) to provide a block of\n{@link Roo.data.Records} to an {@link Roo.data.Store}.<br>\n<p>\nCustom implementations must implement the load method as described in\n{@link Roo.data.HttpProxy#load}.",
15 "isSingleton" : false,
19 "isBuilderTop" : false,
20 "memberOf" : "DataProxy",
33 "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>",
34 "memberOf" : "Roo.util.Observable",
41 "name" : "purgeListeners",
43 "desc" : "Removes all listeners for this object",
46 "memberOf" : "Roo.util.Observable",
48 "isConstructor" : false,
62 "desc" : "Appends an event handler to this element (shorthand for addListener)",
63 "sig" : "(eventName, handler, scope, options)",
65 "memberOf" : "Roo.util.Observable",
67 "isConstructor" : false,
79 "desc" : "The type of event to listen for",
85 "desc" : "The method the event invokes",
91 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
97 "desc" : "(optional)",
106 "desc" : "Removes a listener (shorthand for removeListener)",
107 "sig" : "(eventName, handler, scope)",
109 "memberOf" : "Roo.util.Observable",
111 "isConstructor" : false,
121 "name" : "eventName",
123 "desc" : "The type of event to listen for",
129 "desc" : "The handler to remove",
135 "desc" : "(optional) The scope (this object) for the handler",
142 "name" : "addEvents",
144 "desc" : "Used to define events on this Observable",
147 "memberOf" : "Roo.util.Observable",
149 "isConstructor" : false,
161 "desc" : "The object with the events defined",
168 "name" : "releaseCapture",
170 "desc" : "Removes <b>all</b> added captures from the Observable.",
173 "memberOf" : "Roo.util.Observable",
175 "isConstructor" : false,
186 "type" : "Observable",
187 "desc" : "The Observable to release",
194 "name" : "removeListener",
196 "desc" : "Removes a listener",
197 "sig" : "(eventName, handler, scope)",
199 "memberOf" : "Roo.util.Observable",
201 "isConstructor" : false,
211 "name" : "eventName",
213 "desc" : "The type of event to listen for",
219 "desc" : "The handler to remove",
225 "desc" : "(optional) The scope (this object) for the handler",
232 "name" : "fireEvent",
234 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
235 "sig" : "(eventName, args)",
237 "memberOf" : "Roo.util.Observable",
239 "isConstructor" : false,
249 "name" : "eventName",
256 "type" : "Object...",
257 "desc" : "Variable number of parameters are passed to handlers",
265 "desc" : "returns false if any of the handlers return false otherwise it returns true"
270 "name" : "hasListener",
272 "desc" : "Checks to see if this object has any listeners for a specified event",
273 "sig" : "(eventName)",
275 "memberOf" : "Roo.util.Observable",
277 "isConstructor" : false,
287 "name" : "eventName",
289 "desc" : "The name of the event to check for",
297 "desc" : "True if the event is being listened for, else false"
304 "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.",
305 "sig" : "(o, fn, scope)",
307 "memberOf" : "Roo.util.Observable",
309 "isConstructor" : false,
320 "type" : "Observable",
321 "desc" : "The Observable to capture",
327 "desc" : "The function to call",
333 "desc" : "(optional) The scope (this object) for the fn",
340 "name" : "addListener",
342 "desc" : "Appends an event handler to this component",
343 "sig" : "(eventName, handler, scope, options)",
345 "memberOf" : "Roo.util.Observable",
347 "isConstructor" : false,
357 "name" : "eventName",
359 "desc" : "The type of event to listen for",
365 "desc" : "The method the event invokes",
371 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
377 "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>",
388 "desc" : "Fires before the load method's callback is called.",
389 "sig" : "function (This, o, arg)\n{\n\n}",
399 "desc" : "DataProxy object.",
405 "desc" : "The data object.",
411 "desc" : "The callback argument object passed to the load function.",
418 "name" : "beforeload",
420 "desc" : "Fires before a network request is made to retrieve a data object.",
421 "sig" : "function (This, params)\n{\n\n}",
431 "desc" : "DataProxy object.",
437 "desc" : "The params parameter to the load function.",
444 "name" : "loadexception",
446 "desc" : "Fires if an Exception occurs during data retrieval.",
447 "sig" : "function (This, o, arg, e)\n{\n\n}",
457 "desc" : "DataProxy object.",
463 "desc" : "The data object.",
469 "desc" : "The callback argument object passed to the load function.",
475 "desc" : "The Exception.",