2 "name" : "Roo.grid.AbstractSelectionModel",
7 "Roo.grid.AbstractSelectionModel" : [
8 "Roo.grid.CellSelectionModel",
9 "Roo.grid.RowSelectionModel"
14 "desc" : "Abstract base class for grid SelectionModels. It provides the interface that should be\nimplemented by descendant classes. This class should not be directly instantiated.",
15 "isSingleton" : false,
19 "isBuilderTop" : false,
20 "memberOf" : "AbstractSelectionModel",
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",
43 "desc" : "Locks the selections.",
48 "isConstructor" : false,
62 "desc" : "Returns true if the selections are locked.",
67 "isConstructor" : false,
87 "desc" : "Unlocks the selections.",
92 "isConstructor" : false,
104 "name" : "purgeListeners",
106 "desc" : "Removes all listeners for this object",
107 "sig" : "()\n{\n\n}",
109 "memberOf" : "Roo.util.Observable",
111 "isConstructor" : false,
125 "desc" : "Appends an event handler to this element (shorthand for addListener)",
126 "sig" : "(eventName, handler, scope, options)",
128 "memberOf" : "Roo.util.Observable",
130 "isConstructor" : false,
140 "name" : "eventName",
142 "desc" : "The type of event to listen for",
148 "desc" : "The method the event invokes",
154 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
160 "desc" : "(optional)",
169 "desc" : "Removes a listener (shorthand for removeListener)",
170 "sig" : "(eventName, handler, scope)",
172 "memberOf" : "Roo.util.Observable",
174 "isConstructor" : false,
184 "name" : "eventName",
186 "desc" : "The type of event to listen for",
192 "desc" : "The handler to remove",
198 "desc" : "(optional) The scope (this object) for the handler",
205 "name" : "addEvents",
207 "desc" : "Used to define events on this Observable",
210 "memberOf" : "Roo.util.Observable",
212 "isConstructor" : false,
224 "desc" : "The object with the events defined",
231 "name" : "releaseCapture",
233 "desc" : "Removes <b>all</b> added captures from the Observable.",
236 "memberOf" : "Roo.util.Observable",
238 "isConstructor" : false,
249 "type" : "Observable",
250 "desc" : "The Observable to release",
257 "name" : "removeListener",
259 "desc" : "Removes a listener",
260 "sig" : "(eventName, handler, scope)",
262 "memberOf" : "Roo.util.Observable",
264 "isConstructor" : false,
274 "name" : "eventName",
276 "desc" : "The type of event to listen for",
282 "desc" : "The handler to remove",
288 "desc" : "(optional) The scope (this object) for the handler",
295 "name" : "fireEvent",
297 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
298 "sig" : "(eventName, args)",
300 "memberOf" : "Roo.util.Observable",
302 "isConstructor" : false,
312 "name" : "eventName",
319 "type" : "Object...",
320 "desc" : "Variable number of parameters are passed to handlers",
328 "desc" : "returns false if any of the handlers return false otherwise it returns true"
333 "name" : "hasListener",
335 "desc" : "Checks to see if this object has any listeners for a specified event",
336 "sig" : "(eventName)",
338 "memberOf" : "Roo.util.Observable",
340 "isConstructor" : false,
350 "name" : "eventName",
352 "desc" : "The name of the event to check for",
360 "desc" : "True if the event is being listened for, else false"
367 "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.",
368 "sig" : "(o, fn, scope)",
370 "memberOf" : "Roo.util.Observable",
372 "isConstructor" : false,
383 "type" : "Observable",
384 "desc" : "The Observable to capture",
390 "desc" : "The function to call",
396 "desc" : "(optional) The scope (this object) for the fn",
403 "name" : "addListener",
405 "desc" : "Appends an event handler to this component",
406 "sig" : "(eventName, handler, scope, options)",
408 "memberOf" : "Roo.util.Observable",
410 "isConstructor" : false,
420 "name" : "eventName",
422 "desc" : "The type of event to listen for",
428 "desc" : "The method the event invokes",
434 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
440 "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>",