2 "name" : "Roo.tree.MultiSelectionModel",
6 "desc" : "Multi selection for a TreePanel.",
10 "memberOf" : "MultiSelectionModel",
19 "desc" : "Configuration",
29 "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>",
30 "memberOf" : "Roo.util.Observable",
37 "name" : "getSelectedNodes",
38 "desc" : "Returns an array of the selected nodes",
40 "isConstructor" : false,
42 "memberOf" : "Roo.tree.MultiSelectionModel",
58 "name" : "clearSelections",
59 "desc" : "Clear all selections",
61 "isConstructor" : false,
63 "memberOf" : "Roo.tree.MultiSelectionModel",
74 "name" : "isSelected",
75 "desc" : "Returns true if the node is selected",
77 "isConstructor" : false,
79 "memberOf" : "Roo.tree.MultiSelectionModel",
88 "desc" : "The node to check",
102 "desc" : "Deselect a node.",
104 "isConstructor" : false,
106 "memberOf" : "Roo.tree.MultiSelectionModel",
115 "desc" : "The node to unselect",
124 "desc" : "Select a node.",
126 "isConstructor" : false,
128 "memberOf" : "Roo.tree.MultiSelectionModel",
137 "desc" : "The node to select",
142 "type" : "EventObject",
143 "desc" : "(optional) An event associated with the selection",
147 "name" : "keepExisting",
149 "desc" : "True to retain existing selections",
157 "desc" : "The selected node"
162 "name" : "purgeListeners",
163 "desc" : "Removes all listeners for this object",
165 "isConstructor" : false,
167 "memberOf" : "Roo.util.Observable",
179 "desc" : "Appends an event handler to this element (shorthand for addListener)",
181 "isConstructor" : false,
183 "memberOf" : "Roo.util.Observable",
190 "name" : "eventName",
192 "desc" : "The type of event to listen for",
198 "desc" : "The method the event invokes",
204 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
210 "desc" : "(optional)",
219 "desc" : "Removes a listener (shorthand for removeListener)",
221 "isConstructor" : false,
223 "memberOf" : "Roo.util.Observable",
230 "name" : "eventName",
232 "desc" : "The type of event to listen for",
238 "desc" : "The handler to remove",
244 "desc" : "(optional) The scope (this object) for the handler",
252 "name" : "addEvents",
253 "desc" : "Used to define events on this Observable",
255 "isConstructor" : false,
257 "memberOf" : "Roo.util.Observable",
266 "desc" : "The object with the events defined",
274 "name" : "releaseCapture",
275 "desc" : "Removes <b>all</b> added captures from the Observable.",
277 "isConstructor" : false,
279 "memberOf" : "Roo.util.Observable",
287 "type" : "Observable",
288 "desc" : "The Observable to release",
296 "name" : "removeListener",
297 "desc" : "Removes a listener",
299 "isConstructor" : false,
301 "memberOf" : "Roo.util.Observable",
308 "name" : "eventName",
310 "desc" : "The type of event to listen for",
316 "desc" : "The handler to remove",
322 "desc" : "(optional) The scope (this object) for the handler",
330 "name" : "fireEvent",
331 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
333 "isConstructor" : false,
335 "memberOf" : "Roo.util.Observable",
342 "name" : "eventName",
349 "type" : "Object...",
350 "desc" : "Variable number of parameters are passed to handlers",
358 "desc" : "returns false if any of the handlers return false otherwise it returns true"
363 "name" : "hasListener",
364 "desc" : "Checks to see if this object has any listeners for a specified event",
366 "isConstructor" : false,
368 "memberOf" : "Roo.util.Observable",
375 "name" : "eventName",
377 "desc" : "The name of the event to check for",
385 "desc" : "True if the event is being listened for, else false"
391 "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.",
393 "isConstructor" : false,
395 "memberOf" : "Roo.util.Observable",
403 "type" : "Observable",
404 "desc" : "The Observable to capture",
410 "desc" : "The function to call",
416 "desc" : "(optional) The scope (this object) for the fn",
424 "name" : "addListener",
425 "desc" : "Appends an event handler to this component",
427 "isConstructor" : false,
429 "memberOf" : "Roo.util.Observable",
436 "name" : "eventName",
438 "desc" : "The type of event to listen for",
444 "desc" : "The method the event invokes",
450 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
456 "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>",
466 "name" : "selectionchange",
467 "desc" : "Fires when the selected nodes change",
468 "memberOf" : "Roo.tree.MultiSelectionModel",
476 "type" : "MultiSelectionModel",
483 "desc" : "Array of the selected nodes",