2 "name" : "Roo.data.MemoryProxy",
10 "desc" : "An implementation of Roo.data.DataProxy that simply passes the data specified in its constructor\nto the Reader when its load method is called.",
11 "isSingleton" : false,
15 "isBuilderTop" : false,
16 "memberOf" : "MemoryProxy",
25 "desc" : "A config object containing the objects needed for the Store to access data,",
36 "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>",
37 "memberOf" : "Roo.util.Observable",
44 "desc" : "The data object which the Reader uses to construct a block of Roo.data.Records.",
54 "desc" : "Load data from the requested source (in this case an in-memory\ndata object passed to the constructor), read the data object into\na block of Roo.data.Records using the passed Roo.data.DataReader implementation, and\nprocess that block using the passed callback.",
55 "sig" : "(params, reader, callback, scope, arg)",
59 "isConstructor" : false,
71 "desc" : "This parameter is not used by the MemoryProxy class.",
76 "type" : "Roo.data.DataReader",
77 "desc" : "The Reader object which converts the data\nobject into a block of Roo.data.Records.",
83 "desc" : "The function into which to pass the block of Roo.data.records.\nThe function must be passed <ul>\n<li>The Record block object</li>\n<li>The \"arg\" argument from the load function</li>\n<li>A boolean success indicator</li>\n</ul>",
89 "desc" : "The scope in which to call the callback",
95 "desc" : "An optional argument which is passed to the callback as its second parameter.",
102 "name" : "purgeListeners",
104 "desc" : "Removes all listeners for this object",
105 "sig" : "()\n{\n\n}",
107 "memberOf" : "Roo.util.Observable",
109 "isConstructor" : false,
123 "desc" : "Appends an event handler to this element (shorthand for addListener)",
124 "sig" : "(eventName, handler, scope, options)",
126 "memberOf" : "Roo.util.Observable",
128 "isConstructor" : false,
138 "name" : "eventName",
140 "desc" : "The type of event to listen for",
146 "desc" : "The method the event invokes",
152 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
158 "desc" : "(optional)",
167 "desc" : "Removes a listener (shorthand for removeListener)",
168 "sig" : "(eventName, handler, scope)",
170 "memberOf" : "Roo.util.Observable",
172 "isConstructor" : false,
182 "name" : "eventName",
184 "desc" : "The type of event to listen for",
190 "desc" : "The handler to remove",
196 "desc" : "(optional) The scope (this object) for the handler",
203 "name" : "addEvents",
205 "desc" : "Used to define events on this Observable",
208 "memberOf" : "Roo.util.Observable",
210 "isConstructor" : false,
222 "desc" : "The object with the events defined",
229 "name" : "releaseCapture",
231 "desc" : "Removes <b>all</b> added captures from the Observable.",
234 "memberOf" : "Roo.util.Observable",
236 "isConstructor" : false,
247 "type" : "Observable",
248 "desc" : "The Observable to release",
255 "name" : "removeListener",
257 "desc" : "Removes a listener",
258 "sig" : "(eventName, handler, scope)",
260 "memberOf" : "Roo.util.Observable",
262 "isConstructor" : false,
272 "name" : "eventName",
274 "desc" : "The type of event to listen for",
280 "desc" : "The handler to remove",
286 "desc" : "(optional) The scope (this object) for the handler",
293 "name" : "fireEvent",
295 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
296 "sig" : "(eventName, args)",
298 "memberOf" : "Roo.util.Observable",
300 "isConstructor" : false,
310 "name" : "eventName",
317 "type" : "Object...",
318 "desc" : "Variable number of parameters are passed to handlers",
326 "desc" : "returns false if any of the handlers return false otherwise it returns true"
331 "name" : "hasListener",
333 "desc" : "Checks to see if this object has any listeners for a specified event",
334 "sig" : "(eventName)",
336 "memberOf" : "Roo.util.Observable",
338 "isConstructor" : false,
348 "name" : "eventName",
350 "desc" : "The name of the event to check for",
358 "desc" : "True if the event is being listened for, else false"
365 "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.",
366 "sig" : "(o, fn, scope)",
368 "memberOf" : "Roo.util.Observable",
370 "isConstructor" : false,
381 "type" : "Observable",
382 "desc" : "The Observable to capture",
388 "desc" : "The function to call",
394 "desc" : "(optional) The scope (this object) for the fn",
401 "name" : "addListener",
403 "desc" : "Appends an event handler to this component",
404 "sig" : "(eventName, handler, scope, options)",
406 "memberOf" : "Roo.util.Observable",
408 "isConstructor" : false,
418 "name" : "eventName",
420 "desc" : "The type of event to listen for",
426 "desc" : "The method the event invokes",
432 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
438 "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>",
449 "desc" : "Fires before the load method's callback is called.",
450 "sig" : "function (This, o, arg)\n{\n\n}",
451 "memberOf" : "Roo.data.DataProxy",
460 "desc" : "DataProxy object.",
466 "desc" : "The data object.",
472 "desc" : "The callback argument object passed to the load function.",
479 "name" : "beforeload",
481 "desc" : "Fires before a network request is made to retrieve a data object.",
482 "sig" : "function (This, params)\n{\n\n}",
483 "memberOf" : "Roo.data.DataProxy",
492 "desc" : "DataProxy object.",
498 "desc" : "The params parameter to the load function.",
505 "name" : "loadexception",
507 "desc" : "Fires if an Exception occurs during data retrieval.",
508 "sig" : "function (This, o, arg, e)\n{\n\n}",
509 "memberOf" : "Roo.data.DataProxy",
518 "desc" : "DataProxy object.",
524 "desc" : "The data object.",
530 "desc" : "The callback argument object passed to the load function.",
536 "desc" : "The Exception.",