2 "name" : "Roo.tree.MultiSelectionModel",
6 "desc" : "Multi selection for a TreePanel.",
10 "memberOf" : "MultiSelectionModel",
19 "desc" : "Configuration",
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",
35 "name" : "getSelectedNodes",
36 "desc" : "Returns an array of the selected nodes",
38 "isConstructor" : false,
40 "memberOf" : "Roo.tree.MultiSelectionModel",
55 "name" : "clearSelections",
56 "desc" : "Clear all selections",
58 "isConstructor" : false,
60 "memberOf" : "Roo.tree.MultiSelectionModel",
69 "name" : "isSelected",
70 "desc" : "Returns true if the node is selected",
72 "isConstructor" : false,
74 "memberOf" : "Roo.tree.MultiSelectionModel",
83 "desc" : "The node to check",
97 "desc" : "Deselect a node.",
99 "isConstructor" : false,
101 "memberOf" : "Roo.tree.MultiSelectionModel",
110 "desc" : "The node to unselect",
118 "desc" : "Select a node.",
120 "isConstructor" : false,
122 "memberOf" : "Roo.tree.MultiSelectionModel",
131 "desc" : "The node to select",
136 "type" : "EventObject",
137 "desc" : "(optional) An event associated with the selection",
141 "name" : "keepExisting",
143 "desc" : "True to retain existing selections",
151 "desc" : "The selected node"
156 "name" : "purgeListeners",
157 "desc" : "Removes all listeners for this object",
159 "isConstructor" : false,
161 "memberOf" : "Roo.util.Observable",
171 "desc" : "Appends an event handler to this element (shorthand for addListener)",
173 "isConstructor" : false,
175 "memberOf" : "Roo.util.Observable",
182 "name" : "eventName",
184 "desc" : "The type of event to listen for",
190 "desc" : "The method the event invokes",
196 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
202 "desc" : "(optional)",
210 "desc" : "Removes a listener (shorthand for removeListener)",
212 "isConstructor" : false,
214 "memberOf" : "Roo.util.Observable",
221 "name" : "eventName",
223 "desc" : "The type of event to listen for",
229 "desc" : "The handler to remove",
235 "desc" : "(optional) The scope (this object) for the handler",
242 "name" : "addEvents",
243 "desc" : "Used to define events on this Observable",
245 "isConstructor" : false,
247 "memberOf" : "Roo.util.Observable",
256 "desc" : "The object with the events defined",
263 "name" : "releaseCapture",
264 "desc" : "Removes <b>all</b> added captures from the Observable.",
266 "isConstructor" : false,
268 "memberOf" : "Roo.util.Observable",
276 "type" : "Observable",
277 "desc" : "The Observable to release",
284 "name" : "removeListener",
285 "desc" : "Removes a listener",
287 "isConstructor" : false,
289 "memberOf" : "Roo.util.Observable",
296 "name" : "eventName",
298 "desc" : "The type of event to listen for",
304 "desc" : "The handler to remove",
310 "desc" : "(optional) The scope (this object) for the handler",
317 "name" : "fireEvent",
318 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
320 "isConstructor" : false,
322 "memberOf" : "Roo.util.Observable",
329 "name" : "eventName",
336 "type" : "Object...",
337 "desc" : "Variable number of parameters are passed to handlers",
345 "desc" : "returns false if any of the handlers return false otherwise it returns true"
350 "name" : "hasListener",
351 "desc" : "Checks to see if this object has any listeners for a specified event",
353 "isConstructor" : false,
355 "memberOf" : "Roo.util.Observable",
362 "name" : "eventName",
364 "desc" : "The name of the event to check for",
372 "desc" : "True if the event is being listened for, else false"
378 "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.",
380 "isConstructor" : false,
382 "memberOf" : "Roo.util.Observable",
390 "type" : "Observable",
391 "desc" : "The Observable to capture",
397 "desc" : "The function to call",
403 "desc" : "(optional) The scope (this object) for the fn",
410 "name" : "addListener",
411 "desc" : "Appends an event handler to this component",
413 "isConstructor" : false,
415 "memberOf" : "Roo.util.Observable",
422 "name" : "eventName",
424 "desc" : "The type of event to listen for",
430 "desc" : "The method the event invokes",
436 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
442 "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>",
451 "name" : "selectionchange",
452 "desc" : "Fires when the selected nodes change",
453 "memberOf" : "Roo.tree.MultiSelectionModel",
461 "type" : "MultiSelectionModel",
468 "desc" : "Array of the selected nodes",