2 "name" : "Roo.tree.MultiSelectionModel",
7 "desc" : "Multi selection for a TreePanel.",
11 "memberOf" : "MultiSelectionModel",
20 "desc" : "Configuration",
31 "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>",
32 "memberOf" : "Roo.util.Observable"
37 "name" : "getSelectedNodes",
39 "desc" : "Returns an array of the selected nodes",
44 "isConstructor" : false,
62 "name" : "clearSelections",
64 "desc" : "Clear all selections",
69 "isConstructor" : false,
81 "name" : "isSelected",
83 "desc" : "Returns true if the node is selected",
88 "isConstructor" : false,
100 "desc" : "The node to check",
115 "desc" : "Deselect a node.",
120 "isConstructor" : false,
132 "desc" : "The node to unselect",
141 "desc" : "Select a node.",
142 "sig" : "(node, e, keepExisting)",
146 "isConstructor" : false,
158 "desc" : "The node to select",
163 "type" : "EventObject",
164 "desc" : "(optional) An event associated with the selection",
168 "name" : "keepExisting",
170 "desc" : "True to retain existing selections",
178 "desc" : "The selected node"
183 "name" : "purgeListeners",
185 "desc" : "Removes all listeners for this object",
186 "sig" : "()\n{\n\n}",
188 "memberOf" : "Roo.util.Observable",
190 "isConstructor" : false,
204 "desc" : "Appends an event handler to this element (shorthand for addListener)",
205 "sig" : "(eventName, handler, scope, options)",
207 "memberOf" : "Roo.util.Observable",
209 "isConstructor" : false,
219 "name" : "eventName",
221 "desc" : "The type of event to listen for",
227 "desc" : "The method the event invokes",
233 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
239 "desc" : "(optional)",
248 "desc" : "Removes a listener (shorthand for removeListener)",
249 "sig" : "(eventName, handler, scope)",
251 "memberOf" : "Roo.util.Observable",
253 "isConstructor" : false,
263 "name" : "eventName",
265 "desc" : "The type of event to listen for",
271 "desc" : "The handler to remove",
277 "desc" : "(optional) The scope (this object) for the handler",
284 "name" : "addEvents",
286 "desc" : "Used to define events on this Observable",
289 "memberOf" : "Roo.util.Observable",
291 "isConstructor" : false,
303 "desc" : "The object with the events defined",
310 "name" : "releaseCapture",
312 "desc" : "Removes <b>all</b> added captures from the Observable.",
315 "memberOf" : "Roo.util.Observable",
317 "isConstructor" : false,
328 "type" : "Observable",
329 "desc" : "The Observable to release",
336 "name" : "removeListener",
338 "desc" : "Removes a listener",
339 "sig" : "(eventName, handler, scope)",
341 "memberOf" : "Roo.util.Observable",
343 "isConstructor" : false,
353 "name" : "eventName",
355 "desc" : "The type of event to listen for",
361 "desc" : "The handler to remove",
367 "desc" : "(optional) The scope (this object) for the handler",
374 "name" : "fireEvent",
376 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
377 "sig" : "(eventName, args)",
379 "memberOf" : "Roo.util.Observable",
381 "isConstructor" : false,
391 "name" : "eventName",
398 "type" : "Object...",
399 "desc" : "Variable number of parameters are passed to handlers",
407 "desc" : "returns false if any of the handlers return false otherwise it returns true"
412 "name" : "hasListener",
414 "desc" : "Checks to see if this object has any listeners for a specified event",
415 "sig" : "(eventName)",
417 "memberOf" : "Roo.util.Observable",
419 "isConstructor" : false,
429 "name" : "eventName",
431 "desc" : "The name of the event to check for",
439 "desc" : "True if the event is being listened for, else false"
446 "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.",
447 "sig" : "(o, fn, scope)",
449 "memberOf" : "Roo.util.Observable",
451 "isConstructor" : false,
462 "type" : "Observable",
463 "desc" : "The Observable to capture",
469 "desc" : "The function to call",
475 "desc" : "(optional) The scope (this object) for the fn",
482 "name" : "addListener",
484 "desc" : "Appends an event handler to this component",
485 "sig" : "(eventName, handler, scope, options)",
487 "memberOf" : "Roo.util.Observable",
489 "isConstructor" : false,
499 "name" : "eventName",
501 "desc" : "The type of event to listen for",
507 "desc" : "The method the event invokes",
513 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
519 "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>",
528 "name" : "selectionchange",
530 "desc" : "Fires when the selected nodes change",
531 "sig" : "function (_self, nodes)\n{\n\n}",
540 "type" : "MultiSelectionModel",
547 "desc" : "Array of the selected nodes",