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.",
14 "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>",
15 "memberOf" : "Roo.util.Observable",
23 "desc" : "Locks the selections.",
25 "isConstructor" : false,
27 "memberOf" : "Roo.grid.AbstractSelectionModel",
39 "desc" : "Returns true if the selections are locked.",
41 "isConstructor" : false,
43 "memberOf" : "Roo.grid.AbstractSelectionModel",
60 "desc" : "Unlocks the selections.",
62 "isConstructor" : false,
64 "memberOf" : "Roo.grid.AbstractSelectionModel",
75 "name" : "purgeListeners",
76 "desc" : "Removes all listeners for this object",
78 "isConstructor" : false,
80 "memberOf" : "Roo.util.Observable",
92 "desc" : "Appends an event handler to this element (shorthand for addListener)",
94 "isConstructor" : false,
96 "memberOf" : "Roo.util.Observable",
103 "name" : "eventName",
105 "desc" : "The type of event to listen for",
111 "desc" : "The method the event invokes",
117 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
123 "desc" : "(optional)",
132 "desc" : "Removes a listener (shorthand for removeListener)",
134 "isConstructor" : false,
136 "memberOf" : "Roo.util.Observable",
143 "name" : "eventName",
145 "desc" : "The type of event to listen for",
151 "desc" : "The handler to remove",
157 "desc" : "(optional) The scope (this object) for the handler",
165 "name" : "addEvents",
166 "desc" : "Used to define events on this Observable",
168 "isConstructor" : false,
170 "memberOf" : "Roo.util.Observable",
179 "desc" : "The object with the events defined",
187 "name" : "releaseCapture",
188 "desc" : "Removes <b>all</b> added captures from the Observable.",
190 "isConstructor" : false,
192 "memberOf" : "Roo.util.Observable",
200 "type" : "Observable",
201 "desc" : "The Observable to release",
209 "name" : "removeListener",
210 "desc" : "Removes a listener",
212 "isConstructor" : false,
214 "memberOf" : "Roo.util.Observable",
221 "name" : "eventName",
223 "desc" : "The type of event to listen for",
229 "desc" : "The handler to remove",
235 "desc" : "(optional) The scope (this object) for the handler",
243 "name" : "fireEvent",
244 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
246 "isConstructor" : false,
248 "memberOf" : "Roo.util.Observable",
255 "name" : "eventName",
262 "type" : "Object...",
263 "desc" : "Variable number of parameters are passed to handlers",
271 "desc" : "returns false if any of the handlers return false otherwise it returns true"
276 "name" : "hasListener",
277 "desc" : "Checks to see if this object has any listeners for a specified event",
279 "isConstructor" : false,
281 "memberOf" : "Roo.util.Observable",
288 "name" : "eventName",
290 "desc" : "The name of the event to check for",
298 "desc" : "True if the event is being listened for, else false"
304 "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.",
306 "isConstructor" : false,
308 "memberOf" : "Roo.util.Observable",
316 "type" : "Observable",
317 "desc" : "The Observable to capture",
323 "desc" : "The function to call",
329 "desc" : "(optional) The scope (this object) for the fn",
337 "name" : "addListener",
338 "desc" : "Appends an event handler to this component",
340 "isConstructor" : false,
342 "memberOf" : "Roo.util.Observable",
349 "name" : "eventName",
351 "desc" : "The type of event to listen for",
357 "desc" : "The method the event invokes",
363 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
369 "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>",