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"
41 "desc" : "Locks the selections.",
46 "isConstructor" : false,
60 "desc" : "Returns true if the selections are locked.",
65 "isConstructor" : false,
85 "desc" : "Unlocks the selections.",
90 "isConstructor" : false,
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>",