1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.tree.DefaultSelectionModel</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.tree.DefaultSelectionModel-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.tree.DefaultSelectionModel-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.tree.DefaultSelectionModel-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.tree.DefaultSelectionModel-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.tree.DefaultSelectionModel
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
57 Class Roo.tree.DefaultSelectionModel
60 <table cellspacing="0" class="class-summary-table">
62 <tr><td class="label">Package:</td><td class="hd-info">Roo.tree</td></tr>
64 <tr><td class="label">Defined In:</td><td class="hd-info">
66 <a href="./src/Roo_tree_TreeSelectionModel.js.html">Roo/tree/TreeSelectionModel.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">DefaultSelectionModel</td></tr>
74 <tr><td class="label">Extends:</td><td class="hd-info">
75 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
83 <!-- ============================== class summary ========================== -->
84 <div class="description">
85 The default single selection for a TreePanel.
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.tree.DefaultSelectionModel';">[Add Your comment/notes about this class]</u>
95 <iframe frameborder="0" id="comments-Roo.tree" style="border: none;width:100%;"
96 src="/blog.php/GtkDjsComments/Roo.tree.DefaultSelectionModel.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.tree.DefaultSelectionModel-configs"></a>
113 <table cellspacing="0" class="member-table">
114 <caption>Config Options (Usually are also Properties)</caption>
118 <th class="sig-header" colspan="2">Options</th>
120 <th class="msource-header">Defined By</th>
127 <tr class="config-row expandable config-row-alt0">
128 <td class="micon"><a class="exi" href="#expand"> </a></td>
131 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
132 <div class="fixedFont">
133 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
139 <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> .</div>
143 <div class="long">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> ..... <br/> } ,<br/> .... <br/> } <br/> </code></pre></div>
151 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
167 <!-- ============================== public properties ==================== -->
171 <a id="Roo.tree.DefaultSelectionModel-props"></a>
177 <table cellspacing="0" class="member-table">
178 <caption class="Empty">Public Properties - Has None</caption>
184 <!-- ============================== methods summary / details ======================== -->
187 <a id="Roo.tree.DefaultSelectionModel-methods"></a>
188 <!-- constructor?? -->
195 <!-- then dynamics first -->
202 <table cellspacing="0" class="member-table">
203 <caption>Public Methods</caption>
205 <th class="sig-header" colspan="2">Method</th>
206 <th class="msource-header">Defined By</th>
216 <tr class="method-row config-row-alt0 notInherited">
217 <td class="micon"><a class="exi" href="#expand"> </a></td>
221 <a id="Roo.tree-method-DefaultSelectionModel" name=".DefaultSelectionModel"></a>
222 <div class="fixedFont">
223 <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">DefaultSelectionModel</b>
233 <div class="short">Create a new Roo.tree.DefaultSelectionModel</div>
240 Create a new Roo.tree.DefaultSelectionModel
263 <tr class="method-row config-row-alt1 expandable">
264 <td class="micon"><a class="exi" href="#expand"> </a></td>
268 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
269 <div class="fixedFont">
270 <span class="attributes"></span><b class="itemname">addEvents</b>
272 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
279 <div class="short">Used to define events on this Observable</div>
285 Used to define events on this Observable
292 <dl class="detailList">
293 <dt class="heading">Parameters:</dt>
296 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>object</b>
299 <dd>The object with the events defined</dd>
319 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
325 <tr class="method-row config-row-alt0 expandable">
326 <td class="micon"><a class="exi" href="#expand"> </a></td>
330 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
331 <div class="fixedFont">
332 <span class="attributes"></span><b class="itemname">addListener</b>
334 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
341 <div class="short">Appends an event handler to this component</div>
347 Appends an event handler to this component
354 <dl class="detailList">
355 <dt class="heading">Parameters:</dt>
358 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
361 <dd>The type of event to listen for</dd>
364 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
367 <dd>The method the event invokes</dd>
370 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
373 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
376 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
379 <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/> <pre><code><br/> el.on('click', this.onClick, this, {<br/> single: true,<br/> delay: 100,<br/> forumId: 4<br/> });<br/> </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/> el.on({<br/> 'click': {<br/> fn: this.onClick,<br/> scope: this,<br/> delay: 100<br/> }, <br/> 'mouseover': {<br/> fn: this.onMouseOver,<br/> scope: this<br/> },<br/> 'mouseout': {<br/> fn: this.onMouseOut,<br/> scope: this<br/> }<br/> });<br/> </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/> <pre><code><br/> el.on({<br/> 'click': this.onClick,<br/> 'mouseover': this.onMouseOver,<br/> 'mouseout': this.onMouseOut,<br/> scope: this<br/> });<br/> </code></pre></dd>
399 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
405 <tr class="method-row config-row-alt1 expandable notInherited">
406 <td class="micon"><a class="exi" href="#expand"> </a></td>
410 <a id="Roo.tree.DefaultSelectionModel-method-clearSelections" name=".clearSelections"></a>
411 <div class="fixedFont">
412 <span class="attributes"></span><b class="itemname">clearSelections</b>
421 <div class="short">Clear all selections</div>
450 Roo.tree.DefaultSelectionModel
456 <tr class="method-row config-row-alt0 expandable">
457 <td class="micon"><a class="exi" href="#expand"> </a></td>
461 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
462 <div class="fixedFont">
463 <span class="attributes"></span><b class="itemname">fireEvent</b>
465 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>)
471 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
480 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
486 Fires the specified event with the passed parameters (minus the event name).
493 <dl class="detailList">
494 <dt class="heading">Parameters:</dt>
497 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
503 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span> <b>args</b>
506 <dd>Variable number of parameters are passed to handlers</dd>
514 <dl class="detailList">
515 <dt class="heading">Returns:</dt>
517 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> returns false if any of the handlers return false otherwise it returns true</dd>
533 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
539 <tr class="method-row config-row-alt1 expandable notInherited">
540 <td class="micon"><a class="exi" href="#expand"> </a></td>
544 <a id="Roo.tree.DefaultSelectionModel-method-getSelectedNode" name=".getSelectedNode"></a>
545 <div class="fixedFont">
546 <span class="attributes"></span><b class="itemname">getSelectedNode</b>
563 <div class="short">Get the selected node</div>
569 Get the selected node
580 <dl class="detailList">
581 <dt class="heading">Returns:</dt>
583 <dd><span class="fixedFont">TreeNode</span> The selected node</dd>
599 Roo.tree.DefaultSelectionModel
605 <tr class="method-row config-row-alt0 expandable">
606 <td class="micon"><a class="exi" href="#expand"> </a></td>
610 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
611 <div class="fixedFont">
612 <span class="attributes"></span><b class="itemname">hasListener</b>
614 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
620 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
629 <div class="short">Checks to see if this object has any listeners for a specified event</div>
635 Checks to see if this object has any listeners for a specified event
642 <dl class="detailList">
643 <dt class="heading">Parameters:</dt>
646 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
649 <dd>The name of the event to check for</dd>
657 <dl class="detailList">
658 <dt class="heading">Returns:</dt>
660 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the event is being listened for, else false</dd>
676 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
682 <tr class="method-row config-row-alt1 expandable notInherited">
683 <td class="micon"><a class="exi" href="#expand"> </a></td>
687 <a id="Roo.tree.DefaultSelectionModel-method-isSelected" name=".isSelected"></a>
688 <div class="fixedFont">
689 <span class="attributes"></span><b class="itemname">isSelected</b>
691 (TreeNode <B><i>node</i></B>)
697 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
706 <div class="short">Returns true if the node is selected</div>
712 Returns true if the node is selected
719 <dl class="detailList">
720 <dt class="heading">Parameters:</dt>
723 <span class="fixedFont">TreeNode</span> <b>node</b>
726 <dd>The node to check</dd>
734 <dl class="detailList">
735 <dt class="heading">Returns:</dt>
737 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
753 Roo.tree.DefaultSelectionModel
759 <tr class="method-row config-row-alt0 expandable">
760 <td class="micon"><a class="exi" href="#expand"> </a></td>
764 <a id="Roo.util.Observable-method-on" name=".on"></a>
765 <div class="fixedFont">
766 <span class="attributes"></span><b class="itemname">on</b>
768 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
775 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
781 Appends an event handler to this element (shorthand for addListener)
788 <dl class="detailList">
789 <dt class="heading">Parameters:</dt>
792 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
795 <dd>The type of event to listen for</dd>
798 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
801 <dd>The method the event invokes</dd>
804 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
807 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
810 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
833 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
839 <tr class="method-row config-row-alt1 expandable">
840 <td class="micon"><a class="exi" href="#expand"> </a></td>
844 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
845 <div class="fixedFont">
846 <span class="attributes"></span><b class="itemname">purgeListeners</b>
855 <div class="short">Removes all listeners for this object</div>
861 Removes all listeners for this object
884 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
890 <tr class="method-row config-row-alt0 expandable">
891 <td class="micon"><a class="exi" href="#expand"> </a></td>
895 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
896 <div class="fixedFont">
897 <span class="attributes"></span><b class="itemname">removeListener</b>
899 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
906 <div class="short">Removes a listener</div>
919 <dl class="detailList">
920 <dt class="heading">Parameters:</dt>
923 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
926 <dd>The type of event to listen for</dd>
929 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
932 <dd>The handler to remove</dd>
935 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
938 <dd>(optional) The scope (this object) for the handler</dd>
958 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
964 <tr class="method-row config-row-alt1 expandable notInherited">
965 <td class="micon"><a class="exi" href="#expand"> </a></td>
969 <a id="Roo.tree.DefaultSelectionModel-method-select" name=".select"></a>
970 <div class="fixedFont">
971 <span class="attributes"></span><b class="itemname">select</b>
973 (TreeNode <B><i>node</i></B>)
988 <div class="short">Select a node.</div>
1001 <dl class="detailList">
1002 <dt class="heading">Parameters:</dt>
1005 <span class="fixedFont">TreeNode</span> <b>node</b>
1008 <dd>The node to select</dd>
1016 <dl class="detailList">
1017 <dt class="heading">Returns:</dt>
1019 <dd><span class="fixedFont">TreeNode</span> The selected node</dd>
1033 <td class="msource">
1035 Roo.tree.DefaultSelectionModel
1041 <tr class="method-row config-row-alt0 expandable notInherited">
1042 <td class="micon"><a class="exi" href="#expand"> </a></td>
1046 <a id="Roo.tree.DefaultSelectionModel-method-selectNext" name=".selectNext"></a>
1047 <div class="fixedFont">
1048 <span class="attributes"></span><b class="itemname">selectNext</b>
1065 <div class="short">Selects the node above the selected node in the tree, intelligently walking the nodes</div>
1071 Selects the node above the selected node in the tree, intelligently walking the nodes
1082 <dl class="detailList">
1083 <dt class="heading">Returns:</dt>
1085 <dd> TreeNode The new selection</dd>
1099 <td class="msource">
1101 Roo.tree.DefaultSelectionModel
1107 <tr class="method-row config-row-alt1 expandable notInherited">
1108 <td class="micon"><a class="exi" href="#expand"> </a></td>
1112 <a id="Roo.tree.DefaultSelectionModel-method-selectPrevious" name=".selectPrevious"></a>
1113 <div class="fixedFont">
1114 <span class="attributes"></span><b class="itemname">selectPrevious</b>
1131 <div class="short">Selects the node above the selected node in the tree, intelligently walking the nodes</div>
1137 Selects the node above the selected node in the tree, intelligently walking the nodes
1148 <dl class="detailList">
1149 <dt class="heading">Returns:</dt>
1151 <dd> TreeNode The new selection</dd>
1165 <td class="msource">
1167 Roo.tree.DefaultSelectionModel
1173 <tr class="method-row config-row-alt0 expandable">
1174 <td class="micon"><a class="exi" href="#expand"> </a></td>
1178 <a id="Roo.util.Observable-method-un" name=".un"></a>
1179 <div class="fixedFont">
1180 <span class="attributes"></span><b class="itemname">un</b>
1182 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
1189 <div class="short">Removes a listener (shorthand for removeListener)</div>
1195 Removes a listener (shorthand for removeListener)
1202 <dl class="detailList">
1203 <dt class="heading">Parameters:</dt>
1206 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1209 <dd>The type of event to listen for</dd>
1212 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1215 <dd>The handler to remove</dd>
1218 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1221 <dd>(optional) The scope (this object) for the handler</dd>
1239 <td class="msource">
1241 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1247 <tr class="method-row config-row-alt1 expandable notInherited">
1248 <td class="micon"><a class="exi" href="#expand"> </a></td>
1252 <a id="Roo.tree.DefaultSelectionModel-method-unselect" name=".unselect"></a>
1253 <div class="fixedFont">
1254 <span class="attributes"></span><b class="itemname">unselect</b>
1256 (TreeNode <B><i>node</i></B>)
1263 <div class="short">Deselect a node.</div>
1276 <dl class="detailList">
1277 <dt class="heading">Parameters:</dt>
1280 <span class="fixedFont">TreeNode</span> <b>node</b>
1283 <dd>The node to unselect</dd>
1301 <td class="msource">
1303 Roo.tree.DefaultSelectionModel
1312 <!-- ============================== events summary / details ======================== -->
1315 <a id="Roo.tree.DefaultSelectionModel-events"></a>
1324 <table cellspacing="0" class="member-table">
1325 <caption>Events</caption>
1328 <th class="sig-header" colspan="2">Event</th>
1329 <th class="msource-header">Defined By</th>
1338 <tr class="method-row expandable config-row-alt0 notInherited">
1339 <td class="micon"><a class="exi" href="#expand"> </a></td>
1342 <a id="Roo.tree.DefaultSelectionModel-event-*beforeselect"></a>
1344 <div class="fixedFont">
1345 <b class="itemname">beforeselect</b> (DefaultSelectionModel <B><i>this</i></B>, TreeNode <B><i>node</i></B>, TreeNode <B><i>node</i></B>)
1351 <div class="short">Fires before the selected node changes, return false to cancel the change
1357 Fires before the selected node changes, return false to cancel the change
1363 <dl class="detailList">
1364 <dt class="heading">Parameters:</dt>
1367 <span class="fixedFont">DefaultSelectionModel</span> <b>this</b>
1373 <span class="fixedFont">TreeNode</span> <b>node</b>
1376 <dd>the new selection</dd>
1379 <span class="fixedFont">TreeNode</span> <b>node</b>
1382 <dd>the old selection</dd>
1400 <td class="msource">
1401 Roo.tree.DefaultSelectionModel
1405 <tr class="method-row expandable config-row-alt1 notInherited">
1406 <td class="micon"><a class="exi" href="#expand"> </a></td>
1409 <a id="Roo.tree.DefaultSelectionModel-event-*selectionchange"></a>
1411 <div class="fixedFont">
1412 <b class="itemname">selectionchange</b> (DefaultSelectionModel <B><i>this</i></B>, TreeNode <B><i>node</i></B>)
1418 <div class="short">Fires when the selected node changes
1424 Fires when the selected node changes
1430 <dl class="detailList">
1431 <dt class="heading">Parameters:</dt>
1434 <span class="fixedFont">DefaultSelectionModel</span> <b>this</b>
1440 <span class="fixedFont">TreeNode</span> <b>node</b>
1443 <dd>the new selection</dd>
1461 <td class="msource">
1462 Roo.tree.DefaultSelectionModel
1473 <!-- ============================== footer ================================= -->
1474 <div class="fineprint" style="clear:both">
1476 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Aug 15 2011 16:40:30 GMT+0800 (HKT)
1478 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>