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.LayoutDialog</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.LayoutDialog-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.LayoutDialog-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.LayoutDialog-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.LayoutDialog-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 src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.LayoutDialog
53 <!-- ============================== class title / details ============================ -->
56 <h1 class="classTitle">
58 Class Roo.LayoutDialog
61 <table cellspacing="0" class="class-summary-table">
63 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
65 <tr><td class="label">Defined In:</td><td class="hd-info">
67 <a href="./src/Roo_BasicDialog.js.html">Roo/BasicDialog.js</a>.
70 <tr><td class="label">Class:</td><td class="hd-info">LayoutDialog</td></tr>
73 <tr><td class="label">Subclasses:</td><td class="hd-info">
74 <a href="./Roo.Login.html#constructor" roo:cls="Roo.Login.html#constructor">Roo.Login</a>
82 <tr><td class="label">Extends:</td><td class="hd-info">
83 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
91 <!-- ============================== class summary ========================== -->
92 <div class="description">
93 Dialog which provides adjustments for working with a layout in a Dialog.<br/>Add your necessary layout config options to the dialog's config.<br><br/>Example usage (including a nested layout):<br/><pre><code><br/>if(!dialog){<br/> dialog = new Roo.LayoutDialog("download-dlg", {<br/> modal: true,<br/> width:600,<br/> height:450,<br/> shadow:true,<br/> minWidth:500,<br/> minHeight:350,<br/> autoTabs:true,<br/> proxyDrag:true,<br/> // layout config merges with the dialog config<br/> center:{<br/> tabPosition: "top",<br/> alwaysShowTabs: true<br/> }<br/> });<br/> dialog.addKeyListener(27, dialog.hide, dialog);<br/> dialog.setDefaultButton(dialog.addButton("Close", dialog.hide, dialog));<br/> dialog.addButton("Build It!", this.getDownload, this);<br/><br/> // we can even add nested layouts<br/> var innerLayout = new Roo.BorderLayout("dl-inner", {<br/> east: {<br/> initialSize: 200,<br/> autoScroll:true,<br/> split:true<br/> },<br/> center: {<br/> autoScroll:true<br/> }<br/> });<br/> innerLayout.beginUpdate();<br/> innerLayout.add("east", new Roo.ContentPanel("dl-details"));<br/> innerLayout.add("center", new Roo.ContentPanel("selection-panel"));<br/> innerLayout.endUpdate(true);<br/><br/> var layout = dialog.getLayout();<br/> layout.beginUpdate();<br/> layout.add("center", new Roo.ContentPanel("standard-panel",<br/> {title: "Download the Source", fitToFrame:true}));<br/> layout.add("center", new Roo.NestedLayoutPanel(innerLayout,<br/> {title: "Build your own roo.js"}));<br/> layout.getRegion("center").showPanel(sp);<br/> layout.endUpdate();<br/>}<br/></code></pre>
97 <!-- ============================== Class comment block... ========================== -->
99 <div class="comments">
100 <b>Class Comments / Notes</B> =>
101 <u onclick="parent.CommentDialog.showCommentId = 'Roo.LayoutDialog';">[Add Your comment/notes about this class]</u>
103 <iframe frameborder="0" id="comments-Roo" style="border: none;width:100%;"
104 src="/blog.php/GtkDjsComments/Roo.LayoutDialog.html"></iframe>
109 <!-- ============================== config options ========================== -->
114 <div class="hr"></div>
115 <a id="Roo.LayoutDialog-configs"></a>
121 <table cellspacing="0" class="member-table">
122 <caption>Config Options (Usually are also Properties)</caption>
126 <th class="sig-header" colspan="2">Options</th>
128 <th class="msource-header">Defined By</th>
135 <tr class="config-row expandable config-row-alt0">
136 <td class="micon"><a class="exi" href="#expand"> </a></td>
139 <a id="Roo.BasicDialog-cfg-animateTarget" name=".animateTarget"></a>
140 <div class="fixedFont">
141 <b class="itemname">animateTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Element
147 <div class="short">Id or element from which the dialog should animate while opening<br/>(defaults to null with no animation)</div>
151 <div class="long">Id or element from which the dialog should animate while opening<br/>(defaults to null with no animation)</div>
159 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
165 <tr class="config-row expandable config-row-alt1">
166 <td class="micon"><a class="exi" href="#expand"> </a></td>
169 <a id="Roo.BasicDialog-cfg-autoCreate" name=".autoCreate"></a>
170 <div class="fixedFont">
171 <b class="itemname">autoCreate</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/DomHelper
177 <div class="short">True to auto create from scratch, or using a DomHelper Object (defaults to false)</div>
181 <div class="long">True to auto create from scratch, or using a DomHelper Object (defaults to false)</div>
189 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
195 <tr class="config-row expandable config-row-alt0">
196 <td class="micon"><a class="exi" href="#expand"> </a></td>
199 <a id="Roo.BasicDialog-cfg-autoScroll" name=".autoScroll"></a>
200 <div class="fixedFont">
201 <b class="itemname">autoScroll</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
207 <div class="short">True to allow the dialog body contents to overflow and display scrollbars (defaults to false)</div>
211 <div class="long">True to allow the dialog body contents to overflow and display scrollbars (defaults to false)</div>
219 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
225 <tr class="config-row expandable config-row-alt1">
226 <td class="micon"><a class="exi" href="#expand"> </a></td>
229 <a id="Roo.BasicDialog-cfg-autoTabs" name=".autoTabs"></a>
230 <div class="fixedFont">
231 <b class="itemname">autoTabs</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
237 <div class="short">If true, all elements with class 'x-dlg-tab' will get automatically converted to tabs (defaults to false)</div>
241 <div class="long">If true, all elements with class 'x-dlg-tab' will get automatically converted to tabs (defaults to false)</div>
249 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
255 <tr class="config-row expandable config-row-alt0">
256 <td class="micon"><a class="exi" href="#expand"> </a></td>
259 <a id="Roo.BasicDialog-cfg-buttonAlign" name=".buttonAlign"></a>
260 <div class="fixedFont">
261 <b class="itemname">buttonAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
267 <div class="short">Valid values are "left," "center" and "right" (defaults to "right")</div>
271 <div class="long">Valid values are "left," "center" and "right" (defaults to "right")</div>
279 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
285 <tr class="config-row expandable config-row-alt1">
286 <td class="micon"><a class="exi" href="#expand"> </a></td>
289 <a id="Roo.BasicDialog-cfg-buttons" name=".buttons"></a>
290 <div class="fixedFont">
291 <b class="itemname">buttons</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
297 <div class="short">Array of buttons</div>
301 <div class="long">Array of buttons</div>
309 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
315 <tr class="config-row expandable config-row-alt0">
316 <td class="micon"><a class="exi" href="#expand"> </a></td>
319 <a id="Roo.BasicDialog-cfg-closable" name=".closable"></a>
320 <div class="fixedFont">
321 <b class="itemname">closable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
327 <div class="short">False to remove the built-in top-right corner close button (defaults to true)</div>
331 <div class="long">False to remove the built-in top-right corner close button (defaults to true)</div>
339 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
345 <tr class="config-row expandable config-row-alt1">
346 <td class="micon"><a class="exi" href="#expand"> </a></td>
349 <a id="Roo.BasicDialog-cfg-collapsible" name=".collapsible"></a>
350 <div class="fixedFont">
351 <b class="itemname">collapsible</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
357 <div class="short">False to remove the built-in top-right corner collapse button (defaults to true)</div>
361 <div class="long">False to remove the built-in top-right corner collapse button (defaults to true)</div>
369 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
375 <tr class="config-row expandable config-row-alt0">
376 <td class="micon"><a class="exi" href="#expand"> </a></td>
379 <a id="Roo.BasicDialog-cfg-constraintoviewport" name=".constraintoviewport"></a>
380 <div class="fixedFont">
381 <b class="itemname">constraintoviewport</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
387 <div class="short">True to keep the dialog constrained within the visible viewport boundaries (defaults to true)</div>
391 <div class="long">True to keep the dialog constrained within the visible viewport boundaries (defaults to true)</div>
399 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
405 <tr class="config-row expandable config-row-alt1">
406 <td class="micon"><a class="exi" href="#expand"> </a></td>
409 <a id="Roo.BasicDialog-cfg-draggable" name=".draggable"></a>
410 <div class="fixedFont">
411 <b class="itemname">draggable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
417 <div class="short">False to disable dragging of the dialog within the viewport (defaults to true)</div>
421 <div class="long">False to disable dragging of the dialog within the viewport (defaults to true)</div>
429 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
435 <tr class="config-row expandable config-row-alt0">
436 <td class="micon"><a class="exi" href="#expand"> </a></td>
439 <a id="Roo.BasicDialog-cfg-fixedcenter" name=".fixedcenter"></a>
440 <div class="fixedFont">
441 <b class="itemname">fixedcenter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
447 <div class="short">True to ensure that anytime the dialog is shown or resized it gets centered (defaults to false)</div>
451 <div class="long">True to ensure that anytime the dialog is shown or resized it gets centered (defaults to false)</div>
459 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
465 <tr class="config-row expandable config-row-alt1">
466 <td class="micon"><a class="exi" href="#expand"> </a></td>
469 <a id="Roo.BasicDialog-cfg-height" name=".height"></a>
470 <div class="fixedFont">
471 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
477 <div class="short">Height of the dialog in pixels (can also be set via CSS).</div>
481 <div class="long">Height of the dialog in pixels (can also be set via CSS). Determined by browser if unspecified.</div>
489 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
495 <tr class="config-row expandable config-row-alt0">
496 <td class="micon"><a class="exi" href="#expand"> </a></td>
499 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
500 <div class="fixedFont">
501 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
507 <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>
511 <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>
519 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
525 <tr class="config-row expandable config-row-alt1">
526 <td class="micon"><a class="exi" href="#expand"> </a></td>
529 <a id="Roo.BasicDialog-cfg-minButtonWidth" name=".minButtonWidth"></a>
530 <div class="fixedFont">
531 <b class="itemname">minButtonWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
537 <div class="short">Minimum width of all dialog buttons (defaults to 75)</div>
541 <div class="long">Minimum width of all dialog buttons (defaults to 75)</div>
549 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
555 <tr class="config-row expandable config-row-alt0">
556 <td class="micon"><a class="exi" href="#expand"> </a></td>
559 <a id="Roo.BasicDialog-cfg-minHeight" name=".minHeight"></a>
560 <div class="fixedFont">
561 <b class="itemname">minHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
567 <div class="short">The minimum allowable height for a resizable dialog (defaults to 80)</div>
571 <div class="long">The minimum allowable height for a resizable dialog (defaults to 80)</div>
579 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
585 <tr class="config-row expandable config-row-alt1">
586 <td class="micon"><a class="exi" href="#expand"> </a></td>
589 <a id="Roo.BasicDialog-cfg-minWidth" name=".minWidth"></a>
590 <div class="fixedFont">
591 <b class="itemname">minWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
597 <div class="short">The minimum allowable width for a resizable dialog (defaults to 200)</div>
601 <div class="long">The minimum allowable width for a resizable dialog (defaults to 200)</div>
609 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
615 <tr class="config-row expandable config-row-alt0">
616 <td class="micon"><a class="exi" href="#expand"> </a></td>
619 <a id="Roo.BasicDialog-cfg-modal" name=".modal"></a>
620 <div class="fixedFont">
621 <b class="itemname">modal</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
627 <div class="short">True to show the dialog modally, preventing user interaction with the rest of the page (defaults to false)</div>
631 <div class="long">True to show the dialog modally, preventing user interaction with the rest of the page (defaults to false)</div>
639 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
645 <tr class="config-row expandable config-row-alt1">
646 <td class="micon"><a class="exi" href="#expand"> </a></td>
649 <a id="Roo.BasicDialog-cfg-proxyDrag" name=".proxyDrag"></a>
650 <div class="fixedFont">
651 <b class="itemname">proxyDrag</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
657 <div class="short">True to drag a lightweight proxy element rather than the dialog itself, used when<br/>draggable = true (defaults to false)</div>
661 <div class="long">True to drag a lightweight proxy element rather than the dialog itself, used when<br/>draggable = true (defaults to false)</div>
669 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
675 <tr class="config-row expandable config-row-alt0">
676 <td class="micon"><a class="exi" href="#expand"> </a></td>
679 <a id="Roo.BasicDialog-cfg-resizable" name=".resizable"></a>
680 <div class="fixedFont">
681 <b class="itemname">resizable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
687 <div class="short">False to disable manual dialog resizing (defaults to true)</div>
691 <div class="long">False to disable manual dialog resizing (defaults to true)</div>
699 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
705 <tr class="config-row expandable config-row-alt1">
706 <td class="micon"><a class="exi" href="#expand"> </a></td>
709 <a id="Roo.BasicDialog-cfg-resizeHandles" name=".resizeHandles"></a>
710 <div class="fixedFont">
711 <b class="itemname">resizeHandles</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
717 <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>
721 <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>
729 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
735 <tr class="config-row expandable config-row-alt0">
736 <td class="micon"><a class="exi" href="#expand"> </a></td>
739 <a id="Roo.BasicDialog-cfg-shadow" name=".shadow"></a>
740 <div class="fixedFont">
741 <b class="itemname">shadow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String
747 <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>
751 <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>
759 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
765 <tr class="config-row expandable config-row-alt1">
766 <td class="micon"><a class="exi" href="#expand"> </a></td>
769 <a id="Roo.BasicDialog-cfg-shadowOffset" name=".shadowOffset"></a>
770 <div class="fixedFont">
771 <b class="itemname">shadowOffset</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
777 <div class="short">The number of pixels to offset the shadow if displayed (defaults to 5)</div>
781 <div class="long">The number of pixels to offset the shadow if displayed (defaults to 5)</div>
789 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
795 <tr class="config-row expandable config-row-alt0">
796 <td class="micon"><a class="exi" href="#expand"> </a></td>
799 <a id="Roo.BasicDialog-cfg-shim" name=".shim"></a>
800 <div class="fixedFont">
801 <b class="itemname">shim</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
807 <div class="short">True to create an iframe shim that prevents selects from showing through (defaults to false)</div>
811 <div class="long">True to create an iframe shim that prevents selects from showing through (defaults to false)</div>
819 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
825 <tr class="config-row expandable config-row-alt1">
826 <td class="micon"><a class="exi" href="#expand"> </a></td>
829 <a id="Roo.BasicDialog-cfg-syncHeightBeforeShow" name=".syncHeightBeforeShow"></a>
830 <div class="fixedFont">
831 <b class="itemname">syncHeightBeforeShow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
837 <div class="short">True to cause the dimensions to be recalculated before the dialog is shown (defaults to false)</div>
841 <div class="long">True to cause the dimensions to be recalculated before the dialog is shown (defaults to false)</div>
849 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
855 <tr class="config-row expandable config-row-alt0">
856 <td class="micon"><a class="exi" href="#expand"> </a></td>
859 <a id="Roo.BasicDialog-cfg-tabTag" name=".tabTag"></a>
860 <div class="fixedFont">
861 <b class="itemname">tabTag</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
867 <div class="short">The tag name of tab elements, used when autoTabs = true (defaults to 'div')</div>
871 <div class="long">The tag name of tab elements, used when autoTabs = true (defaults to 'div')</div>
879 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
885 <tr class="config-row expandable config-row-alt1">
886 <td class="micon"><a class="exi" href="#expand"> </a></td>
889 <a id="Roo.BasicDialog-cfg-title" name=".title"></a>
890 <div class="fixedFont">
891 <b class="itemname">title</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
897 <div class="short">Default text to display in the title bar (defaults to null)</div>
901 <div class="long">Default text to display in the title bar (defaults to null)</div>
909 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
915 <tr class="config-row expandable config-row-alt0">
916 <td class="micon"><a class="exi" href="#expand"> </a></td>
919 <a id="Roo.BasicDialog-cfg-width" name=".width"></a>
920 <div class="fixedFont">
921 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
927 <div class="short">Width of the dialog in pixels (can also be set via CSS).</div>
931 <div class="long">Width of the dialog in pixels (can also be set via CSS). Determined by browser if unspecified.</div>
939 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
945 <tr class="config-row expandable config-row-alt1">
946 <td class="micon"><a class="exi" href="#expand"> </a></td>
949 <a id="Roo.BasicDialog-cfg-x" name=".x"></a>
950 <div class="fixedFont">
951 <b class="itemname">x</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
957 <div class="short">The default left page coordinate of the dialog (defaults to center screen)</div>
961 <div class="long">The default left page coordinate of the dialog (defaults to center screen)</div>
969 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
975 <tr class="config-row expandable config-row-alt0">
976 <td class="micon"><a class="exi" href="#expand"> </a></td>
979 <a id="Roo.BasicDialog-cfg-y" name=".y"></a>
980 <div class="fixedFont">
981 <b class="itemname">y</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
987 <div class="short">The default top page coordinate of the dialog (defaults to center screen)</div>
991 <div class="long">The default top page coordinate of the dialog (defaults to center screen)</div>
999 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1015 <!-- ============================== public properties ==================== -->
1019 <a id="Roo.LayoutDialog-props"></a>
1025 <table cellspacing="0" class="member-table">
1026 <caption class="Empty">Public Properties - Has None</caption>
1032 <!-- ============================== methods summary / details ======================== -->
1035 <a id="Roo.LayoutDialog-methods"></a>
1036 <!-- constructor?? -->
1043 <!-- then dynamics first -->
1050 <table cellspacing="0" class="member-table">
1051 <caption>Public Methods</caption>
1053 <th class="sig-header" colspan="2">Method</th>
1054 <th class="msource-header">Defined By</th>
1064 <tr class="method-row config-row-alt0 expandable notInherited">
1065 <td class="micon"><a class="exi" href="#expand"> </a></td>
1069 <a id="Roo-method-LayoutDialog" name=".LayoutDialog"></a>
1070 <div class="fixedFont">
1071 <span class="attributes">new <B>Roo.</B></span><b class="itemname">LayoutDialog</b>
1073 (<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>)
1081 <div class="short">Create a new Roo.LayoutDialog</div>
1088 Create a new Roo.LayoutDialog
1091 <dl class="detailList">
1092 <dt class="heading">Parameters:</dt>
1095 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>el</b>
1098 <dd>The id of or container element, or config</dd>
1101 <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>
1104 <dd>configuration options</dd>
1122 <td class="msource">
1128 <tr class="method-row config-row-alt1 expandable">
1129 <td class="micon"><a class="exi" href="#expand"> </a></td>
1133 <a id="Roo.BasicDialog-method-addButton" name=".addButton"></a>
1134 <div class="fixedFont">
1135 <span class="attributes"></span><b class="itemname">addButton</b>
1137 (<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>)
1143 <a href="./Roo.Button.html#constructor" roo:cls="Roo.Button.html#constructor">Roo.Button</a>
1152 <div class="short">Adds a button to the footer section of the dialog.</div>
1158 Adds a button to the footer section of the dialog.
1165 <dl class="detailList">
1166 <dt class="heading">Parameters:</dt>
1169 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span> <b>config</b>
1172 <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>
1175 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1178 <dd>The function called when the button is clicked</dd>
1181 <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>
1184 <dd>(optional) The scope of the handler function (accepts position as a property)</dd>
1192 <dl class="detailList">
1193 <dt class="heading">Returns:</dt>
1195 <dd><span class="fixedFont"><a href="./Roo.Button.html#constructor" roo:cls="Roo.Button.html#constructor">Roo.Button</a></span> The new button</dd>
1209 <td class="msource">
1211 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1217 <tr class="method-row config-row-alt0 expandable">
1218 <td class="micon"><a class="exi" href="#expand"> </a></td>
1222 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1223 <div class="fixedFont">
1224 <span class="attributes"></span><b class="itemname">addEvents</b>
1226 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1233 <div class="short">Used to define events on this Observable</div>
1239 Used to define events on this Observable
1246 <dl class="detailList">
1247 <dt class="heading">Parameters:</dt>
1250 <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>
1253 <dd>The object with the events defined</dd>
1271 <td class="msource">
1273 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1279 <tr class="method-row config-row-alt1 expandable">
1280 <td class="micon"><a class="exi" href="#expand"> </a></td>
1284 <a id="Roo.BasicDialog-method-addKeyListener" name=".addKeyListener"></a>
1285 <div class="fixedFont">
1286 <span class="attributes"></span><b class="itemname">addKeyListener</b>
1288 (<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>)
1294 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1303 <div class="short">Adds a key listener for when this dialog is displayed.</div>
1309 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.
1316 <dl class="detailList">
1317 <dt class="heading">Parameters:</dt>
1320 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Array/Object</span> <b>key</b>
1323 <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>
1326 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1329 <dd>The function to call</dd>
1332 <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>
1335 <dd>(optional) The scope of the function</dd>
1343 <dl class="detailList">
1344 <dt class="heading">Returns:</dt>
1346 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1360 <td class="msource">
1362 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1368 <tr class="method-row config-row-alt0 expandable">
1369 <td class="micon"><a class="exi" href="#expand"> </a></td>
1373 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1374 <div class="fixedFont">
1375 <span class="attributes"></span><b class="itemname">addListener</b>
1377 (<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>)
1384 <div class="short">Appends an event handler to this component</div>
1390 Appends an event handler to this component
1397 <dl class="detailList">
1398 <dt class="heading">Parameters:</dt>
1401 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1404 <dd>The type of event to listen for</dd>
1407 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1410 <dd>The method the event invokes</dd>
1413 <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>
1416 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1419 <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>
1422 <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>
1440 <td class="msource">
1442 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1448 <tr class="method-row config-row-alt1 expandable notInherited">
1449 <td class="micon"><a class="exi" href="#expand"> </a></td>
1453 <a id="Roo.LayoutDialog-method-addxtype" name=".addxtype"></a>
1454 <div class="fixedFont">
1455 <span class="attributes"></span><b class="itemname">addxtype</b>
1463 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1472 <div class="short">Add an xtype element (actually adds to the layout.</div>
1478 Add an xtype element (actually adds to the layout.)
1489 <dl class="detailList">
1490 <dt class="heading">Returns:</dt>
1492 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> xdata xtype object data.</dd>
1506 <td class="msource">
1514 <tr class="method-row config-row-alt0 expandable">
1515 <td class="micon"><a class="exi" href="#expand"> </a></td>
1519 <a id="Roo.BasicDialog-method-alignTo" name=".alignTo"></a>
1520 <div class="fixedFont">
1521 <span class="attributes"></span><b class="itemname">alignTo</b>
1523 (<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>)
1529 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1538 <div class="short">Aligns the dialog to the specified element</div>
1544 Aligns the dialog to the specified element
1551 <dl class="detailList">
1552 <dt class="heading">Parameters:</dt>
1555 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>element</b>
1558 <dd>The element to align to.</dd>
1561 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>position</b>
1564 <dd>The position to align to (see {<b>link</b> Roo.Element<b>alignTo</b>} for more details).</dd>
1567 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>offsets</b>
1570 <dd>(optional) Offset the positioning by [x, y]</dd>
1578 <dl class="detailList">
1579 <dt class="heading">Returns:</dt>
1581 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1595 <td class="msource">
1597 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1603 <tr class="method-row config-row-alt1 expandable">
1604 <td class="micon"><a class="exi" href="#expand"> </a></td>
1608 <a id="Roo.BasicDialog-method-anchorTo" name=".anchorTo"></a>
1609 <div class="fixedFont">
1610 <span class="attributes"></span><b class="itemname">anchorTo</b>
1612 (<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>)
1618 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1627 <div class="short">Anchors an element to another element and realigns it when the window is resized.</div>
1633 Anchors an element to another element and realigns it when the window is resized.
1640 <dl class="detailList">
1641 <dt class="heading">Parameters:</dt>
1644 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>element</b>
1647 <dd>The element to align to.</dd>
1650 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>position</b>
1653 <dd>The position to align to (see {<b>link</b> Roo.Element<b>alignTo</b>} for more details)</dd>
1656 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>offsets</b>
1659 <dd>(optional) Offset the positioning by [x, y]</dd>
1662 <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>
1665 <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>
1673 <dl class="detailList">
1674 <dt class="heading">Returns:</dt>
1676 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1690 <td class="msource">
1692 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1698 <tr class="method-row config-row-alt0 expandable notInherited">
1699 <td class="micon"><a class="exi" href="#expand"> </a></td>
1703 <a id="Roo.LayoutDialog-method-beginUpdate" name=".beginUpdate"></a>
1704 <div class="fixedFont">
1705 <span class="attributes"></span><b class="itemname">beginUpdate</b>
1714 <div class="short">Begins an update of the layout <strike>and sets display to block and visibility to hidden</strike>.</div>
1720 Begins an update of the layout <strike>and sets display to block and visibility to hidden</strike>. Use standard beginUpdate/endUpdate on the layout.
1741 <td class="msource">
1749 <tr class="method-row config-row-alt1 expandable">
1750 <td class="micon"><a class="exi" href="#expand"> </a></td>
1754 <a id="Roo.BasicDialog-method-center" name=".center"></a>
1755 <div class="fixedFont">
1756 <span class="attributes"></span><b class="itemname">center</b>
1764 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1773 <div class="short">Centers this dialog in the viewport</div>
1779 Centers this dialog in the viewport
1790 <dl class="detailList">
1791 <dt class="heading">Returns:</dt>
1793 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1807 <td class="msource">
1809 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1815 <tr class="method-row config-row-alt0 expandable">
1816 <td class="micon"><a class="exi" href="#expand"> </a></td>
1820 <a id="Roo.BasicDialog-method-collapse" name=".collapse"></a>
1821 <div class="fixedFont">
1822 <span class="attributes"></span><b class="itemname">collapse</b>
1831 <div class="short">Collapses the dialog to its minimized state (only the title bar is visible).</div>
1837 Collapses the dialog to its minimized state (only the title bar is visible).<br/>Equivalent to the user clicking the collapse dialog button.
1858 <td class="msource">
1860 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1866 <tr class="method-row config-row-alt1 expandable">
1867 <td class="micon"><a class="exi" href="#expand"> </a></td>
1871 <a id="Roo.BasicDialog-method-destroy" name=".destroy"></a>
1872 <div class="fixedFont">
1873 <span class="attributes"></span><b class="itemname">destroy</b>
1875 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
1882 <div class="short">Destroys this dialog and all its supporting elements (including any tabs, shim,<br/>shadow, proxy, mask, etc.</div>
1888 Destroys this dialog and all its supporting elements (including any tabs, shim,<br/>shadow, proxy, mask, etc.) Also removes all event listeners.
1895 <dl class="detailList">
1896 <dt class="heading">Parameters:</dt>
1899 <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>
1902 <dd>(optional) true to remove the element from the DOM</dd>
1920 <td class="msource">
1922 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1928 <tr class="method-row config-row-alt0 expandable notInherited">
1929 <td class="micon"><a class="exi" href="#expand"> </a></td>
1933 <a id="Roo.LayoutDialog-method-endUpdate" name=".endUpdate"></a>
1934 <div class="fixedFont">
1935 <span class="attributes"></span><b class="itemname">endUpdate</b>
1944 <div class="short">Ends update of the layout <strike>and resets display to none</strike>.</div>
1950 Ends update of the layout <strike>and resets display to none</strike>. Use standard beginUpdate/endUpdate on the layout.
1971 <td class="msource">
1979 <tr class="method-row config-row-alt1 expandable">
1980 <td class="micon"><a class="exi" href="#expand"> </a></td>
1984 <a id="Roo.BasicDialog-method-expand" name=".expand"></a>
1985 <div class="fixedFont">
1986 <span class="attributes"></span><b class="itemname">expand</b>
1995 <div class="short">Expands a collapsed dialog back to its normal state.</div>
2001 Expands a collapsed dialog back to its normal state. Equivalent to the user<br/>clicking the expand dialog button.
2022 <td class="msource">
2024 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2030 <tr class="method-row config-row-alt0 expandable">
2031 <td class="micon"><a class="exi" href="#expand"> </a></td>
2035 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2036 <div class="fixedFont">
2037 <span class="attributes"></span><b class="itemname">fireEvent</b>
2039 (<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>)
2045 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2054 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2060 Fires the specified event with the passed parameters (minus the event name).
2067 <dl class="detailList">
2068 <dt class="heading">Parameters:</dt>
2071 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2077 <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>
2080 <dd>Variable number of parameters are passed to handlers</dd>
2088 <dl class="detailList">
2089 <dt class="heading">Returns:</dt>
2091 <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>
2105 <td class="msource">
2107 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2113 <tr class="method-row config-row-alt1 expandable">
2114 <td class="micon"><a class="exi" href="#expand"> </a></td>
2118 <a id="Roo.BasicDialog-method-focus" name=".focus"></a>
2119 <div class="fixedFont">
2120 <span class="attributes"></span><b class="itemname">focus</b>
2129 <div class="short">Focuses the dialog.</div>
2135 Focuses the dialog. If a defaultButton is set, it will receive focus, otherwise the<br/>dialog itself will receive focus.
2156 <td class="msource">
2158 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2164 <tr class="method-row config-row-alt0 expandable">
2165 <td class="micon"><a class="exi" href="#expand"> </a></td>
2169 <a id="Roo.BasicDialog-method-getEl" name=".getEl"></a>
2170 <div class="fixedFont">
2171 <span class="attributes"></span><b class="itemname">getEl</b>
2179 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2188 <div class="short">Returns the element for this dialog</div>
2194 Returns the element for this dialog
2205 <dl class="detailList">
2206 <dt class="heading">Returns:</dt>
2208 <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>
2222 <td class="msource">
2224 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2230 <tr class="method-row config-row-alt1 expandable notInherited">
2231 <td class="micon"><a class="exi" href="#expand"> </a></td>
2235 <a id="Roo.LayoutDialog-method-getLayout" name=".getLayout"></a>
2236 <div class="fixedFont">
2237 <span class="attributes"></span><b class="itemname">getLayout</b>
2245 <a href="./Roo.BorderLayout.html#constructor" roo:cls="Roo.BorderLayout.html#constructor">Roo.BorderLayout</a>
2254 <div class="short">Get the BorderLayout for this dialog</div>
2260 Get the BorderLayout for this dialog
2271 <dl class="detailList">
2272 <dt class="heading">Returns:</dt>
2274 <dd><span class="fixedFont"><a href="./Roo.BorderLayout.html#constructor" roo:cls="Roo.BorderLayout.html#constructor">Roo.BorderLayout</a></span> </dd>
2288 <td class="msource">
2296 <tr class="method-row config-row-alt0 expandable">
2297 <td class="micon"><a class="exi" href="#expand"> </a></td>
2301 <a id="Roo.BasicDialog-method-getTabs" name=".getTabs"></a>
2302 <div class="fixedFont">
2303 <span class="attributes"></span><b class="itemname">getTabs</b>
2311 <a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a>
2320 <div class="short">Returns the TabPanel component (creates it if it doesn't exist).</div>
2326 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.
2337 <dl class="detailList">
2338 <dt class="heading">Returns:</dt>
2340 <dd><span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> The tabs component</dd>
2354 <td class="msource">
2356 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2362 <tr class="method-row config-row-alt1 expandable">
2363 <td class="micon"><a class="exi" href="#expand"> </a></td>
2367 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2368 <div class="fixedFont">
2369 <span class="attributes"></span><b class="itemname">hasListener</b>
2371 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2377 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2386 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2392 Checks to see if this object has any listeners for a specified event
2399 <dl class="detailList">
2400 <dt class="heading">Parameters:</dt>
2403 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2406 <dd>The name of the event to check for</dd>
2414 <dl class="detailList">
2415 <dt class="heading">Returns:</dt>
2417 <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>
2431 <td class="msource">
2433 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2439 <tr class="method-row config-row-alt0 expandable">
2440 <td class="micon"><a class="exi" href="#expand"> </a></td>
2444 <a id="Roo.BasicDialog-method-hide" name=".hide"></a>
2445 <div class="fixedFont">
2446 <span class="attributes"></span><b class="itemname">hide</b>
2448 (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
2454 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2463 <div class="short">Hides the dialog.</div>
2476 <dl class="detailList">
2477 <dt class="heading">Parameters:</dt>
2480 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
2483 <dd>(optional) Function to call when the dialog is hidden</dd>
2491 <dl class="detailList">
2492 <dt class="heading">Returns:</dt>
2494 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2508 <td class="msource">
2510 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2516 <tr class="method-row config-row-alt1 expandable">
2517 <td class="micon"><a class="exi" href="#expand"> </a></td>
2521 <a id="Roo.BasicDialog-method-initTabs" name=".initTabs"></a>
2522 <div class="fixedFont">
2523 <span class="attributes"></span><b class="itemname">initTabs</b>
2531 <a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a>
2540 <div class="short">Reinitializes the tabs component, clearing out old tabs and finding new ones.</div>
2546 Reinitializes the tabs component, clearing out old tabs and finding new ones.
2557 <dl class="detailList">
2558 <dt class="heading">Returns:</dt>
2560 <dd><span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> The tabs component</dd>
2574 <td class="msource">
2576 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2582 <tr class="method-row config-row-alt0 expandable">
2583 <td class="micon"><a class="exi" href="#expand"> </a></td>
2587 <a id="Roo.BasicDialog-method-isVisible" name=".isVisible"></a>
2588 <div class="fixedFont">
2589 <span class="attributes"></span><b class="itemname">isVisible</b>
2597 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2606 <div class="short">Returns true if the dialog is visible</div>
2612 Returns true if the dialog is visible
2623 <dl class="detailList">
2624 <dt class="heading">Returns:</dt>
2626 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2640 <td class="msource">
2642 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2648 <tr class="method-row config-row-alt1 expandable">
2649 <td class="micon"><a class="exi" href="#expand"> </a></td>
2653 <a id="Roo.BasicDialog-method-moveTo" name=".moveTo"></a>
2654 <div class="fixedFont">
2655 <span class="attributes"></span><b class="itemname">moveTo</b>
2657 (<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>)
2663 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2672 <div class="short">Moves the dialog's top-left corner to the specified point</div>
2678 Moves the dialog's top-left corner to the specified point
2685 <dl class="detailList">
2686 <dt class="heading">Parameters:</dt>
2689 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
2695 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
2706 <dl class="detailList">
2707 <dt class="heading">Returns:</dt>
2709 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2723 <td class="msource">
2725 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2731 <tr class="method-row config-row-alt0 expandable">
2732 <td class="micon"><a class="exi" href="#expand"> </a></td>
2736 <a id="Roo.util.Observable-method-on" name=".on"></a>
2737 <div class="fixedFont">
2738 <span class="attributes"></span><b class="itemname">on</b>
2740 (<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>)
2747 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2753 Appends an event handler to this element (shorthand for addListener)
2760 <dl class="detailList">
2761 <dt class="heading">Parameters:</dt>
2764 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2767 <dd>The type of event to listen for</dd>
2770 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2773 <dd>The method the event invokes</dd>
2776 <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>
2779 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2782 <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>
2803 <td class="msource">
2805 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2811 <tr class="method-row config-row-alt1 expandable">
2812 <td class="micon"><a class="exi" href="#expand"> </a></td>
2816 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
2817 <div class="fixedFont">
2818 <span class="attributes"></span><b class="itemname">purgeListeners</b>
2827 <div class="short">Removes all listeners for this object</div>
2833 Removes all listeners for this object
2854 <td class="msource">
2856 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2862 <tr class="method-row config-row-alt0 expandable">
2863 <td class="micon"><a class="exi" href="#expand"> </a></td>
2867 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2868 <div class="fixedFont">
2869 <span class="attributes"></span><b class="itemname">removeListener</b>
2871 (<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>)
2878 <div class="short">Removes a listener</div>
2891 <dl class="detailList">
2892 <dt class="heading">Parameters:</dt>
2895 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2898 <dd>The type of event to listen for</dd>
2901 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2904 <dd>The handler to remove</dd>
2907 <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>
2910 <dd>(optional) The scope (this object) for the handler</dd>
2928 <td class="msource">
2930 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2936 <tr class="method-row config-row-alt1 expandable">
2937 <td class="micon"><a class="exi" href="#expand"> </a></td>
2941 <a id="Roo.BasicDialog-method-resizeTo" name=".resizeTo"></a>
2942 <div class="fixedFont">
2943 <span class="attributes"></span><b class="itemname">resizeTo</b>
2945 (<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>)
2951 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2960 <div class="short">Resizes the dialog.</div>
2973 <dl class="detailList">
2974 <dt class="heading">Parameters:</dt>
2977 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
2983 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
2994 <dl class="detailList">
2995 <dt class="heading">Returns:</dt>
2997 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3011 <td class="msource">
3013 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3019 <tr class="method-row config-row-alt0 expandable">
3020 <td class="micon"><a class="exi" href="#expand"> </a></td>
3024 <a id="Roo.BasicDialog-method-restoreState" name=".restoreState"></a>
3025 <div class="fixedFont">
3026 <span class="attributes"></span><b class="itemname">restoreState</b>
3034 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3043 <div class="short">Restores the previous state of the dialog if Roo.state is configured.</div>
3049 Restores the previous state of the dialog if Roo.state is configured.
3060 <dl class="detailList">
3061 <dt class="heading">Returns:</dt>
3063 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3077 <td class="msource">
3079 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3085 <tr class="method-row config-row-alt1 expandable">
3086 <td class="micon"><a class="exi" href="#expand"> </a></td>
3090 <a id="Roo.BasicDialog-method-setContentSize" name=".setContentSize"></a>
3091 <div class="fixedFont">
3092 <span class="attributes"></span><b class="itemname">setContentSize</b>
3094 (<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>)
3100 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3109 <div class="short">Resizes the dialog to fit the specified content size.</div>
3115 Resizes the dialog to fit the specified content size.
3122 <dl class="detailList">
3123 <dt class="heading">Parameters:</dt>
3126 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
3132 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
3143 <dl class="detailList">
3144 <dt class="heading">Returns:</dt>
3146 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3160 <td class="msource">
3162 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3168 <tr class="method-row config-row-alt0 expandable">
3169 <td class="micon"><a class="exi" href="#expand"> </a></td>
3173 <a id="Roo.BasicDialog-method-setDefaultButton" name=".setDefaultButton"></a>
3174 <div class="fixedFont">
3175 <span class="attributes"></span><b class="itemname">setDefaultButton</b>
3177 (Roo.BasicDialog.Button <B><i>btn</i></B>)
3183 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3192 <div class="short">Sets the default button to be focused when the dialog is displayed.</div>
3198 Sets the default button to be focused when the dialog is displayed.
3205 <dl class="detailList">
3206 <dt class="heading">Parameters:</dt>
3209 <span class="fixedFont">Roo.BasicDialog.Button</span> <b>btn</b>
3212 <dd>The button object returned by {<b>link</b> <b>addButton</b>}</dd>
3220 <dl class="detailList">
3221 <dt class="heading">Returns:</dt>
3223 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3237 <td class="msource">
3239 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3245 <tr class="method-row config-row-alt1 expandable">
3246 <td class="micon"><a class="exi" href="#expand"> </a></td>
3250 <a id="Roo.BasicDialog-method-setTitle" name=".setTitle"></a>
3251 <div class="fixedFont">
3252 <span class="attributes"></span><b class="itemname">setTitle</b>
3254 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
3260 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3269 <div class="short">Sets the dialog title text</div>
3275 Sets the dialog title text
3282 <dl class="detailList">
3283 <dt class="heading">Parameters:</dt>
3286 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
3289 <dd>The title text to display</dd>
3297 <dl class="detailList">
3298 <dt class="heading">Returns:</dt>
3300 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3314 <td class="msource">
3316 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3322 <tr class="method-row config-row-alt0 expandable">
3323 <td class="micon"><a class="exi" href="#expand"> </a></td>
3327 <a id="Roo.BasicDialog-method-show" name=".show"></a>
3328 <div class="fixedFont">
3329 <span class="attributes"></span><b class="itemname">show</b>
3331 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>animateTarget</i></B>)
3337 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3346 <div class="short">Shows the dialog.</div>
3359 <dl class="detailList">
3360 <dt class="heading">Parameters:</dt>
3363 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>animateTarget</b>
3366 <dd>(optional) Reset the animation target</dd>
3374 <dl class="detailList">
3375 <dt class="heading">Returns:</dt>
3377 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3391 <td class="msource">
3393 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3399 <tr class="method-row config-row-alt1 expandable">
3400 <td class="micon"><a class="exi" href="#expand"> </a></td>
3404 <a id="Roo.BasicDialog-method-toBack" name=".toBack"></a>
3405 <div class="fixedFont">
3406 <span class="attributes"></span><b class="itemname">toBack</b>
3414 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3423 <div class="short">Sends this dialog to the back (under) of any other visible dialogs</div>
3429 Sends this dialog to the back (under) of any other visible dialogs
3440 <dl class="detailList">
3441 <dt class="heading">Returns:</dt>
3443 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3457 <td class="msource">
3459 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3465 <tr class="method-row config-row-alt0 expandable">
3466 <td class="micon"><a class="exi" href="#expand"> </a></td>
3470 <a id="Roo.BasicDialog-method-toFront" name=".toFront"></a>
3471 <div class="fixedFont">
3472 <span class="attributes"></span><b class="itemname">toFront</b>
3480 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3489 <div class="short">Brings this dialog to the front of any other visible dialogs</div>
3495 Brings this dialog to the front of any other visible dialogs
3506 <dl class="detailList">
3507 <dt class="heading">Returns:</dt>
3509 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3523 <td class="msource">
3525 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3531 <tr class="method-row config-row-alt1 expandable">
3532 <td class="micon"><a class="exi" href="#expand"> </a></td>
3536 <a id="Roo.util.Observable-method-un" name=".un"></a>
3537 <div class="fixedFont">
3538 <span class="attributes"></span><b class="itemname">un</b>
3540 (<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>)
3547 <div class="short">Removes a listener (shorthand for removeListener)</div>
3553 Removes a listener (shorthand for removeListener)
3560 <dl class="detailList">
3561 <dt class="heading">Parameters:</dt>
3564 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3567 <dd>The type of event to listen for</dd>
3570 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3573 <dd>The handler to remove</dd>
3576 <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>
3579 <dd>(optional) The scope (this object) for the handler</dd>
3597 <td class="msource">
3599 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3608 <!-- ============================== events summary / details ======================== -->
3611 <a id="Roo.LayoutDialog-events"></a>
3620 <table cellspacing="0" class="member-table">
3621 <caption>Events</caption>
3624 <th class="sig-header" colspan="2">Event</th>
3625 <th class="msource-header">Defined By</th>
3634 <tr class="method-row expandable config-row-alt0">
3635 <td class="micon"><a class="exi" href="#expand"> </a></td>
3638 <a id="Roo.BasicDialog-event-*beforehide"></a>
3640 <div class="fixedFont">
3641 <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>)
3647 <div class="short">Fires before this dialog is hidden.
3653 Fires before this dialog is hidden.
3659 <dl class="detailList">
3660 <dt class="heading">Parameters:</dt>
3663 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3684 <td class="msource">
3685 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3689 <tr class="method-row expandable config-row-alt1">
3690 <td class="micon"><a class="exi" href="#expand"> </a></td>
3693 <a id="Roo.BasicDialog-event-*beforeshow"></a>
3695 <div class="fixedFont">
3696 <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>)
3702 <div class="short">Fires before this dialog is shown.
3708 Fires before this dialog is shown.
3714 <dl class="detailList">
3715 <dt class="heading">Parameters:</dt>
3718 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3739 <td class="msource">
3740 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3744 <tr class="method-row expandable config-row-alt0">
3745 <td class="micon"><a class="exi" href="#expand"> </a></td>
3748 <a id="Roo.BasicDialog-event-*hide"></a>
3750 <div class="fixedFont">
3751 <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>)
3757 <div class="short">Fires when this dialog is hidden.
3763 Fires when this dialog is hidden.
3769 <dl class="detailList">
3770 <dt class="heading">Parameters:</dt>
3773 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3794 <td class="msource">
3795 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3799 <tr class="method-row expandable config-row-alt1">
3800 <td class="micon"><a class="exi" href="#expand"> </a></td>
3803 <a id="Roo.BasicDialog-event-*keydown"></a>
3805 <div class="fixedFont">
3806 <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>)
3812 <div class="short">Fires when a key is pressed
3818 Fires when a key is pressed
3824 <dl class="detailList">
3825 <dt class="heading">Parameters:</dt>
3828 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3834 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3855 <td class="msource">
3856 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3860 <tr class="method-row expandable config-row-alt0">
3861 <td class="micon"><a class="exi" href="#expand"> </a></td>
3864 <a id="Roo.BasicDialog-event-*move"></a>
3866 <div class="fixedFont">
3867 <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>)
3873 <div class="short">Fires when this dialog is moved by the user.
3879 Fires when this dialog is moved by the user.
3885 <dl class="detailList">
3886 <dt class="heading">Parameters:</dt>
3889 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3895 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3898 <dd>The new page X</dd>
3901 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3904 <dd>The new page Y</dd>
3922 <td class="msource">
3923 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3927 <tr class="method-row expandable config-row-alt1">
3928 <td class="micon"><a class="exi" href="#expand"> </a></td>
3931 <a id="Roo.BasicDialog-event-*resize"></a>
3933 <div class="fixedFont">
3934 <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>)
3940 <div class="short">Fires when this dialog is resized by the user.
3946 Fires when this dialog is resized by the user.
3952 <dl class="detailList">
3953 <dt class="heading">Parameters:</dt>
3956 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3962 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
3965 <dd>The new width</dd>
3968 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
3971 <dd>The new height</dd>
3989 <td class="msource">
3990 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3994 <tr class="method-row expandable config-row-alt0">
3995 <td class="micon"><a class="exi" href="#expand"> </a></td>
3998 <a id="Roo.BasicDialog-event-*show"></a>
4000 <div class="fixedFont">
4001 <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>)
4007 <div class="short">Fires when this dialog is shown.
4013 Fires when this dialog is shown.
4019 <dl class="detailList">
4020 <dt class="heading">Parameters:</dt>
4023 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
4044 <td class="msource">
4045 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
4056 <!-- ============================== footer ================================= -->
4057 <div class="fineprint" style="clear:both">
4059 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Jul 07 2011 12:39:35 GMT+0800 (HKT)
4061 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>