2 "name" : "Roo.tree.MultiSelectionModel",
6 "desc" : "Multi selection for a TreePanel.",
10 "memberOf" : "MultiSelectionModel",
19 "desc" : "Configuration",
30 "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>",
31 "memberOf" : "Roo.util.Observable"
36 "name" : "getSelectedNodes",
38 "desc" : "Returns an array of the selected nodes",
43 "isConstructor" : false,
61 "name" : "clearSelections",
63 "desc" : "Clear all selections",
68 "isConstructor" : false,
80 "name" : "isSelected",
82 "desc" : "Returns true if the node is selected",
87 "isConstructor" : false,
99 "desc" : "The node to check",
114 "desc" : "Deselect a node.",
119 "isConstructor" : false,
131 "desc" : "The node to unselect",
140 "desc" : "Select a node.",
141 "sig" : "(node, e, keepExisting)",
145 "isConstructor" : false,
157 "desc" : "The node to select",
162 "type" : "EventObject",
163 "desc" : "(optional) An event associated with the selection",
167 "name" : "keepExisting",
169 "desc" : "True to retain existing selections",
177 "desc" : "The selected node"
182 "name" : "purgeListeners",
184 "desc" : "Removes all listeners for this object",
185 "sig" : "()\n{\n\n}",
187 "memberOf" : "Roo.util.Observable",
189 "isConstructor" : false,
203 "desc" : "Appends an event handler to this element (shorthand for addListener)",
204 "sig" : "(eventName, handler, scope, options)",
206 "memberOf" : "Roo.util.Observable",
208 "isConstructor" : false,
218 "name" : "eventName",
220 "desc" : "The type of event to listen for",
226 "desc" : "The method the event invokes",
232 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
238 "desc" : "(optional)",
247 "desc" : "Removes a listener (shorthand for removeListener)",
248 "sig" : "(eventName, handler, scope)",
250 "memberOf" : "Roo.util.Observable",
252 "isConstructor" : false,
262 "name" : "eventName",
264 "desc" : "The type of event to listen for",
270 "desc" : "The handler to remove",
276 "desc" : "(optional) The scope (this object) for the handler",
283 "name" : "addEvents",
285 "desc" : "Used to define events on this Observable",
288 "memberOf" : "Roo.util.Observable",
290 "isConstructor" : false,
302 "desc" : "The object with the events defined",
309 "name" : "releaseCapture",
311 "desc" : "Removes <b>all</b> added captures from the Observable.",
314 "memberOf" : "Roo.util.Observable",
316 "isConstructor" : false,
327 "type" : "Observable",
328 "desc" : "The Observable to release",
335 "name" : "removeListener",
337 "desc" : "Removes a listener",
338 "sig" : "(eventName, handler, scope)",
340 "memberOf" : "Roo.util.Observable",
342 "isConstructor" : false,
352 "name" : "eventName",
354 "desc" : "The type of event to listen for",
360 "desc" : "The handler to remove",
366 "desc" : "(optional) The scope (this object) for the handler",
373 "name" : "fireEvent",
375 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
376 "sig" : "(eventName, args)",
378 "memberOf" : "Roo.util.Observable",
380 "isConstructor" : false,
390 "name" : "eventName",
397 "type" : "Object...",
398 "desc" : "Variable number of parameters are passed to handlers",
406 "desc" : "returns false if any of the handlers return false otherwise it returns true"
411 "name" : "hasListener",
413 "desc" : "Checks to see if this object has any listeners for a specified event",
414 "sig" : "(eventName)",
416 "memberOf" : "Roo.util.Observable",
418 "isConstructor" : false,
428 "name" : "eventName",
430 "desc" : "The name of the event to check for",
438 "desc" : "True if the event is being listened for, else false"
445 "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.",
446 "sig" : "(o, fn, scope)",
448 "memberOf" : "Roo.util.Observable",
450 "isConstructor" : false,
461 "type" : "Observable",
462 "desc" : "The Observable to capture",
468 "desc" : "The function to call",
474 "desc" : "(optional) The scope (this object) for the fn",
481 "name" : "addListener",
483 "desc" : "Appends an event handler to this component",
484 "sig" : "(eventName, handler, scope, options)",
486 "memberOf" : "Roo.util.Observable",
488 "isConstructor" : false,
498 "name" : "eventName",
500 "desc" : "The type of event to listen for",
506 "desc" : "The method the event invokes",
512 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
518 "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>",
527 "name" : "selectionchange",
529 "desc" : "Fires when the selected nodes change",
530 "sig" : "function (_self, nodes)\n{\n\n}",
539 "type" : "MultiSelectionModel",
546 "desc" : "Array of the selected nodes",