2 "name" : "Roo.grid.AbstractSelectionModel",
6 "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.",
10 "memberOf" : "AbstractSelectionModel",
23 "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>",
24 "memberOf" : "Roo.util.Observable"
31 "desc" : "Locks the selections.",
36 "isConstructor" : false,
50 "desc" : "Returns true if the selections are locked.",
55 "isConstructor" : false,
75 "desc" : "Unlocks the selections.",
80 "isConstructor" : false,
92 "name" : "purgeListeners",
94 "desc" : "Removes all listeners for this object",
97 "memberOf" : "Roo.util.Observable",
99 "isConstructor" : false,
113 "desc" : "Appends an event handler to this element (shorthand for addListener)",
114 "sig" : "(eventName, handler, scope, options)",
116 "memberOf" : "Roo.util.Observable",
118 "isConstructor" : false,
128 "name" : "eventName",
130 "desc" : "The type of event to listen for",
136 "desc" : "The method the event invokes",
142 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
148 "desc" : "(optional)",
157 "desc" : "Removes a listener (shorthand for removeListener)",
158 "sig" : "(eventName, handler, scope)",
160 "memberOf" : "Roo.util.Observable",
162 "isConstructor" : false,
172 "name" : "eventName",
174 "desc" : "The type of event to listen for",
180 "desc" : "The handler to remove",
186 "desc" : "(optional) The scope (this object) for the handler",
193 "name" : "addEvents",
195 "desc" : "Used to define events on this Observable",
198 "memberOf" : "Roo.util.Observable",
200 "isConstructor" : false,
212 "desc" : "The object with the events defined",
219 "name" : "releaseCapture",
221 "desc" : "Removes <b>all</b> added captures from the Observable.",
224 "memberOf" : "Roo.util.Observable",
226 "isConstructor" : false,
237 "type" : "Observable",
238 "desc" : "The Observable to release",
245 "name" : "removeListener",
247 "desc" : "Removes a listener",
248 "sig" : "(eventName, handler, scope)",
250 "memberOf" : "Roo.util.Observable",
252 "isConstructor" : false,
262 "name" : "eventName",
264 "desc" : "The type of event to listen for",
270 "desc" : "The handler to remove",
276 "desc" : "(optional) The scope (this object) for the handler",
283 "name" : "fireEvent",
285 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
286 "sig" : "(eventName, args)",
288 "memberOf" : "Roo.util.Observable",
290 "isConstructor" : false,
300 "name" : "eventName",
307 "type" : "Object...",
308 "desc" : "Variable number of parameters are passed to handlers",
316 "desc" : "returns false if any of the handlers return false otherwise it returns true"
321 "name" : "hasListener",
323 "desc" : "Checks to see if this object has any listeners for a specified event",
324 "sig" : "(eventName)",
326 "memberOf" : "Roo.util.Observable",
328 "isConstructor" : false,
338 "name" : "eventName",
340 "desc" : "The name of the event to check for",
348 "desc" : "True if the event is being listened for, else false"
355 "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.",
356 "sig" : "(o, fn, scope)",
358 "memberOf" : "Roo.util.Observable",
360 "isConstructor" : false,
371 "type" : "Observable",
372 "desc" : "The Observable to capture",
378 "desc" : "The function to call",
384 "desc" : "(optional) The scope (this object) for the fn",
391 "name" : "addListener",
393 "desc" : "Appends an event handler to this component",
394 "sig" : "(eventName, handler, scope, options)",
396 "memberOf" : "Roo.util.Observable",
398 "isConstructor" : false,
408 "name" : "eventName",
410 "desc" : "The type of event to listen for",
416 "desc" : "The method the event invokes",
422 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
428 "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>",