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",
43 "name" : "getSelectedNodes",
45 "desc" : "Returns an array of the selected nodes",
50 "isConstructor" : false,
68 "name" : "clearSelections",
70 "desc" : "Clear all selections",
75 "isConstructor" : false,
87 "name" : "isSelected",
89 "desc" : "Returns true if the node is selected",
94 "isConstructor" : false,
106 "desc" : "The node to check",
121 "desc" : "Deselect a node.",
126 "isConstructor" : false,
138 "desc" : "The node to unselect",
147 "desc" : "Select a node.",
148 "sig" : "(node, e, keepExisting)",
152 "isConstructor" : false,
164 "desc" : "The node to select",
169 "type" : "EventObject",
170 "desc" : "(optional) An event associated with the selection",
174 "name" : "keepExisting",
176 "desc" : "True to retain existing selections",
184 "desc" : "The selected node"
189 "name" : "purgeListeners",
191 "desc" : "Removes all listeners for this object",
192 "sig" : "()\n{\n\n}",
194 "memberOf" : "Roo.util.Observable",
196 "isConstructor" : false,
210 "desc" : "Appends an event handler to this element (shorthand for addListener)",
211 "sig" : "(eventName, handler, scope, options)",
213 "memberOf" : "Roo.util.Observable",
215 "isConstructor" : false,
225 "name" : "eventName",
227 "desc" : "The type of event to listen for",
233 "desc" : "The method the event invokes",
239 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
245 "desc" : "(optional)",
254 "desc" : "Removes a listener (shorthand for removeListener)",
255 "sig" : "(eventName, handler, scope)",
257 "memberOf" : "Roo.util.Observable",
259 "isConstructor" : false,
269 "name" : "eventName",
271 "desc" : "The type of event to listen for",
277 "desc" : "The handler to remove",
283 "desc" : "(optional) The scope (this object) for the handler",
290 "name" : "addEvents",
292 "desc" : "Used to define events on this Observable",
295 "memberOf" : "Roo.util.Observable",
297 "isConstructor" : false,
309 "desc" : "The object with the events defined",
316 "name" : "releaseCapture",
318 "desc" : "Removes <b>all</b> added captures from the Observable.",
321 "memberOf" : "Roo.util.Observable",
323 "isConstructor" : false,
334 "type" : "Observable",
335 "desc" : "The Observable to release",
342 "name" : "removeListener",
344 "desc" : "Removes a listener",
345 "sig" : "(eventName, handler, scope)",
347 "memberOf" : "Roo.util.Observable",
349 "isConstructor" : false,
359 "name" : "eventName",
361 "desc" : "The type of event to listen for",
367 "desc" : "The handler to remove",
373 "desc" : "(optional) The scope (this object) for the handler",
380 "name" : "fireEvent",
382 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
383 "sig" : "(eventName, args)",
385 "memberOf" : "Roo.util.Observable",
387 "isConstructor" : false,
397 "name" : "eventName",
404 "type" : "Object...",
405 "desc" : "Variable number of parameters are passed to handlers",
413 "desc" : "returns false if any of the handlers return false otherwise it returns true"
418 "name" : "hasListener",
420 "desc" : "Checks to see if this object has any listeners for a specified event",
421 "sig" : "(eventName)",
423 "memberOf" : "Roo.util.Observable",
425 "isConstructor" : false,
435 "name" : "eventName",
437 "desc" : "The name of the event to check for",
445 "desc" : "True if the event is being listened for, else false"
452 "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.",
453 "sig" : "(o, fn, scope)",
455 "memberOf" : "Roo.util.Observable",
457 "isConstructor" : false,
468 "type" : "Observable",
469 "desc" : "The Observable to capture",
475 "desc" : "The function to call",
481 "desc" : "(optional) The scope (this object) for the fn",
488 "name" : "addListener",
490 "desc" : "Appends an event handler to this component",
491 "sig" : "(eventName, handler, scope, options)",
493 "memberOf" : "Roo.util.Observable",
495 "isConstructor" : false,
505 "name" : "eventName",
507 "desc" : "The type of event to listen for",
513 "desc" : "The method the event invokes",
519 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
525 "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>",
534 "name" : "selectionchange",
536 "desc" : "Fires when the selected nodes change",
537 "sig" : "function (_self, nodes)\n{\n\n}",
546 "type" : "MultiSelectionModel",
553 "desc" : "Array of the selected nodes",