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.View</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.View-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.View-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.View-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.View-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.View
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
60 <table cellspacing="0" class="class-summary-table">
62 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
64 <tr><td class="label">Defined In:</td><td class="hd-info">
66 <a href="./src/Roo_View.js.html">Roo/View.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">View</td></tr>
72 <tr><td class="label">Subclasses:</td><td class="hd-info">
73 <a href="./Roo.JsonView.html#constructor" roo:cls="Roo.JsonView.html#constructor">Roo.JsonView</a>
81 <tr><td class="label">Extends:</td><td class="hd-info">
82 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
90 <!-- ============================== class summary ========================== -->
91 <div class="description">
92 Create a "View" for an element based on a data model or UpdateManager and the supplied DomHelper template. <br/>This class also supports single and multi selection modes. <br><br/>Create a data model bound view:<br/> <pre><code><br/> var store = new Roo.data.Store(...);<br/><br/> var view = new Roo.View({<br/> el : "my-element",<br/> tpl : '<div id="{0}">{2} - {1}</div>', // auto create template<br/> <br/> singleSelect: true,<br/> selectedClass: "ydataview-selected",<br/> store: store<br/> });<br/><br/> // listen for node click?<br/> view.on("click", function(vw, index, node, e){<br/> alert('Node "' + node.id + '" at index: ' + index + " was clicked.");<br/> });<br/><br/> // load XML data<br/> dataModel.load("foobar.xml");<br/> </code></pre><br/> For an example of creating a JSON/UpdateManager view, see {<b>link</b> Roo.JsonView}.<br/><br><br><br/><b>Note: The root of your template must be a single node. Table/row implementations may work but are not supported due to<br/>IE"s limited insertion support with tables and Opera"s faulty event bubbling.</b><br/><br/>Note: old style constructor is still suported (container, template, config)
96 <!-- ============================== Class comment block... ========================== -->
98 <div class="comments">
99 <b>Class Comments / Notes</B> =>
100 <u onclick="parent.CommentDialog.showCommentId = 'Roo.View';">[Add Your comment/notes about this class]</u>
102 <iframe frameborder="0" id="comments-Roo" style="border: none;width:100%;"
103 src="/blog.php/GtkDjsComments/Roo.View.html"></iframe>
108 <!-- ============================== config options ========================== -->
113 <div class="hr"></div>
114 <a id="Roo.View-configs"></a>
120 <table cellspacing="0" class="member-table">
121 <caption>Config Options (Usually are also Properties)</caption>
125 <th class="sig-header" colspan="2">Options</th>
127 <th class="msource-header">Defined By</th>
134 <tr class="config-row expandable config-row-alt0 notInherited">
135 <td class="micon"><a class="exi" href="#expand"> </a></td>
138 <a id="Roo.View-cfg-el" name=".el"></a>
139 <div class="fixedFont">
140 <b class="itemname">el</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|<a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
146 <div class="short">The container element.</div>
150 <div class="long">The container element.</div>
164 <tr class="config-row expandable config-row-alt1 notInherited">
165 <td class="micon"><a class="exi" href="#expand"> </a></td>
168 <a id="Roo.View-cfg-emptyText" name=".emptyText"></a>
169 <div class="fixedFont">
170 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
176 <div class="short">The empty text to show when nothing is loaded.</div>
180 <div class="long">The empty text to show when nothing is loaded.</div>
194 <tr class="config-row expandable config-row-alt0">
195 <td class="micon"><a class="exi" href="#expand"> </a></td>
198 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
199 <div class="fixedFont">
200 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
206 <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>
210 <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>
218 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
224 <tr class="config-row expandable config-row-alt1 notInherited">
225 <td class="micon"><a class="exi" href="#expand"> </a></td>
228 <a id="Roo.View-cfg-multiSelect" name=".multiSelect"></a>
229 <div class="fixedFont">
230 <b class="itemname">multiSelect</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
236 <div class="short">Allow multiple selection</div>
240 <div class="long">Allow multiple selection</div>
254 <tr class="config-row expandable config-row-alt0 notInherited">
255 <td class="micon"><a class="exi" href="#expand"> </a></td>
258 <a id="Roo.View-cfg-selectedClass" name=".selectedClass"></a>
259 <div class="fixedFont">
260 <b class="itemname">selectedClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
266 <div class="short">The css class to add to selected nodes</div>
270 <div class="long">The css class to add to selected nodes</div>
284 <tr class="config-row expandable config-row-alt1 notInherited">
285 <td class="micon"><a class="exi" href="#expand"> </a></td>
288 <a id="Roo.View-cfg-singleSelect" name=".singleSelect"></a>
289 <div class="fixedFont">
290 <b class="itemname">singleSelect</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
296 <div class="short">Allow single selection</div>
300 <div class="long">Allow single selection</div>
314 <tr class="config-row expandable config-row-alt0 notInherited">
315 <td class="micon"><a class="exi" href="#expand"> </a></td>
318 <a id="Roo.View-cfg-store" name=".store"></a>
319 <div class="fixedFont">
320 <b class="itemname">store</b> : <a href="./Roo.data.Store.html#constructor" roo:cls="Roo.data.Store.html#constructor">Roo.data.Store</a>
326 <div class="short">Data store to load data from.</div>
330 <div class="long">Data store to load data from.</div>
344 <tr class="config-row expandable config-row-alt1 notInherited">
345 <td class="micon"><a class="exi" href="#expand"> </a></td>
348 <a id="Roo.View-cfg-tpl" name=".tpl"></a>
349 <div class="fixedFont">
350 <b class="itemname">tpl</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|<a href="./Roo.Template.html#constructor" roo:cls="Roo.Template.html#constructor">Roo.Template</a>
356 <div class="short">The template used by this View</div>
360 <div class="long">The template used by this View</div>
384 <!-- ============================== public properties ==================== -->
388 <a id="Roo.View-props"></a>
394 <table cellspacing="0" class="member-table">
395 <caption class="Empty">Public Properties - Has None</caption>
401 <!-- ============================== methods summary / details ======================== -->
404 <a id="Roo.View-methods"></a>
405 <!-- constructor?? -->
412 <!-- then dynamics first -->
419 <table cellspacing="0" class="member-table">
420 <caption>Public Methods</caption>
422 <th class="sig-header" colspan="2">Method</th>
423 <th class="msource-header">Defined By</th>
433 <tr class="method-row config-row-alt0 expandable notInherited">
434 <td class="micon"><a class="exi" href="#expand"> </a></td>
438 <a id="Roo-method-View" name=".View"></a>
439 <div class="fixedFont">
440 <span class="attributes">new <B>Roo.</B></span><b class="itemname">View</b>
442 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
450 <div class="short">Create a new Roo.View</div>
457 Create a new Roo.View
460 <dl class="detailList">
461 <dt class="heading">Parameters:</dt>
464 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
467 <dd>The config object</dd>
491 <tr class="method-row config-row-alt1 expandable">
492 <td class="micon"><a class="exi" href="#expand"> </a></td>
496 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
497 <div class="fixedFont">
498 <span class="attributes"></span><b class="itemname">addEvents</b>
500 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
507 <div class="short">Used to define events on this Observable</div>
513 Used to define events on this Observable
520 <dl class="detailList">
521 <dt class="heading">Parameters:</dt>
524 <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>
527 <dd>The object with the events defined</dd>
547 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
553 <tr class="method-row config-row-alt0 expandable">
554 <td class="micon"><a class="exi" href="#expand"> </a></td>
558 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
559 <div class="fixedFont">
560 <span class="attributes"></span><b class="itemname">addListener</b>
562 (<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>)
569 <div class="short">Appends an event handler to this component</div>
575 Appends an event handler to this component
582 <dl class="detailList">
583 <dt class="heading">Parameters:</dt>
586 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
589 <dd>The type of event to listen for</dd>
592 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
595 <dd>The method the event invokes</dd>
598 <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>
601 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
604 <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>
607 <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>
627 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
633 <tr class="method-row config-row-alt1 expandable notInherited">
634 <td class="micon"><a class="exi" href="#expand"> </a></td>
638 <a id="Roo.View-method-clearSelections" name=".clearSelections"></a>
639 <div class="fixedFont">
640 <span class="attributes"></span><b class="itemname">clearSelections</b>
642 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>suppressEvent</i></B>)
649 <div class="short">Clear all selections</div>
662 <dl class="detailList">
663 <dt class="heading">Parameters:</dt>
666 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>suppressEvent</b>
669 <dd>(optional) true to skip firing of the selectionchange event</dd>
695 <tr class="method-row config-row-alt0 expandable notInherited">
696 <td class="micon"><a class="exi" href="#expand"> </a></td>
700 <a id="Roo.View-method-findItemFromChild" name=".findItemFromChild"></a>
701 <div class="fixedFont">
702 <span class="attributes"></span><b class="itemname">findItemFromChild</b>
704 (<a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a> <B><i>node</i></B>)
710 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
719 <div class="short">Returns the template node the passed child belongs to or null if it doesn't belong to one.</div>
725 Returns the template node the passed child belongs to or null if it doesn't belong to one.
732 <dl class="detailList">
733 <dt class="heading">Parameters:</dt>
736 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> <b>node</b>
747 <dl class="detailList">
748 <dt class="heading">Returns:</dt>
750 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> The template node</dd>
772 <tr class="method-row config-row-alt1 expandable">
773 <td class="micon"><a class="exi" href="#expand"> </a></td>
777 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
778 <div class="fixedFont">
779 <span class="attributes"></span><b class="itemname">fireEvent</b>
781 (<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>)
787 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
796 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
802 Fires the specified event with the passed parameters (minus the event name).
809 <dl class="detailList">
810 <dt class="heading">Parameters:</dt>
813 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
819 <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>
822 <dd>Variable number of parameters are passed to handlers</dd>
830 <dl class="detailList">
831 <dt class="heading">Returns:</dt>
833 <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>
849 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
855 <tr class="method-row config-row-alt0 expandable notInherited">
856 <td class="micon"><a class="exi" href="#expand"> </a></td>
860 <a id="Roo.View-method-getEl" name=".getEl"></a>
861 <div class="fixedFont">
862 <span class="attributes"></span><b class="itemname">getEl</b>
870 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
879 <div class="short">Returns the element this view is bound to.</div>
885 Returns the element this view is bound to.
896 <dl class="detailList">
897 <dt class="heading">Returns:</dt>
899 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> </dd>
921 <tr class="method-row config-row-alt1 expandable notInherited">
922 <td class="micon"><a class="exi" href="#expand"> </a></td>
926 <a id="Roo.View-method-getNode" name=".getNode"></a>
927 <div class="fixedFont">
928 <span class="attributes"></span><b class="itemname">getNode</b>
930 (<a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/String/Number <B><i>nodeInfo</i></B>)
936 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
945 <div class="short">Gets a template node.</div>
951 Gets a template node.
958 <dl class="detailList">
959 <dt class="heading">Parameters:</dt>
962 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/String/Number</span> <b>nodeInfo</b>
965 <dd>An HTMLElement template node, index of a template node or the id of a template node</dd>
973 <dl class="detailList">
974 <dt class="heading">Returns:</dt>
976 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> The node or null if it wasn't found</dd>
998 <tr class="method-row config-row-alt0 expandable notInherited">
999 <td class="micon"><a class="exi" href="#expand"> </a></td>
1003 <a id="Roo.View-method-getNodes" name=".getNodes"></a>
1004 <div class="fixedFont">
1005 <span class="attributes"></span><b class="itemname">getNodes</b>
1007 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>startIndex</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>endIndex</i></B>)
1013 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1022 <div class="short">Gets a range template nodes.</div>
1028 Gets a range template nodes.
1035 <dl class="detailList">
1036 <dt class="heading">Parameters:</dt>
1039 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>startIndex</b>
1045 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>endIndex</b>
1056 <dl class="detailList">
1057 <dt class="heading">Returns:</dt>
1059 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> An array of nodes</dd>
1073 <td class="msource">
1081 <tr class="method-row config-row-alt1 expandable notInherited">
1082 <td class="micon"><a class="exi" href="#expand"> </a></td>
1086 <a id="Roo.View-method-getSelectedIndexes" name=".getSelectedIndexes"></a>
1087 <div class="fixedFont">
1088 <span class="attributes"></span><b class="itemname">getSelectedIndexes</b>
1096 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1105 <div class="short">Get the indexes of the selected nodes.</div>
1111 Get the indexes of the selected nodes.
1122 <dl class="detailList">
1123 <dt class="heading">Returns:</dt>
1125 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> </dd>
1139 <td class="msource">
1147 <tr class="method-row config-row-alt0 expandable notInherited">
1148 <td class="micon"><a class="exi" href="#expand"> </a></td>
1152 <a id="Roo.View-method-getSelectedNodes" name=".getSelectedNodes"></a>
1153 <div class="fixedFont">
1154 <span class="attributes"></span><b class="itemname">getSelectedNodes</b>
1162 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1171 <div class="short">Get the currently selected nodes.</div>
1177 Get the currently selected nodes.
1188 <dl class="detailList">
1189 <dt class="heading">Returns:</dt>
1191 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> An array of HTMLElements</dd>
1205 <td class="msource">
1213 <tr class="method-row config-row-alt1 expandable notInherited">
1214 <td class="micon"><a class="exi" href="#expand"> </a></td>
1218 <a id="Roo.View-method-getSelectionCount" name=".getSelectionCount"></a>
1219 <div class="fixedFont">
1220 <span class="attributes"></span><b class="itemname">getSelectionCount</b>
1228 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1237 <div class="short">Get the number of selected nodes.</div>
1243 Get the number of selected nodes.
1254 <dl class="detailList">
1255 <dt class="heading">Returns:</dt>
1257 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
1271 <td class="msource">
1279 <tr class="method-row config-row-alt0 expandable">
1280 <td class="micon"><a class="exi" href="#expand"> </a></td>
1284 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1285 <div class="fixedFont">
1286 <span class="attributes"></span><b class="itemname">hasListener</b>
1288 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1294 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1303 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1309 Checks to see if this object has any listeners for a specified event
1316 <dl class="detailList">
1317 <dt class="heading">Parameters:</dt>
1320 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1323 <dd>The name of the event to check for</dd>
1331 <dl class="detailList">
1332 <dt class="heading">Returns:</dt>
1334 <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>
1348 <td class="msource">
1350 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1356 <tr class="method-row config-row-alt1 expandable notInherited">
1357 <td class="micon"><a class="exi" href="#expand"> </a></td>
1361 <a id="Roo.View-method-indexOf" name=".indexOf"></a>
1362 <div class="fixedFont">
1363 <span class="attributes"></span><b class="itemname">indexOf</b>
1365 (<a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/String/Number <B><i>nodeInfo</i></B>)
1371 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1380 <div class="short">Finds the index of the passed node</div>
1386 Finds the index of the passed node
1393 <dl class="detailList">
1394 <dt class="heading">Parameters:</dt>
1397 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/String/Number</span> <b>nodeInfo</b>
1400 <dd>An HTMLElement template node, index of a template node or the id of a template node</dd>
1408 <dl class="detailList">
1409 <dt class="heading">Returns:</dt>
1411 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The index of the node or -1</dd>
1425 <td class="msource">
1433 <tr class="method-row config-row-alt0 expandable notInherited">
1434 <td class="micon"><a class="exi" href="#expand"> </a></td>
1438 <a id="Roo.View-method-isSelected" name=".isSelected"></a>
1439 <div class="fixedFont">
1440 <span class="attributes"></span><b class="itemname">isSelected</b>
1442 (<a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/Number <B><i>node</i></B>)
1448 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1457 <div class="short">Returns true if the passed node is selected</div>
1463 Returns true if the passed node is selected
1470 <dl class="detailList">
1471 <dt class="heading">Parameters:</dt>
1474 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/Number</span> <b>node</b>
1477 <dd>The node or node index</dd>
1485 <dl class="detailList">
1486 <dt class="heading">Returns:</dt>
1488 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
1502 <td class="msource">
1510 <tr class="method-row config-row-alt1 expandable">
1511 <td class="micon"><a class="exi" href="#expand"> </a></td>
1515 <a id="Roo.util.Observable-method-on" name=".on"></a>
1516 <div class="fixedFont">
1517 <span class="attributes"></span><b class="itemname">on</b>
1519 (<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>)
1526 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1532 Appends an event handler to this element (shorthand for addListener)
1539 <dl class="detailList">
1540 <dt class="heading">Parameters:</dt>
1543 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1546 <dd>The type of event to listen for</dd>
1549 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1552 <dd>The method the event invokes</dd>
1555 <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>
1558 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1561 <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>
1582 <td class="msource">
1584 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1590 <tr class="method-row config-row-alt0 expandable notInherited">
1591 <td class="micon"><a class="exi" href="#expand"> </a></td>
1595 <a id="Roo.View-method-prepareData" name=".prepareData"></a>
1596 <div class="fixedFont">
1597 <span class="attributes"></span><b class="itemname">prepareData</b>
1599 (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object <B><i>data</i></B>)
1606 <div class="short">Function to override to reformat the data that is sent to<br/>the template for each node.</div>
1612 Function to override to reformat the data that is sent to<br/>the template for each node.
1619 <dl class="detailList">
1620 <dt class="heading">Parameters:</dt>
1623 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/Object</span> <b>data</b>
1626 <dd>The raw data (array of colData for a data model bound view or<br/>a JSON object for an UpdateManager bound view).</dd>
1644 <td class="msource">
1652 <tr class="method-row config-row-alt1 expandable">
1653 <td class="micon"><a class="exi" href="#expand"> </a></td>
1657 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1658 <div class="fixedFont">
1659 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1668 <div class="short">Removes all listeners for this object</div>
1674 Removes all listeners for this object
1695 <td class="msource">
1697 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1703 <tr class="method-row config-row-alt0 expandable notInherited">
1704 <td class="micon"><a class="exi" href="#expand"> </a></td>
1708 <a id="Roo.View-method-refresh" name=".refresh"></a>
1709 <div class="fixedFont">
1710 <span class="attributes"></span><b class="itemname">refresh</b>
1719 <div class="short">Refreshes the view.</div>
1746 <td class="msource">
1754 <tr class="method-row config-row-alt1 expandable notInherited">
1755 <td class="micon"><a class="exi" href="#expand"> </a></td>
1759 <a id="Roo.View-method-refreshNode" name=".refreshNode"></a>
1760 <div class="fixedFont">
1761 <span class="attributes"></span><b class="itemname">refreshNode</b>
1763 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
1770 <div class="short">Refresh an individual node.</div>
1776 Refresh an individual node.
1783 <dl class="detailList">
1784 <dt class="heading">Parameters:</dt>
1787 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
1808 <td class="msource">
1816 <tr class="method-row config-row-alt0 expandable">
1817 <td class="micon"><a class="exi" href="#expand"> </a></td>
1821 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1822 <div class="fixedFont">
1823 <span class="attributes"></span><b class="itemname">removeListener</b>
1825 (<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>)
1832 <div class="short">Removes a listener</div>
1845 <dl class="detailList">
1846 <dt class="heading">Parameters:</dt>
1849 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1852 <dd>The type of event to listen for</dd>
1855 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1858 <dd>The handler to remove</dd>
1861 <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>
1864 <dd>(optional) The scope (this object) for the handler</dd>
1882 <td class="msource">
1884 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1890 <tr class="method-row config-row-alt1 expandable notInherited">
1891 <td class="micon"><a class="exi" href="#expand"> </a></td>
1895 <a id="Roo.View-method-select" name=".select"></a>
1896 <div class="fixedFont">
1897 <span class="attributes"></span><b class="itemname">select</b>
1899 (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/HTMLElement/String/Number <B><i>nodeInfo</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>suppressEvent</i></B>)
1906 <div class="short">Selects nodes.</div>
1919 <dl class="detailList">
1920 <dt class="heading">Parameters:</dt>
1923 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/HTMLElement/String/Number</span> <b>nodeInfo</b>
1926 <dd>An HTMLElement template node, index of a template node, id of a template node or an array of any of those to select</dd>
1929 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>keepExisting</b>
1932 <dd>(optional) true to keep existing selections</dd>
1935 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>suppressEvent</b>
1938 <dd>(optional) true to skip firing of the selectionchange vent</dd>
1956 <td class="msource">
1964 <tr class="method-row config-row-alt0 expandable notInherited">
1965 <td class="micon"><a class="exi" href="#expand"> </a></td>
1969 <a id="Roo.View-method-setStore" name=".setStore"></a>
1970 <div class="fixedFont">
1971 <span class="attributes"></span><b class="itemname">setStore</b>
1973 (Store <B><i>store</i></B>)
1980 <div class="short">Changes the data store this view uses and refresh the view.</div>
1986 Changes the data store this view uses and refresh the view.
1993 <dl class="detailList">
1994 <dt class="heading">Parameters:</dt>
1997 <span class="fixedFont">Store</span> <b>store</b>
2018 <td class="msource">
2026 <tr class="method-row config-row-alt1 expandable">
2027 <td class="micon"><a class="exi" href="#expand"> </a></td>
2031 <a id="Roo.util.Observable-method-un" name=".un"></a>
2032 <div class="fixedFont">
2033 <span class="attributes"></span><b class="itemname">un</b>
2035 (<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>)
2042 <div class="short">Removes a listener (shorthand for removeListener)</div>
2048 Removes a listener (shorthand for removeListener)
2055 <dl class="detailList">
2056 <dt class="heading">Parameters:</dt>
2059 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2062 <dd>The type of event to listen for</dd>
2065 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2068 <dd>The handler to remove</dd>
2071 <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>
2074 <dd>(optional) The scope (this object) for the handler</dd>
2092 <td class="msource">
2094 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2103 <!-- ============================== events summary / details ======================== -->
2106 <a id="Roo.View-events"></a>
2115 <table cellspacing="0" class="member-table">
2116 <caption>Events</caption>
2119 <th class="sig-header" colspan="2">Event</th>
2120 <th class="msource-header">Defined By</th>
2129 <tr class="method-row expandable config-row-alt0 notInherited">
2130 <td class="micon"><a class="exi" href="#expand"> </a></td>
2133 <a id="Roo.View-event-*beforeclick"></a>
2135 <div class="fixedFont">
2136 <b class="itemname">beforeclick</b> (<a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>, <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a> <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2142 <div class="short">Fires before a click is processed.
2148 Fires before a click is processed. Returns false to cancel the default action.
2154 <dl class="detailList">
2155 <dt class="heading">Parameters:</dt>
2158 <span class="fixedFont"><a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a></span> <b>this</b>
2164 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2167 <dd>The index of the target node</dd>
2170 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> <b>node</b>
2173 <dd>The target node</dd>
2176 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2179 <dd>The raw event object</dd>
2197 <td class="msource">
2202 <tr class="method-row expandable config-row-alt1 notInherited">
2203 <td class="micon"><a class="exi" href="#expand"> </a></td>
2206 <a id="Roo.View-event-*beforeselect"></a>
2208 <div class="fixedFont">
2209 <b class="itemname">beforeselect</b> (<a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a> <B><i>this</i></B>, <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a> <B><i>node</i></B>, <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>selections</i></B>)
2215 <div class="short">Fires before a selection is made.
2221 Fires before a selection is made. If any handlers return false, the selection is cancelled.
2227 <dl class="detailList">
2228 <dt class="heading">Parameters:</dt>
2231 <span class="fixedFont"><a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a></span> <b>this</b>
2237 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> <b>node</b>
2240 <dd>The node to be selected</dd>
2243 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>selections</b>
2246 <dd>Array of currently selected nodes</dd>
2264 <td class="msource">
2269 <tr class="method-row expandable config-row-alt0 notInherited">
2270 <td class="micon"><a class="exi" href="#expand"> </a></td>
2273 <a id="Roo.View-event-*click"></a>
2275 <div class="fixedFont">
2276 <b class="itemname">click</b> (<a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>, <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a> <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2282 <div class="short">Fires when a template node is clicked.
2288 Fires when a template node is clicked.
2294 <dl class="detailList">
2295 <dt class="heading">Parameters:</dt>
2298 <span class="fixedFont"><a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a></span> <b>this</b>
2304 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2307 <dd>The index of the target node</dd>
2310 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> <b>node</b>
2313 <dd>The target node</dd>
2316 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2319 <dd>The raw event object</dd>
2337 <td class="msource">
2342 <tr class="method-row expandable config-row-alt1 notInherited">
2343 <td class="micon"><a class="exi" href="#expand"> </a></td>
2346 <a id="Roo.View-event-*contextmenu"></a>
2348 <div class="fixedFont">
2349 <b class="itemname">contextmenu</b> (<a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>, <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a> <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2355 <div class="short">Fires when a template node is right clicked.
2361 Fires when a template node is right clicked.
2367 <dl class="detailList">
2368 <dt class="heading">Parameters:</dt>
2371 <span class="fixedFont"><a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a></span> <b>this</b>
2377 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2380 <dd>The index of the target node</dd>
2383 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> <b>node</b>
2386 <dd>The target node</dd>
2389 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2392 <dd>The raw event object</dd>
2410 <td class="msource">
2415 <tr class="method-row expandable config-row-alt0 notInherited">
2416 <td class="micon"><a class="exi" href="#expand"> </a></td>
2419 <a id="Roo.View-event-*dblclick"></a>
2421 <div class="fixedFont">
2422 <b class="itemname">dblclick</b> (<a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>, <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a> <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2428 <div class="short">Fires when a template node is double clicked.
2434 Fires when a template node is double clicked.
2440 <dl class="detailList">
2441 <dt class="heading">Parameters:</dt>
2444 <span class="fixedFont"><a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a></span> <b>this</b>
2450 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2453 <dd>The index of the target node</dd>
2456 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> <b>node</b>
2459 <dd>The target node</dd>
2462 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2465 <dd>The raw event object</dd>
2483 <td class="msource">
2488 <tr class="method-row expandable config-row-alt1 notInherited">
2489 <td class="micon"><a class="exi" href="#expand"> </a></td>
2492 <a id="Roo.View-event-*selectionchange"></a>
2494 <div class="fixedFont">
2495 <b class="itemname">selectionchange</b> (<a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a> <B><i>this</i></B>, <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>selections</i></B>)
2501 <div class="short">Fires when the selected nodes change.
2507 Fires when the selected nodes change.
2513 <dl class="detailList">
2514 <dt class="heading">Parameters:</dt>
2517 <span class="fixedFont"><a href="./Roo.View.html#constructor" roo:cls="Roo.View.html#constructor">Roo.View</a></span> <b>this</b>
2523 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>selections</b>
2526 <dd>Array of the selected nodes</dd>
2544 <td class="msource">
2556 <!-- ============================== footer ================================= -->
2557 <div class="fineprint" style="clear:both">
2559 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Wed Nov 10 2010 14:52:47 GMT+0800 (HKT)
2561 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>