+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
- <head>
- <meta http-equiv="content-type" content="text/html; charset=undefined" />
- <meta name="generator" content="JsDoc Toolkit" />
-
-
- <title>JsDoc Reference - Roo.tree.DefaultSelectionModel</title>
-
-
- <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
- <link rel="stylesheet" type="text/css" href="../default.css" />
-
-
- <script type="text/javascript" src="../page.js">
-
- </script>
-
-
- </head>
-
- <body onload="RooDocsPage.onload();">
-
-
-<div class="body-wrap">
-
- <!-- ============================== links to methods. ================================= -->
-
- <div class="top-tools">
- <!--
- <a class="inner-link" href="#Roo.tree.DefaultSelectionModel-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
- <a class="inner-link" href="#Roo.tree.DefaultSelectionModel-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
- <a class="inner-link" href="#Roo.tree.DefaultSelectionModel-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
- <a class="inner-link" href="#Roo.tree.DefaultSelectionModel-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
- <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
- -->
- </div>
-
-
-<!-- ============================== inheritance Block. ================================= -->
-
- <div class="inheritance res-block">
- <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-<img src="../../images/default/s.gif" height="1" width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.tree.DefaultSelectionModel
-
- </pre>
- </div>
-
-<!-- ============================== class title / details ============================ -->
-
-
- <h1 class="classTitle">
-
- Class Roo.tree.DefaultSelectionModel
- </h1>
-
- <table cellspacing="0" class="class-summary-table">
-
- <tr><td class="label">Package:</td><td class="hd-info">Roo.tree</td></tr>
-
- <tr><td class="label">Defined In:</td><td class="hd-info">
-
- <a href="./src/Roo_tree_TreeSelectionModel.js.html">Roo/tree/TreeSelectionModel.js</a>.
-
- </td></tr>
- <tr><td class="label">Class:</td><td class="hd-info">DefaultSelectionModel</td></tr>
-
-
-
-
- <tr><td class="label">Extends:</td><td class="hd-info">
- <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-
- </td></tr>
-
-
- </table>
-
-
-<!-- ============================== class summary ========================== -->
- <div class="description">
- The default single selection for a TreePanel.
- </div>
-
-
-<!-- ============================== Class comment block... ========================== -->
-
-<div class="comments">
- <b>Class Comments / Notes</B> =>
- <u onclick="parent.CommentDialog.showCommentId = 'Roo.tree.DefaultSelectionModel';">[Add Your comment/notes about this class]</u>
- <br/>
- <iframe frameborder="0" id="comments-Roo.tree" style="border: none;width:100%;"
- src="/blog.php/GtkDjsComments/Roo.tree.DefaultSelectionModel.html"></iframe>
-</div>
-
-
-
-<!-- ============================== config options ========================== -->
-
-
-
-
- <div class="hr"></div>
- <a id="Roo.tree.DefaultSelectionModel-configs"></a>
-
-
-
-
-
- <table cellspacing="0" class="member-table">
- <caption>Config Options (Usually are also Properties)</caption>
-
-
- <tr>
- <th class="sig-header" colspan="2">Options</th>
-
- <th class="msource-header">Defined By</th>
- </tr>
-
-
-
-
-
- <tr class="config-row expandable config-row-alt0">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
-
- <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
- <div class="fixedFont">
- <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
-
-
- </div>
-
- <div class="mdesc">
- <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>
- </div>
-
- <div class="mdesc">
- <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>
- </div>
-
-
-
- </td>
- <td class="msource">
-
- <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-
- </td>
- </tr>
-
-
- </table>
-
-
-
-
-
-
-
-
-
- <!-- ============================== public properties ==================== -->
-
-
-
- <a id="Roo.tree.DefaultSelectionModel-props"></a>
-
-
-
-
-
- <table cellspacing="0" class="member-table">
- <caption class="Empty">Public Properties - Has None</caption>
- </table>
-
-
-
-
- <!-- ============================== methods summary / details ======================== -->
-
-
- <a id="Roo.tree.DefaultSelectionModel-methods"></a>
- <!-- constructor?? -->
-
- <!-- static's first
-
-
- -->
-
- <!-- then dynamics first -->
-
-
-
-
-
-
- <table cellspacing="0" class="member-table">
- <caption>Public Methods</caption>
- <tr>
- <th class="sig-header" colspan="2">Method</th>
- <th class="msource-header">Defined By</th>
-
- </tr>
-
-
-
-
-
-
-
- <tr class="method-row config-row-alt0 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.tree-method-DefaultSelectionModel" name=".DefaultSelectionModel"></a>
- <div class="fixedFont">
- <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">DefaultSelectionModel</b>
-
- (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>cfg</i></B>)
-
-
-
- </div>
- <div class="mdesc">
-
-
- <div class="short">Create a new Roo.tree.DefaultSelectionModel</div>
-
-
- <div class="long">
-
-
-
- Create a new Roo.tree.DefaultSelectionModel
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>cfg</b>
-
- </dt>
- <dd>Configuration</dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">addEvents</b>
-
- (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Used to define events on this Observable</div>
-
-
-
- <div class="long">
-
- Used to define events on this Observable
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <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>
-
- </dt>
- <dd>The object with the events defined</dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">addListener</b>
-
- (<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>)
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Appends an event handler to this component</div>
-
-
-
- <div class="long">
-
- Appends an event handler to this component
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
-
- </dt>
- <dd>The type of event to listen for</dd>
-
- <dt>
- <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
-
- </dt>
- <dd>The method the event invokes</dd>
-
- <dt>
- <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>
-
- </dt>
- <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
-
- <dt>
- <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>
-
- </dt>
- <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>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.tree.DefaultSelectionModel-method-clearSelections" name=".clearSelections"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">clearSelections</b>
-
- ()
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Clear all selections</div>
-
-
-
- <div class="long">
-
- Clear all selections
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.tree.DefaultSelectionModel
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">fireEvent</b>
-
- (<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>)
-
-
- :
-
-
- <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
-
-
-
- <div class="long">
-
- Fires the specified event with the passed parameters (minus the event name).
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
-
- </dt>
- <dd></dd>
-
- <dt>
- <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>
-
- </dt>
- <dd>Variable number of parameters are passed to handlers</dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <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>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.tree.DefaultSelectionModel-method-getSelectedNode" name=".getSelectedNode"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">getSelectedNode</b>
-
- ()
-
-
- :
-
-
- TreeNode
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Get the selected node</div>
-
-
-
- <div class="long">
-
- Get the selected node
-
-
-
-
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont">TreeNode</span> The selected node</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.tree.DefaultSelectionModel
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">hasListener</b>
-
- (<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:Boolean">Boolean</a>
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Checks to see if this object has any listeners for a specified event</div>
-
-
-
- <div class="long">
-
- Checks to see if this object has any listeners for a specified event
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
-
- </dt>
- <dd>The name of the event to check for</dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <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>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.tree.DefaultSelectionModel-method-isSelected" name=".isSelected"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">isSelected</b>
-
- (TreeNode <B><i>node</i></B>)
-
-
- :
-
-
- <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Returns true if the node is selected</div>
-
-
-
- <div class="long">
-
- Returns true if the node is selected
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont">TreeNode</span> <b>node</b>
-
- </dt>
- <dd>The node to check</dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.tree.DefaultSelectionModel
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.util.Observable-method-on" name=".on"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">on</b>
-
- (<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>)
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
-
-
-
- <div class="long">
-
- Appends an event handler to this element (shorthand for addListener)
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
-
- </dt>
- <dd>The type of event to listen for</dd>
-
- <dt>
- <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
-
- </dt>
- <dd>The method the event invokes</dd>
-
- <dt>
- <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>
-
- </dt>
- <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
-
- <dt>
- <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>
-
- </dt>
- <dd>(optional)</dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">purgeListeners</b>
-
- ()
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Removes all listeners for this object</div>
-
-
-
- <div class="long">
-
- Removes all listeners for this object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">removeListener</b>
-
- (<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>)
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Removes a listener</div>
-
-
-
- <div class="long">
-
- Removes a listener
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
-
- </dt>
- <dd>The type of event to listen for</dd>
-
- <dt>
- <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
-
- </dt>
- <dd>The handler to remove</dd>
-
- <dt>
- <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>
-
- </dt>
- <dd>(optional) The scope (this object) for the handler</dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.tree.DefaultSelectionModel-method-select" name=".select"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">select</b>
-
- (TreeNode <B><i>node</i></B>)
-
-
- :
-
-
- TreeNode
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Select a node.</div>
-
-
-
- <div class="long">
-
- Select a node.
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont">TreeNode</span> <b>node</b>
-
- </dt>
- <dd>The node to select</dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont">TreeNode</span> The selected node</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.tree.DefaultSelectionModel
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.tree.DefaultSelectionModel-method-selectNext" name=".selectNext"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">selectNext</b>
-
- ()
-
-
- :
-
-
-
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Selects the node above the selected node in the tree, intelligently walking the nodes</div>
-
-
-
- <div class="long">
-
- Selects the node above the selected node in the tree, intelligently walking the nodes
-
-
-
-
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd> TreeNode The new selection</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.tree.DefaultSelectionModel
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.tree.DefaultSelectionModel-method-selectPrevious" name=".selectPrevious"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">selectPrevious</b>
-
- ()
-
-
- :
-
-
-
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Selects the node above the selected node in the tree, intelligently walking the nodes</div>
-
-
-
- <div class="long">
-
- Selects the node above the selected node in the tree, intelligently walking the nodes
-
-
-
-
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd> TreeNode The new selection</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.tree.DefaultSelectionModel
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.util.Observable-method-un" name=".un"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">un</b>
-
- (<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>)
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Removes a listener (shorthand for removeListener)</div>
-
-
-
- <div class="long">
-
- Removes a listener (shorthand for removeListener)
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
-
- </dt>
- <dd>The type of event to listen for</dd>
-
- <dt>
- <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
-
- </dt>
- <dd>The handler to remove</dd>
-
- <dt>
- <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>
-
- </dt>
- <dd>(optional) The scope (this object) for the handler</dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.tree.DefaultSelectionModel-method-unselect" name=".unselect"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">unselect</b>
-
- (TreeNode <B><i>node</i></B>)
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Deselect a node.</div>
-
-
-
- <div class="long">
-
- Deselect a node.
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont">TreeNode</span> <b>node</b>
-
- </dt>
- <dd>The node to unselect</dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.tree.DefaultSelectionModel
-
- </td>
- </tr>
-
-
- </table>
-
-
- <!-- ============================== events summary / details ======================== -->
-
-
- <a id="Roo.tree.DefaultSelectionModel-events"></a>
-
-
-
-
-
-
-
-
- <table cellspacing="0" class="member-table">
- <caption>Events</caption>
- <thead>
- <tr>
- <th class="sig-header" colspan="2">Event</th>
- <th class="msource-header">Defined By</th>
-
- </tr>
- </thead>
-
-
-
-
-
- <tr class="method-row expandable config-row-alt0 notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
- <td class="sig">
- <a id="Roo.tree.DefaultSelectionModel-event-*beforeselect"></a>
-
- <div class="fixedFont">
- <b class="itemname">beforeselect</b> (DefaultSelectionModel <B><i>this</i></B>, TreeNode <B><i>node</i></B>, TreeNode <B><i>node</i></B>)
-
- </div>
-
- <div class="mdesc">
-
- <div class="short">Fires before the selected node changes, return false to cancel the change
-
- </div>
-
- <div class="long">
-
- Fires before the selected node changes, return false to cancel the change
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont">DefaultSelectionModel</span> <b>this</b>
-
- </dt>
- <dd></dd>
-
- <dt>
- <span class="fixedFont">TreeNode</span> <b>node</b>
-
- </dt>
- <dd>the new selection</dd>
-
- <dt>
- <span class="fixedFont">TreeNode</span> <b>node</b>
-
- </dt>
- <dd>the old selection</dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
- Roo.tree.DefaultSelectionModel
- </td>
- </tr>
-
- <tr class="method-row expandable config-row-alt1 notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
- <td class="sig">
- <a id="Roo.tree.DefaultSelectionModel-event-*selectionchange"></a>
-
- <div class="fixedFont">
- <b class="itemname">selectionchange</b> (DefaultSelectionModel <B><i>this</i></B>, TreeNode <B><i>node</i></B>)
-
- </div>
-
- <div class="mdesc">
-
- <div class="short">Fires when the selected node changes
-
- </div>
-
- <div class="long">
-
- Fires when the selected node changes
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont">DefaultSelectionModel</span> <b>this</b>
-
- </dt>
- <dd></dd>
-
- <dt>
- <span class="fixedFont">TreeNode</span> <b>node</b>
-
- </dt>
- <dd>the new selection</dd>
-
- </dl>
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
- Roo.tree.DefaultSelectionModel
- </td>
- </tr>
-
-
- </table>
-
-
-
-
-
-<!-- ============================== footer ================================= -->
- <div class="fineprint" style="clear:both">
-
- Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Jul 13 2018 14:10:55 GMT+0800 (HKT)
- Based on
- <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>
- </div>
- </body>
-</html>