2 "name" : "Roo.data.DataProxy",
7 "Roo.data.DataProxy" : [
13 "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}.",
14 "isSingleton" : false,
18 "isBuilderTop" : false,
19 "memberOf" : "DataProxy",
32 "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>",
33 "memberOf" : "Roo.util.Observable",
40 "name" : "purgeListeners",
42 "desc" : "Removes all listeners for this object",
45 "memberOf" : "Roo.util.Observable",
47 "isConstructor" : false,
61 "desc" : "Appends an event handler to this element (shorthand for addListener)",
62 "sig" : "(eventName, handler, scope, options)",
64 "memberOf" : "Roo.util.Observable",
66 "isConstructor" : false,
78 "desc" : "The type of event to listen for",
84 "desc" : "The method the event invokes",
90 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
96 "desc" : "(optional)",
105 "desc" : "Removes a listener (shorthand for removeListener)",
106 "sig" : "(eventName, handler, scope)",
108 "memberOf" : "Roo.util.Observable",
110 "isConstructor" : false,
120 "name" : "eventName",
122 "desc" : "The type of event to listen for",
128 "desc" : "The handler to remove",
134 "desc" : "(optional) The scope (this object) for the handler",
141 "name" : "addEvents",
143 "desc" : "Used to define events on this Observable",
146 "memberOf" : "Roo.util.Observable",
148 "isConstructor" : false,
160 "desc" : "The object with the events defined",
167 "name" : "releaseCapture",
169 "desc" : "Removes <b>all</b> added captures from the Observable.",
172 "memberOf" : "Roo.util.Observable",
174 "isConstructor" : false,
185 "type" : "Observable",
186 "desc" : "The Observable to release",
193 "name" : "removeListener",
195 "desc" : "Removes a listener",
196 "sig" : "(eventName, handler, scope)",
198 "memberOf" : "Roo.util.Observable",
200 "isConstructor" : false,
210 "name" : "eventName",
212 "desc" : "The type of event to listen for",
218 "desc" : "The handler to remove",
224 "desc" : "(optional) The scope (this object) for the handler",
231 "name" : "fireEvent",
233 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
234 "sig" : "(eventName, args)",
236 "memberOf" : "Roo.util.Observable",
238 "isConstructor" : false,
248 "name" : "eventName",
255 "type" : "Object...",
256 "desc" : "Variable number of parameters are passed to handlers",
264 "desc" : "returns false if any of the handlers return false otherwise it returns true"
269 "name" : "hasListener",
271 "desc" : "Checks to see if this object has any listeners for a specified event",
272 "sig" : "(eventName)",
274 "memberOf" : "Roo.util.Observable",
276 "isConstructor" : false,
286 "name" : "eventName",
288 "desc" : "The name of the event to check for",
296 "desc" : "True if the event is being listened for, else false"
303 "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.",
304 "sig" : "(o, fn, scope)",
306 "memberOf" : "Roo.util.Observable",
308 "isConstructor" : false,
319 "type" : "Observable",
320 "desc" : "The Observable to capture",
326 "desc" : "The function to call",
332 "desc" : "(optional) The scope (this object) for the fn",
339 "name" : "addListener",
341 "desc" : "Appends an event handler to this component",
342 "sig" : "(eventName, handler, scope, options)",
344 "memberOf" : "Roo.util.Observable",
346 "isConstructor" : false,
356 "name" : "eventName",
358 "desc" : "The type of event to listen for",
364 "desc" : "The method the event invokes",
370 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
376 "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>",
387 "desc" : "Fires before the load method's callback is called.",
388 "sig" : "function (This, o, arg)\n{\n\n}",
398 "desc" : "DataProxy object.",
404 "desc" : "The data object.",
410 "desc" : "The callback argument object passed to the load function.",
417 "name" : "beforeload",
419 "desc" : "Fires before a network request is made to retrieve a data object.",
420 "sig" : "function (This, params)\n{\n\n}",
430 "desc" : "DataProxy object.",
436 "desc" : "The params parameter to the load function.",
443 "name" : "loadexception",
445 "desc" : "Fires if an Exception occurs during data retrieval.",
446 "sig" : "function (This, o, arg, e)\n{\n\n}",
456 "desc" : "DataProxy object.",
462 "desc" : "The data object.",
468 "desc" : "The callback argument object passed to the load function.",
474 "desc" : "The Exception.",