2 "name" : "Roo.tree.MultiSelectionModel",
6 "desc" : "Multi selection for a TreePanel.",
14 "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>",
15 "memberOf" : "Roo.util.Observable",
22 "name" : "getSelectedNodes",
23 "desc" : "Returns an array of the selected nodes",
25 "isConstructor" : false,
27 "memberOf" : "Roo.tree.MultiSelectionModel",
43 "name" : "clearSelections",
44 "desc" : "Clear all selections",
46 "isConstructor" : false,
48 "memberOf" : "Roo.tree.MultiSelectionModel",
59 "name" : "isSelected",
60 "desc" : "Returns true if the node is selected",
62 "isConstructor" : false,
64 "memberOf" : "Roo.tree.MultiSelectionModel",
73 "desc" : "The node to check",
87 "desc" : "Deselect a node.",
89 "isConstructor" : false,
91 "memberOf" : "Roo.tree.MultiSelectionModel",
100 "desc" : "The node to unselect",
109 "desc" : "Select a node.",
111 "isConstructor" : false,
113 "memberOf" : "Roo.tree.MultiSelectionModel",
122 "desc" : "The node to select",
127 "type" : "EventObject",
128 "desc" : "(optional) An event associated with the selection",
132 "name" : "keepExisting",
134 "desc" : "True to retain existing selections",
142 "desc" : "The selected node"
147 "name" : "purgeListeners",
148 "desc" : "Removes all listeners for this object",
150 "isConstructor" : false,
152 "memberOf" : "Roo.util.Observable",
164 "desc" : "Appends an event handler to this element (shorthand for addListener)",
166 "isConstructor" : false,
168 "memberOf" : "Roo.util.Observable",
175 "name" : "eventName",
177 "desc" : "The type of event to listen for",
183 "desc" : "The method the event invokes",
189 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
195 "desc" : "(optional)",
204 "desc" : "Removes a listener (shorthand for removeListener)",
206 "isConstructor" : false,
208 "memberOf" : "Roo.util.Observable",
215 "name" : "eventName",
217 "desc" : "The type of event to listen for",
223 "desc" : "The handler to remove",
229 "desc" : "(optional) The scope (this object) for the handler",
237 "name" : "addEvents",
238 "desc" : "Used to define events on this Observable",
240 "isConstructor" : false,
242 "memberOf" : "Roo.util.Observable",
251 "desc" : "The object with the events defined",
259 "name" : "releaseCapture",
260 "desc" : "Removes <b>all</b> added captures from the Observable.",
262 "isConstructor" : false,
264 "memberOf" : "Roo.util.Observable",
272 "type" : "Observable",
273 "desc" : "The Observable to release",
281 "name" : "removeListener",
282 "desc" : "Removes a listener",
284 "isConstructor" : false,
286 "memberOf" : "Roo.util.Observable",
293 "name" : "eventName",
295 "desc" : "The type of event to listen for",
301 "desc" : "The handler to remove",
307 "desc" : "(optional) The scope (this object) for the handler",
315 "name" : "fireEvent",
316 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
318 "isConstructor" : false,
320 "memberOf" : "Roo.util.Observable",
327 "name" : "eventName",
334 "type" : "Object...",
335 "desc" : "Variable number of parameters are passed to handlers",
343 "desc" : "returns false if any of the handlers return false otherwise it returns true"
348 "name" : "hasListener",
349 "desc" : "Checks to see if this object has any listeners for a specified event",
351 "isConstructor" : false,
353 "memberOf" : "Roo.util.Observable",
360 "name" : "eventName",
362 "desc" : "The name of the event to check for",
370 "desc" : "True if the event is being listened for, else false"
376 "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.",
378 "isConstructor" : false,
380 "memberOf" : "Roo.util.Observable",
388 "type" : "Observable",
389 "desc" : "The Observable to capture",
395 "desc" : "The function to call",
401 "desc" : "(optional) The scope (this object) for the fn",
409 "name" : "addListener",
410 "desc" : "Appends an event handler to this component",
412 "isConstructor" : false,
414 "memberOf" : "Roo.util.Observable",
421 "name" : "eventName",
423 "desc" : "The type of event to listen for",
429 "desc" : "The method the event invokes",
435 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
441 "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",
461 "type" : "MultiSelectionModel",
468 "desc" : "Array of the selected nodes",