2 "name" : "Roo.grid.AbstractGridView",
7 "desc" : "Abstract base class for grid Views",
11 "memberOf" : "AbstractGridView",
24 "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>",
25 "memberOf" : "Roo.util.Observable"
30 "name" : "setCSSStyle",
32 "desc" : "Set a css style for a column dynamically.",
33 "sig" : "(colIndex, name, value)",
37 "isConstructor" : false,
49 "desc" : "The index of the column",
55 "desc" : "The css property name",
61 "desc" : "The css value",
68 "name" : "purgeListeners",
70 "desc" : "Removes all listeners for this object",
73 "memberOf" : "Roo.util.Observable",
75 "isConstructor" : false,
89 "desc" : "Appends an event handler to this element (shorthand for addListener)",
90 "sig" : "(eventName, handler, scope, options)",
92 "memberOf" : "Roo.util.Observable",
94 "isConstructor" : false,
104 "name" : "eventName",
106 "desc" : "The type of event to listen for",
112 "desc" : "The method the event invokes",
118 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
124 "desc" : "(optional)",
133 "desc" : "Removes a listener (shorthand for removeListener)",
134 "sig" : "(eventName, handler, scope)",
136 "memberOf" : "Roo.util.Observable",
138 "isConstructor" : false,
148 "name" : "eventName",
150 "desc" : "The type of event to listen for",
156 "desc" : "The handler to remove",
162 "desc" : "(optional) The scope (this object) for the handler",
169 "name" : "addEvents",
171 "desc" : "Used to define events on this Observable",
174 "memberOf" : "Roo.util.Observable",
176 "isConstructor" : false,
188 "desc" : "The object with the events defined",
195 "name" : "releaseCapture",
197 "desc" : "Removes <b>all</b> added captures from the Observable.",
200 "memberOf" : "Roo.util.Observable",
202 "isConstructor" : false,
213 "type" : "Observable",
214 "desc" : "The Observable to release",
221 "name" : "removeListener",
223 "desc" : "Removes a listener",
224 "sig" : "(eventName, handler, scope)",
226 "memberOf" : "Roo.util.Observable",
228 "isConstructor" : false,
238 "name" : "eventName",
240 "desc" : "The type of event to listen for",
246 "desc" : "The handler to remove",
252 "desc" : "(optional) The scope (this object) for the handler",
259 "name" : "fireEvent",
261 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
262 "sig" : "(eventName, args)",
264 "memberOf" : "Roo.util.Observable",
266 "isConstructor" : false,
276 "name" : "eventName",
283 "type" : "Object...",
284 "desc" : "Variable number of parameters are passed to handlers",
292 "desc" : "returns false if any of the handlers return false otherwise it returns true"
297 "name" : "hasListener",
299 "desc" : "Checks to see if this object has any listeners for a specified event",
300 "sig" : "(eventName)",
302 "memberOf" : "Roo.util.Observable",
304 "isConstructor" : false,
314 "name" : "eventName",
316 "desc" : "The name of the event to check for",
324 "desc" : "True if the event is being listened for, else false"
331 "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.",
332 "sig" : "(o, fn, scope)",
334 "memberOf" : "Roo.util.Observable",
336 "isConstructor" : false,
347 "type" : "Observable",
348 "desc" : "The Observable to capture",
354 "desc" : "The function to call",
360 "desc" : "(optional) The scope (this object) for the fn",
367 "name" : "addListener",
369 "desc" : "Appends an event handler to this component",
370 "sig" : "(eventName, handler, scope, options)",
372 "memberOf" : "Roo.util.Observable",
374 "isConstructor" : false,
384 "name" : "eventName",
386 "desc" : "The type of event to listen for",
392 "desc" : "The method the event invokes",
398 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
404 "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>",