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"
34 "name" : "setCSSStyle",
36 "desc" : "Set a css style for a column dynamically.",
37 "sig" : "(colIndex, name, value)",
41 "isConstructor" : false,
53 "desc" : "The index of the column",
59 "desc" : "The css property name",
65 "desc" : "The css value",
72 "name" : "purgeListeners",
74 "desc" : "Removes all listeners for this object",
77 "memberOf" : "Roo.util.Observable",
79 "isConstructor" : false,
93 "desc" : "Appends an event handler to this element (shorthand for addListener)",
94 "sig" : "(eventName, handler, scope, options)",
96 "memberOf" : "Roo.util.Observable",
98 "isConstructor" : false,
108 "name" : "eventName",
110 "desc" : "The type of event to listen for",
116 "desc" : "The method the event invokes",
122 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
128 "desc" : "(optional)",
137 "desc" : "Removes a listener (shorthand for removeListener)",
138 "sig" : "(eventName, handler, scope)",
140 "memberOf" : "Roo.util.Observable",
142 "isConstructor" : false,
152 "name" : "eventName",
154 "desc" : "The type of event to listen for",
160 "desc" : "The handler to remove",
166 "desc" : "(optional) The scope (this object) for the handler",
173 "name" : "addEvents",
175 "desc" : "Used to define events on this Observable",
178 "memberOf" : "Roo.util.Observable",
180 "isConstructor" : false,
192 "desc" : "The object with the events defined",
199 "name" : "releaseCapture",
201 "desc" : "Removes <b>all</b> added captures from the Observable.",
204 "memberOf" : "Roo.util.Observable",
206 "isConstructor" : false,
217 "type" : "Observable",
218 "desc" : "The Observable to release",
225 "name" : "removeListener",
227 "desc" : "Removes a listener",
228 "sig" : "(eventName, handler, scope)",
230 "memberOf" : "Roo.util.Observable",
232 "isConstructor" : false,
242 "name" : "eventName",
244 "desc" : "The type of event to listen for",
250 "desc" : "The handler to remove",
256 "desc" : "(optional) The scope (this object) for the handler",
263 "name" : "fireEvent",
265 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
266 "sig" : "(eventName, args)",
268 "memberOf" : "Roo.util.Observable",
270 "isConstructor" : false,
280 "name" : "eventName",
287 "type" : "Object...",
288 "desc" : "Variable number of parameters are passed to handlers",
296 "desc" : "returns false if any of the handlers return false otherwise it returns true"
301 "name" : "hasListener",
303 "desc" : "Checks to see if this object has any listeners for a specified event",
304 "sig" : "(eventName)",
306 "memberOf" : "Roo.util.Observable",
308 "isConstructor" : false,
318 "name" : "eventName",
320 "desc" : "The name of the event to check for",
328 "desc" : "True if the event is being listened for, else false"
335 "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.",
336 "sig" : "(o, fn, scope)",
338 "memberOf" : "Roo.util.Observable",
340 "isConstructor" : false,
351 "type" : "Observable",
352 "desc" : "The Observable to capture",
358 "desc" : "The function to call",
364 "desc" : "(optional) The scope (this object) for the fn",
371 "name" : "addListener",
373 "desc" : "Appends an event handler to this component",
374 "sig" : "(eventName, handler, scope, options)",
376 "memberOf" : "Roo.util.Observable",
378 "isConstructor" : false,
388 "name" : "eventName",
390 "desc" : "The type of event to listen for",
396 "desc" : "The method the event invokes",
402 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
408 "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>",