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.BasicDialog</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.BasicDialog-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.BasicDialog-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.BasicDialog-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.BasicDialog-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.BasicDialog
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_BasicDialog.js.html">Roo/BasicDialog.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">BasicDialog</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 Lightweight Dialog Class. The code below shows the creation of a typical dialog using existing HTML markup:<br/><pre><code><br/>var dlg = new Roo.BasicDialog("my-dlg", {<br/> height: 200,<br/> width: 300,<br/> minHeight: 100,<br/> minWidth: 150,<br/> modal: true,<br/> proxyDrag: true,<br/> shadow: true<br/>});<br/>dlg.addKeyListener(27, dlg.hide, dlg); // ESC can also close the dialog<br/>dlg.addButton('OK', dlg.hide, dlg); // Could call a save function instead of hiding<br/>dlg.addButton('Cancel', dlg.hide, dlg);<br/>dlg.show();<br/></code></pre><br/> <b>A Dialog should always be a direct child of the body element.</b>
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.BasicDialog';">[Add Your comment/notes about this class]</u>
95 <iframe frameborder="0" id="comments-Roo" style="border: none;width:100%;"
96 src="/blog.php/GtkDjsComments/Roo.BasicDialog.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.BasicDialog-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.BasicDialog-cfg-animateTarget" name=".animateTarget"></a>
132 <div class="fixedFont">
133 <b class="itemname">animateTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Element
139 <div class="short">Id or element from which the dialog should animate while opening<br/>(defaults to null with no animation)</div>
143 <div class="long">Id or element from which the dialog should animate while opening<br/>(defaults to null with no animation)</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.BasicDialog-cfg-autoCreate" name=".autoCreate"></a>
162 <div class="fixedFont">
163 <b class="itemname">autoCreate</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/DomHelper
169 <div class="short">True to auto create from scratch, or using a DomHelper Object (defaults to false)</div>
173 <div class="long">True to auto create from scratch, or using a DomHelper Object (defaults to false)</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.BasicDialog-cfg-autoScroll" name=".autoScroll"></a>
192 <div class="fixedFont">
193 <b class="itemname">autoScroll</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 allow the dialog body contents to overflow and display scrollbars (defaults to false)</div>
203 <div class="long">True to allow the dialog body contents to overflow and display scrollbars (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.BasicDialog-cfg-autoTabs" name=".autoTabs"></a>
222 <div class="fixedFont">
223 <b class="itemname">autoTabs</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
229 <div class="short">If true, all elements with class 'x-dlg-tab' will get automatically converted to tabs (defaults to false)</div>
233 <div class="long">If true, all elements with class 'x-dlg-tab' will get automatically converted to tabs (defaults to false)</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.BasicDialog-cfg-buttonAlign" name=".buttonAlign"></a>
252 <div class="fixedFont">
253 <b class="itemname">buttonAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
259 <div class="short">Valid values are "left," "center" and "right" (defaults to "right")</div>
263 <div class="long">Valid values are "left," "center" and "right" (defaults to "right")</div>
277 <tr class="config-row expandable config-row-alt1 notInherited">
278 <td class="micon"><a class="exi" href="#expand"> </a></td>
281 <a id="Roo.BasicDialog-cfg-buttons" name=".buttons"></a>
282 <div class="fixedFont">
283 <b class="itemname">buttons</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
289 <div class="short">Array of buttons</div>
293 <div class="long">Array of buttons</div>
307 <tr class="config-row expandable config-row-alt0 notInherited">
308 <td class="micon"><a class="exi" href="#expand"> </a></td>
311 <a id="Roo.BasicDialog-cfg-closable" name=".closable"></a>
312 <div class="fixedFont">
313 <b class="itemname">closable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
319 <div class="short">False to remove the built-in top-right corner close button (defaults to true)</div>
323 <div class="long">False to remove the built-in top-right corner close button (defaults to true)</div>
337 <tr class="config-row expandable config-row-alt1 notInherited">
338 <td class="micon"><a class="exi" href="#expand"> </a></td>
341 <a id="Roo.BasicDialog-cfg-collapsible" name=".collapsible"></a>
342 <div class="fixedFont">
343 <b class="itemname">collapsible</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
349 <div class="short">False to remove the built-in top-right corner collapse button (defaults to true)</div>
353 <div class="long">False to remove the built-in top-right corner collapse button (defaults to true)</div>
367 <tr class="config-row expandable config-row-alt0 notInherited">
368 <td class="micon"><a class="exi" href="#expand"> </a></td>
371 <a id="Roo.BasicDialog-cfg-constraintoviewport" name=".constraintoviewport"></a>
372 <div class="fixedFont">
373 <b class="itemname">constraintoviewport</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
379 <div class="short">True to keep the dialog constrained within the visible viewport boundaries (defaults to true)</div>
383 <div class="long">True to keep the dialog constrained within the visible viewport boundaries (defaults to true)</div>
397 <tr class="config-row expandable config-row-alt1 notInherited">
398 <td class="micon"><a class="exi" href="#expand"> </a></td>
401 <a id="Roo.BasicDialog-cfg-draggable" name=".draggable"></a>
402 <div class="fixedFont">
403 <b class="itemname">draggable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
409 <div class="short">False to disable dragging of the dialog within the viewport (defaults to true)</div>
413 <div class="long">False to disable dragging of the dialog within the viewport (defaults to true)</div>
427 <tr class="config-row expandable config-row-alt0 notInherited">
428 <td class="micon"><a class="exi" href="#expand"> </a></td>
431 <a id="Roo.BasicDialog-cfg-fixedcenter" name=".fixedcenter"></a>
432 <div class="fixedFont">
433 <b class="itemname">fixedcenter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
439 <div class="short">True to ensure that anytime the dialog is shown or resized it gets centered (defaults to false)</div>
443 <div class="long">True to ensure that anytime the dialog is shown or resized it gets centered (defaults to false)</div>
457 <tr class="config-row expandable config-row-alt1 notInherited">
458 <td class="micon"><a class="exi" href="#expand"> </a></td>
461 <a id="Roo.BasicDialog-cfg-height" name=".height"></a>
462 <div class="fixedFont">
463 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
469 <div class="short">Height of the dialog in pixels (can also be set via CSS).</div>
473 <div class="long">Height of the dialog in pixels (can also be set via CSS). Determined by browser if unspecified.</div>
487 <tr class="config-row expandable config-row-alt0 notInherited">
488 <td class="micon"><a class="exi" href="#expand"> </a></td>
491 <a id="Roo.BasicDialog-cfg-minButtonWidth" name=".minButtonWidth"></a>
492 <div class="fixedFont">
493 <b class="itemname">minButtonWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
499 <div class="short">Minimum width of all dialog buttons (defaults to 75)</div>
503 <div class="long">Minimum width of all dialog buttons (defaults to 75)</div>
517 <tr class="config-row expandable config-row-alt1 notInherited">
518 <td class="micon"><a class="exi" href="#expand"> </a></td>
521 <a id="Roo.BasicDialog-cfg-minHeight" name=".minHeight"></a>
522 <div class="fixedFont">
523 <b class="itemname">minHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
529 <div class="short">The minimum allowable height for a resizable dialog (defaults to 80)</div>
533 <div class="long">The minimum allowable height for a resizable dialog (defaults to 80)</div>
547 <tr class="config-row expandable config-row-alt0 notInherited">
548 <td class="micon"><a class="exi" href="#expand"> </a></td>
551 <a id="Roo.BasicDialog-cfg-minWidth" name=".minWidth"></a>
552 <div class="fixedFont">
553 <b class="itemname">minWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
559 <div class="short">The minimum allowable width for a resizable dialog (defaults to 200)</div>
563 <div class="long">The minimum allowable width for a resizable dialog (defaults to 200)</div>
577 <tr class="config-row expandable config-row-alt1 notInherited">
578 <td class="micon"><a class="exi" href="#expand"> </a></td>
581 <a id="Roo.BasicDialog-cfg-modal" name=".modal"></a>
582 <div class="fixedFont">
583 <b class="itemname">modal</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
589 <div class="short">True to show the dialog modally, preventing user interaction with the rest of the page (defaults to false)</div>
593 <div class="long">True to show the dialog modally, preventing user interaction with the rest of the page (defaults to false)</div>
607 <tr class="config-row expandable config-row-alt0 notInherited">
608 <td class="micon"><a class="exi" href="#expand"> </a></td>
611 <a id="Roo.BasicDialog-cfg-proxyDrag" name=".proxyDrag"></a>
612 <div class="fixedFont">
613 <b class="itemname">proxyDrag</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
619 <div class="short">True to drag a lightweight proxy element rather than the dialog itself, used when<br/>draggable = true (defaults to false)</div>
623 <div class="long">True to drag a lightweight proxy element rather than the dialog itself, used when<br/>draggable = true (defaults to false)</div>
637 <tr class="config-row expandable config-row-alt1 notInherited">
638 <td class="micon"><a class="exi" href="#expand"> </a></td>
641 <a id="Roo.BasicDialog-cfg-resizable" name=".resizable"></a>
642 <div class="fixedFont">
643 <b class="itemname">resizable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
649 <div class="short">False to disable manual dialog resizing (defaults to true)</div>
653 <div class="long">False to disable manual dialog resizing (defaults to true)</div>
667 <tr class="config-row expandable config-row-alt0 notInherited">
668 <td class="micon"><a class="exi" href="#expand"> </a></td>
671 <a id="Roo.BasicDialog-cfg-resizeHandles" name=".resizeHandles"></a>
672 <div class="fixedFont">
673 <b class="itemname">resizeHandles</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
679 <div class="short">Which resize handles to display - see the {<b>link</b> Roo.Resizable} handles config<br/>property for valid values (defaults to 'all')</div>
683 <div class="long">Which resize handles to display - see the {<b>link</b> Roo.Resizable} handles config<br/>property for valid values (defaults to 'all')</div>
697 <tr class="config-row expandable config-row-alt1 notInherited">
698 <td class="micon"><a class="exi" href="#expand"> </a></td>
701 <a id="Roo.BasicDialog-cfg-shadow" name=".shadow"></a>
702 <div class="fixedFont">
703 <b class="itemname">shadow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String
709 <div class="short">True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right<br/>shadow (defaults to false)</div>
713 <div class="long">True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right<br/>shadow (defaults to false)</div>
727 <tr class="config-row expandable config-row-alt0 notInherited">
728 <td class="micon"><a class="exi" href="#expand"> </a></td>
731 <a id="Roo.BasicDialog-cfg-shadowOffset" name=".shadowOffset"></a>
732 <div class="fixedFont">
733 <b class="itemname">shadowOffset</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
739 <div class="short">The number of pixels to offset the shadow if displayed (defaults to 5)</div>
743 <div class="long">The number of pixels to offset the shadow if displayed (defaults to 5)</div>
757 <tr class="config-row expandable config-row-alt1 notInherited">
758 <td class="micon"><a class="exi" href="#expand"> </a></td>
761 <a id="Roo.BasicDialog-cfg-shim" name=".shim"></a>
762 <div class="fixedFont">
763 <b class="itemname">shim</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
769 <div class="short">True to create an iframe shim that prevents selects from showing through (defaults to false)</div>
773 <div class="long">True to create an iframe shim that prevents selects from showing through (defaults to false)</div>
787 <tr class="config-row expandable config-row-alt0 notInherited">
788 <td class="micon"><a class="exi" href="#expand"> </a></td>
791 <a id="Roo.BasicDialog-cfg-syncHeightBeforeShow" name=".syncHeightBeforeShow"></a>
792 <div class="fixedFont">
793 <b class="itemname">syncHeightBeforeShow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
799 <div class="short">True to cause the dimensions to be recalculated before the dialog is shown (defaults to false)</div>
803 <div class="long">True to cause the dimensions to be recalculated before the dialog is shown (defaults to false)</div>
817 <tr class="config-row expandable config-row-alt1 notInherited">
818 <td class="micon"><a class="exi" href="#expand"> </a></td>
821 <a id="Roo.BasicDialog-cfg-tabTag" name=".tabTag"></a>
822 <div class="fixedFont">
823 <b class="itemname">tabTag</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
829 <div class="short">The tag name of tab elements, used when autoTabs = true (defaults to 'div')</div>
833 <div class="long">The tag name of tab elements, used when autoTabs = true (defaults to 'div')</div>
847 <tr class="config-row expandable config-row-alt0 notInherited">
848 <td class="micon"><a class="exi" href="#expand"> </a></td>
851 <a id="Roo.BasicDialog-cfg-title" name=".title"></a>
852 <div class="fixedFont">
853 <b class="itemname">title</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
859 <div class="short">Default text to display in the title bar (defaults to null)</div>
863 <div class="long">Default text to display in the title bar (defaults to null)</div>
877 <tr class="config-row expandable config-row-alt1 notInherited">
878 <td class="micon"><a class="exi" href="#expand"> </a></td>
881 <a id="Roo.BasicDialog-cfg-width" name=".width"></a>
882 <div class="fixedFont">
883 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
889 <div class="short">Width of the dialog in pixels (can also be set via CSS).</div>
893 <div class="long">Width of the dialog in pixels (can also be set via CSS). Determined by browser if unspecified.</div>
907 <tr class="config-row expandable config-row-alt0 notInherited">
908 <td class="micon"><a class="exi" href="#expand"> </a></td>
911 <a id="Roo.BasicDialog-cfg-x" name=".x"></a>
912 <div class="fixedFont">
913 <b class="itemname">x</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
919 <div class="short">The default left page coordinate of the dialog (defaults to center screen)</div>
923 <div class="long">The default left page coordinate of the dialog (defaults to center screen)</div>
937 <tr class="config-row expandable config-row-alt1 notInherited">
938 <td class="micon"><a class="exi" href="#expand"> </a></td>
941 <a id="Roo.BasicDialog-cfg-y" name=".y"></a>
942 <div class="fixedFont">
943 <b class="itemname">y</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
949 <div class="short">The default top page coordinate of the dialog (defaults to center screen)</div>
953 <div class="long">The default top page coordinate of the dialog (defaults to center screen)</div>
977 <!-- ============================== public properties ==================== -->
981 <a id="Roo.BasicDialog-props"></a>
987 <table cellspacing="0" class="member-table">
988 <caption class="Empty">Public Properties - Has None</caption>
994 <!-- ============================== methods summary / details ======================== -->
997 <a id="Roo.BasicDialog-methods"></a>
998 <!-- constructor?? -->
1005 <!-- then dynamics first -->
1012 <table cellspacing="0" class="member-table">
1013 <caption>Public Methods</caption>
1015 <th class="sig-header" colspan="2">Method</th>
1016 <th class="msource-header">Defined By</th>
1026 <tr class="method-row config-row-alt0 expandable notInherited">
1027 <td class="micon"><a class="exi" href="#expand"> </a></td>
1031 <a id="Roo-method-BasicDialog" name=".BasicDialog"></a>
1032 <div class="fixedFont">
1033 <span class="attributes">new <B>Roo.</B></span><b class="itemname">BasicDialog</b>
1035 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>el</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>)
1043 <div class="short">Create a new Roo.BasicDialog</div>
1050 Create a new Roo.BasicDialog
1053 <dl class="detailList">
1054 <dt class="heading">Parameters:</dt>
1057 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>el</b>
1060 <dd>The container element or DOM node, or its id</dd>
1063 <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>
1066 <dd>Configuration options</dd>
1084 <td class="msource">
1090 <tr class="method-row config-row-alt1 expandable notInherited">
1091 <td class="micon"><a class="exi" href="#expand"> </a></td>
1095 <a id="Roo.BasicDialog-method-addButton" name=".addButton"></a>
1096 <div class="fixedFont">
1097 <span class="attributes"></span><b class="itemname">addButton</b>
1099 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object <B><i>config</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>)
1105 <a href="./Roo.Button.html#constructor" roo:cls="Roo.Button.html#constructor">Roo.Button</a>
1114 <div class="short">Adds a button to the footer section of the dialog.</div>
1120 Adds a button to the footer section of the dialog.
1127 <dl class="detailList">
1128 <dt class="heading">Parameters:</dt>
1131 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span> <b>config</b>
1134 <dd>A string becomes the button text, an object can either be a Button config<br/>object or a valid Roo.DomHelper element config</dd>
1137 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1140 <dd>The function called when the button is clicked</dd>
1143 <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>
1146 <dd>(optional) The scope of the handler function (accepts position as a property)</dd>
1154 <dl class="detailList">
1155 <dt class="heading">Returns:</dt>
1157 <dd><span class="fixedFont"><a href="./Roo.Button.html#constructor" roo:cls="Roo.Button.html#constructor">Roo.Button</a></span> The new button</dd>
1171 <td class="msource">
1179 <tr class="method-row config-row-alt0 expandable notInherited">
1180 <td class="micon"><a class="exi" href="#expand"> </a></td>
1184 <a id="Roo.BasicDialog-method-addKeyListener" name=".addKeyListener"></a>
1185 <div class="fixedFont">
1186 <span class="attributes"></span><b class="itemname">addKeyListener</b>
1188 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Array/Object <B><i>key</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</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>)
1194 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1203 <div class="short">Adds a key listener for when this dialog is displayed.</div>
1209 Adds a key listener for when this dialog is displayed. This allows you to hook in a function that will be<br/>executed in response to a particular key being pressed while the dialog is active.
1216 <dl class="detailList">
1217 <dt class="heading">Parameters:</dt>
1220 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Array/Object</span> <b>key</b>
1223 <dd>Either the numeric key code, array of key codes or an object with the following options:<br/> {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}</dd>
1226 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1229 <dd>The function to call</dd>
1232 <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>
1235 <dd>(optional) The scope of the function</dd>
1243 <dl class="detailList">
1244 <dt class="heading">Returns:</dt>
1246 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1260 <td class="msource">
1268 <tr class="method-row config-row-alt1 expandable notInherited">
1269 <td class="micon"><a class="exi" href="#expand"> </a></td>
1273 <a id="Roo.BasicDialog-method-alignTo" name=".alignTo"></a>
1274 <div class="fixedFont">
1275 <span class="attributes"></span><b class="itemname">alignTo</b>
1277 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>element</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>position</i></B>, <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>offsets</i></B>)
1283 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1292 <div class="short">Aligns the dialog to the specified element</div>
1298 Aligns the dialog to the specified element
1305 <dl class="detailList">
1306 <dt class="heading">Parameters:</dt>
1309 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>element</b>
1312 <dd>The element to align to.</dd>
1315 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>position</b>
1318 <dd>The position to align to (see {<b>link</b> Roo.Element<b>alignTo</b>} for more details).</dd>
1321 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>offsets</b>
1324 <dd>(optional) Offset the positioning by [x, y]</dd>
1332 <dl class="detailList">
1333 <dt class="heading">Returns:</dt>
1335 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1349 <td class="msource">
1357 <tr class="method-row config-row-alt0 expandable notInherited">
1358 <td class="micon"><a class="exi" href="#expand"> </a></td>
1362 <a id="Roo.BasicDialog-method-anchorTo" name=".anchorTo"></a>
1363 <div class="fixedFont">
1364 <span class="attributes"></span><b class="itemname">anchorTo</b>
1366 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>element</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>position</i></B>, <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>offsets</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Number <B><i>monitorScroll</i></B>)
1372 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1381 <div class="short">Anchors an element to another element and realigns it when the window is resized.</div>
1387 Anchors an element to another element and realigns it when the window is resized.
1394 <dl class="detailList">
1395 <dt class="heading">Parameters:</dt>
1398 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>element</b>
1401 <dd>The element to align to.</dd>
1404 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>position</b>
1407 <dd>The position to align to (see {<b>link</b> Roo.Element<b>alignTo</b>} for more details)</dd>
1410 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>offsets</b>
1413 <dd>(optional) Offset the positioning by [x, y]</dd>
1416 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Number</span> <b>monitorScroll</b>
1419 <dd>(optional) true to monitor body scroll and reposition. If this parameter<br/>is a number, it is used as the buffer delay (defaults to 50ms).</dd>
1427 <dl class="detailList">
1428 <dt class="heading">Returns:</dt>
1430 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1444 <td class="msource">
1452 <tr class="method-row config-row-alt1 expandable notInherited">
1453 <td class="micon"><a class="exi" href="#expand"> </a></td>
1457 <a id="Roo.BasicDialog-method-center" name=".center"></a>
1458 <div class="fixedFont">
1459 <span class="attributes"></span><b class="itemname">center</b>
1467 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1476 <div class="short">Centers this dialog in the viewport</div>
1482 Centers this dialog in the viewport
1493 <dl class="detailList">
1494 <dt class="heading">Returns:</dt>
1496 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1510 <td class="msource">
1518 <tr class="method-row config-row-alt0 expandable notInherited">
1519 <td class="micon"><a class="exi" href="#expand"> </a></td>
1523 <a id="Roo.BasicDialog-method-collapse" name=".collapse"></a>
1524 <div class="fixedFont">
1525 <span class="attributes"></span><b class="itemname">collapse</b>
1534 <div class="short">Collapses the dialog to its minimized state (only the title bar is visible).</div>
1540 Collapses the dialog to its minimized state (only the title bar is visible).<br/>Equivalent to the user clicking the collapse dialog button.
1561 <td class="msource">
1569 <tr class="method-row config-row-alt1 expandable notInherited">
1570 <td class="micon"><a class="exi" href="#expand"> </a></td>
1574 <a id="Roo.BasicDialog-method-destroy" name=".destroy"></a>
1575 <div class="fixedFont">
1576 <span class="attributes"></span><b class="itemname">destroy</b>
1578 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
1585 <div class="short">Destroys this dialog and all its supporting elements (including any tabs, shim,<br/>shadow, proxy, mask, etc.</div>
1591 Destroys this dialog and all its supporting elements (including any tabs, shim,<br/>shadow, proxy, mask, etc.) Also removes all event listeners.
1598 <dl class="detailList">
1599 <dt class="heading">Parameters:</dt>
1602 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>removeEl</b>
1605 <dd>(optional) true to remove the element from the DOM</dd>
1623 <td class="msource">
1631 <tr class="method-row config-row-alt0 expandable notInherited">
1632 <td class="micon"><a class="exi" href="#expand"> </a></td>
1636 <a id="Roo.BasicDialog-method-expand" name=".expand"></a>
1637 <div class="fixedFont">
1638 <span class="attributes"></span><b class="itemname">expand</b>
1647 <div class="short">Expands a collapsed dialog back to its normal state.</div>
1653 Expands a collapsed dialog back to its normal state. Equivalent to the user<br/>clicking the expand dialog button.
1674 <td class="msource">
1682 <tr class="method-row config-row-alt1 expandable notInherited">
1683 <td class="micon"><a class="exi" href="#expand"> </a></td>
1687 <a id="Roo.BasicDialog-method-focus" name=".focus"></a>
1688 <div class="fixedFont">
1689 <span class="attributes"></span><b class="itemname">focus</b>
1698 <div class="short">Focuses the dialog.</div>
1704 Focuses the dialog. If a defaultButton is set, it will receive focus, otherwise the<br/>dialog itself will receive focus.
1725 <td class="msource">
1733 <tr class="method-row config-row-alt0 expandable notInherited">
1734 <td class="micon"><a class="exi" href="#expand"> </a></td>
1738 <a id="Roo.BasicDialog-method-getEl" name=".getEl"></a>
1739 <div class="fixedFont">
1740 <span class="attributes"></span><b class="itemname">getEl</b>
1748 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1757 <div class="short">Returns the element for this dialog</div>
1763 Returns the element for this dialog
1774 <dl class="detailList">
1775 <dt class="heading">Returns:</dt>
1777 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The underlying dialog Element</dd>
1791 <td class="msource">
1799 <tr class="method-row config-row-alt1 expandable notInherited">
1800 <td class="micon"><a class="exi" href="#expand"> </a></td>
1804 <a id="Roo.BasicDialog-method-getTabs" name=".getTabs"></a>
1805 <div class="fixedFont">
1806 <span class="attributes"></span><b class="itemname">getTabs</b>
1814 <a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a>
1823 <div class="short">Returns the TabPanel component (creates it if it doesn't exist).</div>
1829 Returns the TabPanel component (creates it if it doesn't exist).<br/>Note: If you wish to simply check for the existence of tabs without creating them,<br/>check for a null 'tabs' property.
1840 <dl class="detailList">
1841 <dt class="heading">Returns:</dt>
1843 <dd><span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> The tabs component</dd>
1857 <td class="msource">
1865 <tr class="method-row config-row-alt0 expandable notInherited">
1866 <td class="micon"><a class="exi" href="#expand"> </a></td>
1870 <a id="Roo.BasicDialog-method-hide" name=".hide"></a>
1871 <div class="fixedFont">
1872 <span class="attributes"></span><b class="itemname">hide</b>
1874 (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
1880 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1889 <div class="short">Hides the dialog.</div>
1902 <dl class="detailList">
1903 <dt class="heading">Parameters:</dt>
1906 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
1909 <dd>(optional) Function to call when the dialog is hidden</dd>
1917 <dl class="detailList">
1918 <dt class="heading">Returns:</dt>
1920 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1934 <td class="msource">
1942 <tr class="method-row config-row-alt1 expandable notInherited">
1943 <td class="micon"><a class="exi" href="#expand"> </a></td>
1947 <a id="Roo.BasicDialog-method-initTabs" name=".initTabs"></a>
1948 <div class="fixedFont">
1949 <span class="attributes"></span><b class="itemname">initTabs</b>
1957 <a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a>
1966 <div class="short">Reinitializes the tabs component, clearing out old tabs and finding new ones.</div>
1972 Reinitializes the tabs component, clearing out old tabs and finding new ones.
1983 <dl class="detailList">
1984 <dt class="heading">Returns:</dt>
1986 <dd><span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> The tabs component</dd>
2000 <td class="msource">
2008 <tr class="method-row config-row-alt0 expandable notInherited">
2009 <td class="micon"><a class="exi" href="#expand"> </a></td>
2013 <a id="Roo.BasicDialog-method-isVisible" name=".isVisible"></a>
2014 <div class="fixedFont">
2015 <span class="attributes"></span><b class="itemname">isVisible</b>
2023 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2032 <div class="short">Returns true if the dialog is visible</div>
2038 Returns true if the dialog is visible
2049 <dl class="detailList">
2050 <dt class="heading">Returns:</dt>
2052 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2066 <td class="msource">
2074 <tr class="method-row config-row-alt1 expandable notInherited">
2075 <td class="micon"><a class="exi" href="#expand"> </a></td>
2079 <a id="Roo.BasicDialog-method-moveTo" name=".moveTo"></a>
2080 <div class="fixedFont">
2081 <span class="attributes"></span><b class="itemname">moveTo</b>
2083 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
2089 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2098 <div class="short">Moves the dialog's top-left corner to the specified point</div>
2104 Moves the dialog's top-left corner to the specified point
2111 <dl class="detailList">
2112 <dt class="heading">Parameters:</dt>
2115 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
2121 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
2132 <dl class="detailList">
2133 <dt class="heading">Returns:</dt>
2135 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2149 <td class="msource">
2157 <tr class="method-row config-row-alt0 expandable notInherited">
2158 <td class="micon"><a class="exi" href="#expand"> </a></td>
2162 <a id="Roo.BasicDialog-method-resizeTo" name=".resizeTo"></a>
2163 <div class="fixedFont">
2164 <span class="attributes"></span><b class="itemname">resizeTo</b>
2166 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>)
2172 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2181 <div class="short">Resizes the dialog.</div>
2194 <dl class="detailList">
2195 <dt class="heading">Parameters:</dt>
2198 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
2204 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
2215 <dl class="detailList">
2216 <dt class="heading">Returns:</dt>
2218 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2232 <td class="msource">
2240 <tr class="method-row config-row-alt1 expandable notInherited">
2241 <td class="micon"><a class="exi" href="#expand"> </a></td>
2245 <a id="Roo.BasicDialog-method-restoreState" name=".restoreState"></a>
2246 <div class="fixedFont">
2247 <span class="attributes"></span><b class="itemname">restoreState</b>
2255 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2264 <div class="short">Restores the previous state of the dialog if Roo.state is configured.</div>
2270 Restores the previous state of the dialog if Roo.state is configured.
2281 <dl class="detailList">
2282 <dt class="heading">Returns:</dt>
2284 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2298 <td class="msource">
2306 <tr class="method-row config-row-alt0 expandable notInherited">
2307 <td class="micon"><a class="exi" href="#expand"> </a></td>
2311 <a id="Roo.BasicDialog-method-setContentSize" name=".setContentSize"></a>
2312 <div class="fixedFont">
2313 <span class="attributes"></span><b class="itemname">setContentSize</b>
2315 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>)
2321 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2330 <div class="short">Resizes the dialog to fit the specified content size.</div>
2336 Resizes the dialog to fit the specified content size.
2343 <dl class="detailList">
2344 <dt class="heading">Parameters:</dt>
2347 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
2353 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
2364 <dl class="detailList">
2365 <dt class="heading">Returns:</dt>
2367 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2381 <td class="msource">
2389 <tr class="method-row config-row-alt1 expandable notInherited">
2390 <td class="micon"><a class="exi" href="#expand"> </a></td>
2394 <a id="Roo.BasicDialog-method-setDefaultButton" name=".setDefaultButton"></a>
2395 <div class="fixedFont">
2396 <span class="attributes"></span><b class="itemname">setDefaultButton</b>
2398 (Roo.BasicDialog.Button <B><i>btn</i></B>)
2404 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2413 <div class="short">Sets the default button to be focused when the dialog is displayed.</div>
2419 Sets the default button to be focused when the dialog is displayed.
2426 <dl class="detailList">
2427 <dt class="heading">Parameters:</dt>
2430 <span class="fixedFont">Roo.BasicDialog.Button</span> <b>btn</b>
2433 <dd>The button object returned by {<b>link</b> <b>addButton</b>}</dd>
2441 <dl class="detailList">
2442 <dt class="heading">Returns:</dt>
2444 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2458 <td class="msource">
2466 <tr class="method-row config-row-alt0 expandable notInherited">
2467 <td class="micon"><a class="exi" href="#expand"> </a></td>
2471 <a id="Roo.BasicDialog-method-setTitle" name=".setTitle"></a>
2472 <div class="fixedFont">
2473 <span class="attributes"></span><b class="itemname">setTitle</b>
2475 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
2481 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2490 <div class="short">Sets the dialog title text</div>
2496 Sets the dialog title text
2503 <dl class="detailList">
2504 <dt class="heading">Parameters:</dt>
2507 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
2510 <dd>The title text to display</dd>
2518 <dl class="detailList">
2519 <dt class="heading">Returns:</dt>
2521 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2535 <td class="msource">
2543 <tr class="method-row config-row-alt1 expandable notInherited">
2544 <td class="micon"><a class="exi" href="#expand"> </a></td>
2548 <a id="Roo.BasicDialog-method-show" name=".show"></a>
2549 <div class="fixedFont">
2550 <span class="attributes"></span><b class="itemname">show</b>
2552 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>animateTarget</i></B>)
2558 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2567 <div class="short">Shows the dialog.</div>
2580 <dl class="detailList">
2581 <dt class="heading">Parameters:</dt>
2584 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>animateTarget</b>
2587 <dd>(optional) Reset the animation target</dd>
2595 <dl class="detailList">
2596 <dt class="heading">Returns:</dt>
2598 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2612 <td class="msource">
2620 <tr class="method-row config-row-alt0 expandable notInherited">
2621 <td class="micon"><a class="exi" href="#expand"> </a></td>
2625 <a id="Roo.BasicDialog-method-toBack" name=".toBack"></a>
2626 <div class="fixedFont">
2627 <span class="attributes"></span><b class="itemname">toBack</b>
2635 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2644 <div class="short">Sends this dialog to the back (under) of any other visible dialogs</div>
2650 Sends this dialog to the back (under) of any other visible dialogs
2661 <dl class="detailList">
2662 <dt class="heading">Returns:</dt>
2664 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2678 <td class="msource">
2686 <tr class="method-row config-row-alt1 expandable notInherited">
2687 <td class="micon"><a class="exi" href="#expand"> </a></td>
2691 <a id="Roo.BasicDialog-method-toFront" name=".toFront"></a>
2692 <div class="fixedFont">
2693 <span class="attributes"></span><b class="itemname">toFront</b>
2701 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2710 <div class="short">Brings this dialog to the front of any other visible dialogs</div>
2716 Brings this dialog to the front of any other visible dialogs
2727 <dl class="detailList">
2728 <dt class="heading">Returns:</dt>
2730 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2744 <td class="msource">
2755 <!-- ============================== events summary / details ======================== -->
2758 <a id="Roo.BasicDialog-events"></a>
2767 <table cellspacing="0" class="member-table">
2768 <caption>Events</caption>
2771 <th class="sig-header" colspan="2">Event</th>
2772 <th class="msource-header">Defined By</th>
2781 <tr class="method-row expandable config-row-alt0 notInherited">
2782 <td class="micon"><a class="exi" href="#expand"> </a></td>
2785 <a id="Roo.BasicDialog-event-*beforehide"></a>
2787 <div class="fixedFont">
2788 <b class="itemname">beforehide</b> (<a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a> <B><i>this</i></B>)
2794 <div class="short">Fires before this dialog is hidden.
2800 Fires before this dialog is hidden.
2806 <dl class="detailList">
2807 <dt class="heading">Parameters:</dt>
2810 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
2831 <td class="msource">
2836 <tr class="method-row expandable config-row-alt1 notInherited">
2837 <td class="micon"><a class="exi" href="#expand"> </a></td>
2840 <a id="Roo.BasicDialog-event-*beforeshow"></a>
2842 <div class="fixedFont">
2843 <b class="itemname">beforeshow</b> (<a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a> <B><i>this</i></B>)
2849 <div class="short">Fires before this dialog is shown.
2855 Fires before this dialog is shown.
2861 <dl class="detailList">
2862 <dt class="heading">Parameters:</dt>
2865 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
2886 <td class="msource">
2891 <tr class="method-row expandable config-row-alt0 notInherited">
2892 <td class="micon"><a class="exi" href="#expand"> </a></td>
2895 <a id="Roo.BasicDialog-event-*hide"></a>
2897 <div class="fixedFont">
2898 <b class="itemname">hide</b> (<a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a> <B><i>this</i></B>)
2904 <div class="short">Fires when this dialog is hidden.
2910 Fires when this dialog is hidden.
2916 <dl class="detailList">
2917 <dt class="heading">Parameters:</dt>
2920 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
2941 <td class="msource">
2946 <tr class="method-row expandable config-row-alt1 notInherited">
2947 <td class="micon"><a class="exi" href="#expand"> </a></td>
2950 <a id="Roo.BasicDialog-event-*keydown"></a>
2952 <div class="fixedFont">
2953 <b class="itemname">keydown</b> (<a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a> <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2959 <div class="short">Fires when a key is pressed
2965 Fires when a key is pressed
2971 <dl class="detailList">
2972 <dt class="heading">Parameters:</dt>
2975 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
2981 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3002 <td class="msource">
3007 <tr class="method-row expandable config-row-alt0 notInherited">
3008 <td class="micon"><a class="exi" href="#expand"> </a></td>
3011 <a id="Roo.BasicDialog-event-*move"></a>
3013 <div class="fixedFont">
3014 <b class="itemname">move</b> (<a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
3020 <div class="short">Fires when this dialog is moved by the user.
3026 Fires when this dialog is moved by the user.
3032 <dl class="detailList">
3033 <dt class="heading">Parameters:</dt>
3036 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3042 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3045 <dd>The new page X</dd>
3048 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3051 <dd>The new page Y</dd>
3069 <td class="msource">
3074 <tr class="method-row expandable config-row-alt1 notInherited">
3075 <td class="micon"><a class="exi" href="#expand"> </a></td>
3078 <a id="Roo.BasicDialog-event-*resize"></a>
3080 <div class="fixedFont">
3081 <b class="itemname">resize</b> (<a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>)
3087 <div class="short">Fires when this dialog is resized by the user.
3093 Fires when this dialog is resized by the user.
3099 <dl class="detailList">
3100 <dt class="heading">Parameters:</dt>
3103 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3109 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
3112 <dd>The new width</dd>
3115 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
3118 <dd>The new height</dd>
3136 <td class="msource">
3141 <tr class="method-row expandable config-row-alt0 notInherited">
3142 <td class="micon"><a class="exi" href="#expand"> </a></td>
3145 <a id="Roo.BasicDialog-event-*show"></a>
3147 <div class="fixedFont">
3148 <b class="itemname">show</b> (<a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a> <B><i>this</i></B>)
3154 <div class="short">Fires when this dialog is shown.
3160 Fires when this dialog is shown.
3166 <dl class="detailList">
3167 <dt class="heading">Parameters:</dt>
3170 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3191 <td class="msource">
3203 <!-- ============================== footer ================================= -->
3204 <div class="fineprint" style="clear:both">
3206 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Jul 16 2010 15:55:21 GMT+0800 (HKT)
3208 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>