2 "name" : "Roo.grid.AbstractGridView",
6 "desc" : "Abstract base class for grid Views",
10 "memberOf" : "AbstractGridView",
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"
29 "name" : "setCSSStyle",
31 "desc" : "Set a css style for a column dynamically.",
32 "sig" : "(colIndex, name, value)",
36 "isConstructor" : false,
48 "desc" : "The index of the column",
54 "desc" : "The css property name",
60 "desc" : "The css value",
67 "name" : "purgeListeners",
69 "desc" : "Removes all listeners for this object",
72 "memberOf" : "Roo.util.Observable",
74 "isConstructor" : false,
88 "desc" : "Appends an event handler to this element (shorthand for addListener)",
89 "sig" : "(eventName, handler, scope, options)",
91 "memberOf" : "Roo.util.Observable",
93 "isConstructor" : false,
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)",
133 "sig" : "(eventName, handler, scope)",
135 "memberOf" : "Roo.util.Observable",
137 "isConstructor" : false,
147 "name" : "eventName",
149 "desc" : "The type of event to listen for",
155 "desc" : "The handler to remove",
161 "desc" : "(optional) The scope (this object) for the handler",
168 "name" : "addEvents",
170 "desc" : "Used to define events on this Observable",
173 "memberOf" : "Roo.util.Observable",
175 "isConstructor" : false,
187 "desc" : "The object with the events defined",
194 "name" : "releaseCapture",
196 "desc" : "Removes <b>all</b> added captures from the Observable.",
199 "memberOf" : "Roo.util.Observable",
201 "isConstructor" : false,
212 "type" : "Observable",
213 "desc" : "The Observable to release",
220 "name" : "removeListener",
222 "desc" : "Removes a listener",
223 "sig" : "(eventName, handler, scope)",
225 "memberOf" : "Roo.util.Observable",
227 "isConstructor" : false,
237 "name" : "eventName",
239 "desc" : "The type of event to listen for",
245 "desc" : "The handler to remove",
251 "desc" : "(optional) The scope (this object) for the handler",
258 "name" : "fireEvent",
260 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
261 "sig" : "(eventName, args)",
263 "memberOf" : "Roo.util.Observable",
265 "isConstructor" : false,
275 "name" : "eventName",
282 "type" : "Object...",
283 "desc" : "Variable number of parameters are passed to handlers",
291 "desc" : "returns false if any of the handlers return false otherwise it returns true"
296 "name" : "hasListener",
298 "desc" : "Checks to see if this object has any listeners for a specified event",
299 "sig" : "(eventName)",
301 "memberOf" : "Roo.util.Observable",
303 "isConstructor" : false,
313 "name" : "eventName",
315 "desc" : "The name of the event to check for",
323 "desc" : "True if the event is being listened for, else false"
330 "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.",
331 "sig" : "(o, fn, scope)",
333 "memberOf" : "Roo.util.Observable",
335 "isConstructor" : false,
346 "type" : "Observable",
347 "desc" : "The Observable to capture",
353 "desc" : "The function to call",
359 "desc" : "(optional) The scope (this object) for the fn",
366 "name" : "addListener",
368 "desc" : "Appends an event handler to this component",
369 "sig" : "(eventName, handler, scope, options)",
371 "memberOf" : "Roo.util.Observable",
373 "isConstructor" : false,
383 "name" : "eventName",
385 "desc" : "The type of event to listen for",
391 "desc" : "The method the event invokes",
397 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
403 "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>",