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"
38 "name" : "purgeListeners",
40 "desc" : "Removes all listeners for this object",
43 "memberOf" : "Roo.util.Observable",
45 "isConstructor" : false,
59 "desc" : "Appends an event handler to this element (shorthand for addListener)",
60 "sig" : "(eventName, handler, scope, options)",
62 "memberOf" : "Roo.util.Observable",
64 "isConstructor" : false,
76 "desc" : "The type of event to listen for",
82 "desc" : "The method the event invokes",
88 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
94 "desc" : "(optional)",
103 "desc" : "Removes a listener (shorthand for removeListener)",
104 "sig" : "(eventName, handler, scope)",
106 "memberOf" : "Roo.util.Observable",
108 "isConstructor" : false,
118 "name" : "eventName",
120 "desc" : "The type of event to listen for",
126 "desc" : "The handler to remove",
132 "desc" : "(optional) The scope (this object) for the handler",
139 "name" : "addEvents",
141 "desc" : "Used to define events on this Observable",
144 "memberOf" : "Roo.util.Observable",
146 "isConstructor" : false,
158 "desc" : "The object with the events defined",
165 "name" : "releaseCapture",
167 "desc" : "Removes <b>all</b> added captures from the Observable.",
170 "memberOf" : "Roo.util.Observable",
172 "isConstructor" : false,
183 "type" : "Observable",
184 "desc" : "The Observable to release",
191 "name" : "removeListener",
193 "desc" : "Removes a listener",
194 "sig" : "(eventName, handler, scope)",
196 "memberOf" : "Roo.util.Observable",
198 "isConstructor" : false,
208 "name" : "eventName",
210 "desc" : "The type of event to listen for",
216 "desc" : "The handler to remove",
222 "desc" : "(optional) The scope (this object) for the handler",
229 "name" : "fireEvent",
231 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
232 "sig" : "(eventName, args)",
234 "memberOf" : "Roo.util.Observable",
236 "isConstructor" : false,
246 "name" : "eventName",
253 "type" : "Object...",
254 "desc" : "Variable number of parameters are passed to handlers",
262 "desc" : "returns false if any of the handlers return false otherwise it returns true"
267 "name" : "hasListener",
269 "desc" : "Checks to see if this object has any listeners for a specified event",
270 "sig" : "(eventName)",
272 "memberOf" : "Roo.util.Observable",
274 "isConstructor" : false,
284 "name" : "eventName",
286 "desc" : "The name of the event to check for",
294 "desc" : "True if the event is being listened for, else false"
301 "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.",
302 "sig" : "(o, fn, scope)",
304 "memberOf" : "Roo.util.Observable",
306 "isConstructor" : false,
317 "type" : "Observable",
318 "desc" : "The Observable to capture",
324 "desc" : "The function to call",
330 "desc" : "(optional) The scope (this object) for the fn",
337 "name" : "addListener",
339 "desc" : "Appends an event handler to this component",
340 "sig" : "(eventName, handler, scope, options)",
342 "memberOf" : "Roo.util.Observable",
344 "isConstructor" : false,
354 "name" : "eventName",
356 "desc" : "The type of event to listen for",
362 "desc" : "The method the event invokes",
368 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
374 "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>",
385 "desc" : "Fires before the load method's callback is called.",
386 "sig" : "function (This, o, arg)\n{\n\n}",
396 "desc" : "DataProxy object.",
402 "desc" : "The data object.",
408 "desc" : "The callback argument object passed to the load function.",
415 "name" : "beforeload",
417 "desc" : "Fires before a network request is made to retrieve a data object.",
418 "sig" : "function (This, params)\n{\n\n}",
428 "desc" : "DataProxy object.",
434 "desc" : "The params parameter to the load function.",
441 "name" : "loadexception",
443 "desc" : "Fires if an Exception occurs during data retrieval.",
444 "sig" : "function (This, o, arg, e)\n{\n\n}",
454 "desc" : "DataProxy object.",
460 "desc" : "The data object.",
466 "desc" : "The callback argument object passed to the load function.",
472 "desc" : "The Exception.",