2 "name" : "Roo.tree.MultiSelectionModel",
9 "desc" : "Multi selection for a TreePanel.",
10 "isSingleton" : false,
14 "isBuilderTop" : false,
15 "memberOf" : "MultiSelectionModel",
24 "desc" : "Configuration",
35 "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>",
36 "memberOf" : "Roo.util.Observable"
41 "name" : "getSelectedNodes",
43 "desc" : "Returns an array of the selected nodes",
48 "isConstructor" : false,
66 "name" : "clearSelections",
68 "desc" : "Clear all selections",
73 "isConstructor" : false,
85 "name" : "isSelected",
87 "desc" : "Returns true if the node is selected",
92 "isConstructor" : false,
104 "desc" : "The node to check",
119 "desc" : "Deselect a node.",
124 "isConstructor" : false,
136 "desc" : "The node to unselect",
145 "desc" : "Select a node.",
146 "sig" : "(node, e, keepExisting)",
150 "isConstructor" : false,
162 "desc" : "The node to select",
167 "type" : "EventObject",
168 "desc" : "(optional) An event associated with the selection",
172 "name" : "keepExisting",
174 "desc" : "True to retain existing selections",
182 "desc" : "The selected node"
187 "name" : "purgeListeners",
189 "desc" : "Removes all listeners for this object",
190 "sig" : "()\n{\n\n}",
192 "memberOf" : "Roo.util.Observable",
194 "isConstructor" : false,
208 "desc" : "Appends an event handler to this element (shorthand for addListener)",
209 "sig" : "(eventName, handler, scope, options)",
211 "memberOf" : "Roo.util.Observable",
213 "isConstructor" : false,
223 "name" : "eventName",
225 "desc" : "The type of event to listen for",
231 "desc" : "The method the event invokes",
237 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
243 "desc" : "(optional)",
252 "desc" : "Removes a listener (shorthand for removeListener)",
253 "sig" : "(eventName, handler, scope)",
255 "memberOf" : "Roo.util.Observable",
257 "isConstructor" : false,
267 "name" : "eventName",
269 "desc" : "The type of event to listen for",
275 "desc" : "The handler to remove",
281 "desc" : "(optional) The scope (this object) for the handler",
288 "name" : "addEvents",
290 "desc" : "Used to define events on this Observable",
293 "memberOf" : "Roo.util.Observable",
295 "isConstructor" : false,
307 "desc" : "The object with the events defined",
314 "name" : "releaseCapture",
316 "desc" : "Removes <b>all</b> added captures from the Observable.",
319 "memberOf" : "Roo.util.Observable",
321 "isConstructor" : false,
332 "type" : "Observable",
333 "desc" : "The Observable to release",
340 "name" : "removeListener",
342 "desc" : "Removes a listener",
343 "sig" : "(eventName, handler, scope)",
345 "memberOf" : "Roo.util.Observable",
347 "isConstructor" : false,
357 "name" : "eventName",
359 "desc" : "The type of event to listen for",
365 "desc" : "The handler to remove",
371 "desc" : "(optional) The scope (this object) for the handler",
378 "name" : "fireEvent",
380 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
381 "sig" : "(eventName, args)",
383 "memberOf" : "Roo.util.Observable",
385 "isConstructor" : false,
395 "name" : "eventName",
402 "type" : "Object...",
403 "desc" : "Variable number of parameters are passed to handlers",
411 "desc" : "returns false if any of the handlers return false otherwise it returns true"
416 "name" : "hasListener",
418 "desc" : "Checks to see if this object has any listeners for a specified event",
419 "sig" : "(eventName)",
421 "memberOf" : "Roo.util.Observable",
423 "isConstructor" : false,
433 "name" : "eventName",
435 "desc" : "The name of the event to check for",
443 "desc" : "True if the event is being listened for, else false"
450 "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.",
451 "sig" : "(o, fn, scope)",
453 "memberOf" : "Roo.util.Observable",
455 "isConstructor" : false,
466 "type" : "Observable",
467 "desc" : "The Observable to capture",
473 "desc" : "The function to call",
479 "desc" : "(optional) The scope (this object) for the fn",
486 "name" : "addListener",
488 "desc" : "Appends an event handler to this component",
489 "sig" : "(eventName, handler, scope, options)",
491 "memberOf" : "Roo.util.Observable",
493 "isConstructor" : false,
503 "name" : "eventName",
505 "desc" : "The type of event to listen for",
511 "desc" : "The method the event invokes",
517 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
523 "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>",
532 "name" : "selectionchange",
534 "desc" : "Fires when the selected nodes change",
535 "sig" : "function (_self, nodes)\n{\n\n}",
544 "type" : "MultiSelectionModel",
551 "desc" : "Array of the selected nodes",