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.TreeEditor</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.TreeEditor-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.tree.TreeEditor-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.tree.TreeEditor-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.tree.TreeEditor-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.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.tree.TreeEditor
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
57 Class Roo.tree.TreeEditor
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_TreeEditor.js.html">Roo/tree/TreeEditor.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">TreeEditor</td></tr>
74 <tr><td class="label">Extends:</td><td class="hd-info">
75 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
83 <!-- ============================== class summary ========================== -->
84 <div class="description">
85 Provides editor functionality for inline tree node editing. Any valid {<b>link</b> Roo.form.Field} can be used<br/>as the editor field.
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.tree.TreeEditor';">[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.TreeEditor.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.tree.TreeEditor-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 notInherited">
128 <td class="micon"><a class="exi" href="#expand"> </a></td>
131 <a id="Roo.tree.TreeEditor-cfg-alignment" name=".alignment"></a>
132 <div class="fixedFont">
133 <b class="itemname">alignment</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
139 <div class="short">The position to align to (see {<b>link</b> Roo.Element<b>alignTo</b>} for more details, defaults to "l-l").</div>
143 <div class="long">The position to align to (see {<b>link</b> Roo.Element<b>alignTo</b>} for more details, defaults to "l-l").</div>
157 <tr class="config-row expandable config-row-alt1 notInherited">
158 <td class="micon"><a class="exi" href="#expand"> </a></td>
161 <a id="Roo.tree.TreeEditor-cfg-cls" name=".cls"></a>
162 <div class="fixedFont">
163 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
169 <div class="short">CSS class to apply to the editor (defaults to "x-small-editor x-tree-editor")</div>
173 <div class="long">CSS class to apply to the editor (defaults to "x-small-editor x-tree-editor")</div>
187 <tr class="config-row expandable config-row-alt0 notInherited">
188 <td class="micon"><a class="exi" href="#expand"> </a></td>
191 <a id="Roo.tree.TreeEditor-cfg-hideEl" name=".hideEl"></a>
192 <div class="fixedFont">
193 <b class="itemname">hideEl</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
199 <div class="short">True to hide the bound element while the editor is displayed (defaults to false)</div>
203 <div class="long">True to hide the bound element while the editor is displayed (defaults to false)</div>
217 <tr class="config-row expandable config-row-alt1 notInherited">
218 <td class="micon"><a class="exi" href="#expand"> </a></td>
221 <a id="Roo.tree.TreeEditor-cfg-maxWidth" name=".maxWidth"></a>
222 <div class="fixedFont">
223 <b class="itemname">maxWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
229 <div class="short">The maximum width in pixels of the editor field (defaults to 250).</div>
233 <div class="long">The maximum width in pixels of the editor field (defaults to 250). Note that if the maxWidth would exceed<br/>the containing tree element's size, it will be automatically limited for you to the container width, taking<br/>scroll and client offsets into account prior to each edit.</div>
247 <tr class="config-row expandable config-row-alt0 notInherited">
248 <td class="micon"><a class="exi" href="#expand"> </a></td>
251 <a id="Roo.tree.TreeEditor-cfg-shim" name=".shim"></a>
252 <div class="fixedFont">
253 <b class="itemname">shim</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
259 <div class="short">True to shim the editor if selects/iframes could be displayed beneath it (defaults to false)</div>
263 <div class="long">True to shim the editor if selects/iframes could be displayed beneath it (defaults to false)</div>
287 <!-- ============================== public properties ==================== -->
291 <a id="Roo.tree.TreeEditor-props"></a>
297 <table cellspacing="0" class="member-table">
298 <caption class="Empty">Public Properties - Has None</caption>
304 <!-- ============================== methods summary / details ======================== -->
307 <a id="Roo.tree.TreeEditor-methods"></a>
308 <!-- constructor?? -->
315 <!-- then dynamics first -->
322 <table cellspacing="0" class="member-table">
323 <caption>Public Methods</caption>
325 <th class="sig-header" colspan="2">Method</th>
326 <th class="msource-header">Defined By</th>
336 <tr class="method-row config-row-alt0 expandable notInherited">
337 <td class="micon"><a class="exi" href="#expand"> </a></td>
341 <a id="Roo.tree-method-TreeEditor" name=".TreeEditor"></a>
342 <div class="fixedFont">
343 <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">TreeEditor</b>
345 (TreePanel <B><i>tree</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
353 <div class="short">Create a new Roo.tree.TreeEditor</div>
360 Create a new Roo.tree.TreeEditor
363 <dl class="detailList">
364 <dt class="heading">Parameters:</dt>
367 <span class="fixedFont">TreePanel</span> <b>tree</b>
373 <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>
376 <dd>Either a prebuilt {<b>link</b> Roo.form.Field} instance or a Field config object</dd>
403 <!-- ============================== events summary / details ======================== -->
406 <a id="Roo.tree.TreeEditor-events"></a>
412 <table cellspacing="0" class="member-table">
413 <caption class="Empty">Events - Has None</caption>
424 <!-- ============================== footer ================================= -->
425 <div class="fineprint" style="clear:both">
427 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Jul 16 2010 15:55:29 GMT+0800 (HKT)
429 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>