2 "name" : "Roo.grid.AbstractGridView",
9 "desc" : "Abstract base class for grid Views",
10 "isSingleton" : false,
14 "isBuilderTop" : false,
15 "memberOf" : "AbstractGridView",
28 "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>",
29 "memberOf" : "Roo.util.Observable",
36 "name" : "setCSSStyle",
38 "desc" : "Set a css style for a column dynamically.",
39 "sig" : "(colIndex, name, value)",
43 "isConstructor" : false,
55 "desc" : "The index of the column",
61 "desc" : "The css property name",
67 "desc" : "The css value",
74 "name" : "purgeListeners",
76 "desc" : "Removes all listeners for this object",
79 "memberOf" : "Roo.util.Observable",
81 "isConstructor" : false,
95 "desc" : "Appends an event handler to this element (shorthand for addListener)",
96 "sig" : "(eventName, handler, scope, options)",
98 "memberOf" : "Roo.util.Observable",
100 "isConstructor" : false,
110 "name" : "eventName",
112 "desc" : "The type of event to listen for",
118 "desc" : "The method the event invokes",
124 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
130 "desc" : "(optional)",
139 "desc" : "Removes a listener (shorthand for removeListener)",
140 "sig" : "(eventName, handler, scope)",
142 "memberOf" : "Roo.util.Observable",
144 "isConstructor" : false,
154 "name" : "eventName",
156 "desc" : "The type of event to listen for",
162 "desc" : "The handler to remove",
168 "desc" : "(optional) The scope (this object) for the handler",
175 "name" : "addEvents",
177 "desc" : "Used to define events on this Observable",
180 "memberOf" : "Roo.util.Observable",
182 "isConstructor" : false,
194 "desc" : "The object with the events defined",
201 "name" : "releaseCapture",
203 "desc" : "Removes <b>all</b> added captures from the Observable.",
206 "memberOf" : "Roo.util.Observable",
208 "isConstructor" : false,
219 "type" : "Observable",
220 "desc" : "The Observable to release",
227 "name" : "removeListener",
229 "desc" : "Removes a listener",
230 "sig" : "(eventName, handler, scope)",
232 "memberOf" : "Roo.util.Observable",
234 "isConstructor" : false,
244 "name" : "eventName",
246 "desc" : "The type of event to listen for",
252 "desc" : "The handler to remove",
258 "desc" : "(optional) The scope (this object) for the handler",
265 "name" : "fireEvent",
267 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
268 "sig" : "(eventName, args)",
270 "memberOf" : "Roo.util.Observable",
272 "isConstructor" : false,
282 "name" : "eventName",
289 "type" : "Object...",
290 "desc" : "Variable number of parameters are passed to handlers",
298 "desc" : "returns false if any of the handlers return false otherwise it returns true"
303 "name" : "hasListener",
305 "desc" : "Checks to see if this object has any listeners for a specified event",
306 "sig" : "(eventName)",
308 "memberOf" : "Roo.util.Observable",
310 "isConstructor" : false,
320 "name" : "eventName",
322 "desc" : "The name of the event to check for",
330 "desc" : "True if the event is being listened for, else false"
337 "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.",
338 "sig" : "(o, fn, scope)",
340 "memberOf" : "Roo.util.Observable",
342 "isConstructor" : false,
353 "type" : "Observable",
354 "desc" : "The Observable to capture",
360 "desc" : "The function to call",
366 "desc" : "(optional) The scope (this object) for the fn",
373 "name" : "addListener",
375 "desc" : "Appends an event handler to this component",
376 "sig" : "(eventName, handler, scope, options)",
378 "memberOf" : "Roo.util.Observable",
380 "isConstructor" : false,
390 "name" : "eventName",
392 "desc" : "The type of event to listen for",
398 "desc" : "The method the event invokes",
404 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
410 "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>",