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>
152 Id or element from which the dialog should animate while opening<br/>(defaults to null with no animation)
162 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
168 <tr class="config-row expandable config-row-alt1">
169 <td class="micon"><a class="exi" href="#expand"> </a></td>
172 <a id="Roo.BasicDialog-cfg-autoCreate" name=".autoCreate"></a>
173 <div class="fixedFont">
174 <b class="itemname">autoCreate</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/DomHelper
180 <div class="short">True to auto create from scratch, or using a DomHelper Object (defaults to false)</div>
185 True to auto create from scratch, or using a DomHelper Object (defaults to false)
195 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
201 <tr class="config-row expandable config-row-alt0">
202 <td class="micon"><a class="exi" href="#expand"> </a></td>
205 <a id="Roo.BasicDialog-cfg-autoScroll" name=".autoScroll"></a>
206 <div class="fixedFont">
207 <b class="itemname">autoScroll</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
213 <div class="short">True to allow the dialog body contents to overflow and display scrollbars (defaults to false)</div>
218 True to allow the dialog body contents to overflow and display scrollbars (defaults to false)
228 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
234 <tr class="config-row expandable config-row-alt1">
235 <td class="micon"><a class="exi" href="#expand"> </a></td>
238 <a id="Roo.BasicDialog-cfg-autoTabs" name=".autoTabs"></a>
239 <div class="fixedFont">
240 <b class="itemname">autoTabs</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
246 <div class="short">If true, all elements with class 'x-dlg-tab' will get automatically converted to tabs (defaults to false)</div>
251 If true, all elements with class 'x-dlg-tab' will get automatically converted to tabs (defaults to false)
261 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
267 <tr class="config-row expandable config-row-alt0">
268 <td class="micon"><a class="exi" href="#expand"> </a></td>
271 <a id="Roo.BasicDialog-cfg-buttonAlign" name=".buttonAlign"></a>
272 <div class="fixedFont">
273 <b class="itemname">buttonAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
279 <div class="short">Valid values are "left," "center" and "right" (defaults to "right")</div>
284 Valid values are "left," "center" and "right" (defaults to "right")
294 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
300 <tr class="config-row expandable config-row-alt1">
301 <td class="micon"><a class="exi" href="#expand"> </a></td>
304 <a id="Roo.BasicDialog-cfg-buttons" name=".buttons"></a>
305 <div class="fixedFont">
306 <b class="itemname">buttons</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
312 <div class="short">Array of buttons</div>
327 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
333 <tr class="config-row expandable config-row-alt0">
334 <td class="micon"><a class="exi" href="#expand"> </a></td>
337 <a id="Roo.BasicDialog-cfg-closable" name=".closable"></a>
338 <div class="fixedFont">
339 <b class="itemname">closable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
345 <div class="short">False to remove the built-in top-right corner close button (defaults to true)</div>
350 False to remove the built-in top-right corner close button (defaults to true)
360 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
366 <tr class="config-row expandable config-row-alt1">
367 <td class="micon"><a class="exi" href="#expand"> </a></td>
370 <a id="Roo.BasicDialog-cfg-collapsible" name=".collapsible"></a>
371 <div class="fixedFont">
372 <b class="itemname">collapsible</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
378 <div class="short">False to remove the built-in top-right corner collapse button (defaults to true)</div>
383 False to remove the built-in top-right corner collapse button (defaults to true)
393 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
399 <tr class="config-row expandable config-row-alt0">
400 <td class="micon"><a class="exi" href="#expand"> </a></td>
403 <a id="Roo.BasicDialog-cfg-constraintoviewport" name=".constraintoviewport"></a>
404 <div class="fixedFont">
405 <b class="itemname">constraintoviewport</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
411 <div class="short">True to keep the dialog constrained within the visible viewport boundaries (defaults to true)</div>
416 True to keep the dialog constrained within the visible viewport boundaries (defaults to true)
426 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
432 <tr class="config-row expandable config-row-alt1">
433 <td class="micon"><a class="exi" href="#expand"> </a></td>
436 <a id="Roo.BasicDialog-cfg-draggable" name=".draggable"></a>
437 <div class="fixedFont">
438 <b class="itemname">draggable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
444 <div class="short">False to disable dragging of the dialog within the viewport (defaults to true)</div>
449 False to disable dragging of the dialog within the viewport (defaults to true)
459 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
465 <tr class="config-row expandable config-row-alt0">
466 <td class="micon"><a class="exi" href="#expand"> </a></td>
469 <a id="Roo.BasicDialog-cfg-fixedcenter" name=".fixedcenter"></a>
470 <div class="fixedFont">
471 <b class="itemname">fixedcenter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
477 <div class="short">True to ensure that anytime the dialog is shown or resized it gets centered (defaults to false)</div>
482 True to ensure that anytime the dialog is shown or resized it gets centered (defaults to false)
492 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
498 <tr class="config-row expandable config-row-alt1">
499 <td class="micon"><a class="exi" href="#expand"> </a></td>
502 <a id="Roo.BasicDialog-cfg-height" name=".height"></a>
503 <div class="fixedFont">
504 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
510 <div class="short">Height of the dialog in pixels (can also be set via CSS).</div>
515 Height of the dialog in pixels (can also be set via CSS). Determined by browser if unspecified.
525 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
531 <tr class="config-row expandable config-row-alt0">
532 <td class="micon"><a class="exi" href="#expand"> </a></td>
535 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
536 <div class="fixedFont">
537 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
543 <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>
548 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>
558 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
564 <tr class="config-row expandable config-row-alt1">
565 <td class="micon"><a class="exi" href="#expand"> </a></td>
568 <a id="Roo.BasicDialog-cfg-minButtonWidth" name=".minButtonWidth"></a>
569 <div class="fixedFont">
570 <b class="itemname">minButtonWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
576 <div class="short">Minimum width of all dialog buttons (defaults to 75)</div>
581 Minimum width of all dialog buttons (defaults to 75)
591 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
597 <tr class="config-row expandable config-row-alt0">
598 <td class="micon"><a class="exi" href="#expand"> </a></td>
601 <a id="Roo.BasicDialog-cfg-minHeight" name=".minHeight"></a>
602 <div class="fixedFont">
603 <b class="itemname">minHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
609 <div class="short">The minimum allowable height for a resizable dialog (defaults to 80)</div>
614 The minimum allowable height for a resizable dialog (defaults to 80)
624 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
630 <tr class="config-row expandable config-row-alt1">
631 <td class="micon"><a class="exi" href="#expand"> </a></td>
634 <a id="Roo.BasicDialog-cfg-minWidth" name=".minWidth"></a>
635 <div class="fixedFont">
636 <b class="itemname">minWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
642 <div class="short">The minimum allowable width for a resizable dialog (defaults to 200)</div>
647 The minimum allowable width for a resizable dialog (defaults to 200)
657 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
663 <tr class="config-row expandable config-row-alt0">
664 <td class="micon"><a class="exi" href="#expand"> </a></td>
667 <a id="Roo.BasicDialog-cfg-modal" name=".modal"></a>
668 <div class="fixedFont">
669 <b class="itemname">modal</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
675 <div class="short">True to show the dialog modally, preventing user interaction with the rest of the page (defaults to false)</div>
680 True to show the dialog modally, preventing user interaction with the rest of the page (defaults to false)
690 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
696 <tr class="config-row expandable config-row-alt1">
697 <td class="micon"><a class="exi" href="#expand"> </a></td>
700 <a id="Roo.BasicDialog-cfg-proxyDrag" name=".proxyDrag"></a>
701 <div class="fixedFont">
702 <b class="itemname">proxyDrag</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
708 <div class="short">True to drag a lightweight proxy element rather than the dialog itself, used when<br/>draggable = true (defaults to false)</div>
713 True to drag a lightweight proxy element rather than the dialog itself, used when<br/>draggable = true (defaults to false)
723 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
729 <tr class="config-row expandable config-row-alt0">
730 <td class="micon"><a class="exi" href="#expand"> </a></td>
733 <a id="Roo.BasicDialog-cfg-resizable" name=".resizable"></a>
734 <div class="fixedFont">
735 <b class="itemname">resizable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
741 <div class="short">False to disable manual dialog resizing (defaults to true)</div>
746 False to disable manual dialog resizing (defaults to true)
756 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
762 <tr class="config-row expandable config-row-alt1">
763 <td class="micon"><a class="exi" href="#expand"> </a></td>
766 <a id="Roo.BasicDialog-cfg-resizeHandles" name=".resizeHandles"></a>
767 <div class="fixedFont">
768 <b class="itemname">resizeHandles</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
774 <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>
779 Which resize handles to display - see the {<b>link</b> Roo.Resizable} handles config<br/>property for valid values (defaults to 'all')
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-shadow" name=".shadow"></a>
800 <div class="fixedFont">
801 <b class="itemname">shadow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String
807 <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>
812 True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right<br/>shadow (defaults to false)
822 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
828 <tr class="config-row expandable config-row-alt1">
829 <td class="micon"><a class="exi" href="#expand"> </a></td>
832 <a id="Roo.BasicDialog-cfg-shadowOffset" name=".shadowOffset"></a>
833 <div class="fixedFont">
834 <b class="itemname">shadowOffset</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
840 <div class="short">The number of pixels to offset the shadow if displayed (defaults to 5)</div>
845 The number of pixels to offset the shadow if displayed (defaults to 5)
855 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
861 <tr class="config-row expandable config-row-alt0">
862 <td class="micon"><a class="exi" href="#expand"> </a></td>
865 <a id="Roo.BasicDialog-cfg-shim" name=".shim"></a>
866 <div class="fixedFont">
867 <b class="itemname">shim</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
873 <div class="short">True to create an iframe shim that prevents selects from showing through (defaults to false)</div>
878 True to create an iframe shim that prevents selects from showing through (defaults to false)
888 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
894 <tr class="config-row expandable config-row-alt1">
895 <td class="micon"><a class="exi" href="#expand"> </a></td>
898 <a id="Roo.BasicDialog-cfg-syncHeightBeforeShow" name=".syncHeightBeforeShow"></a>
899 <div class="fixedFont">
900 <b class="itemname">syncHeightBeforeShow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
906 <div class="short">True to cause the dimensions to be recalculated before the dialog is shown (defaults to false)</div>
911 True to cause the dimensions to be recalculated before the dialog is shown (defaults to false)
921 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
927 <tr class="config-row expandable config-row-alt0">
928 <td class="micon"><a class="exi" href="#expand"> </a></td>
931 <a id="Roo.BasicDialog-cfg-tabTag" name=".tabTag"></a>
932 <div class="fixedFont">
933 <b class="itemname">tabTag</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
939 <div class="short">The tag name of tab elements, used when autoTabs = true (defaults to 'div')</div>
944 The tag name of tab elements, used when autoTabs = true (defaults to 'div')
954 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
960 <tr class="config-row expandable config-row-alt1">
961 <td class="micon"><a class="exi" href="#expand"> </a></td>
964 <a id="Roo.BasicDialog-cfg-title" name=".title"></a>
965 <div class="fixedFont">
966 <b class="itemname">title</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
972 <div class="short">Default text to display in the title bar (defaults to null)</div>
977 Default text to display in the title bar (defaults to null)
987 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
993 <tr class="config-row expandable config-row-alt0">
994 <td class="micon"><a class="exi" href="#expand"> </a></td>
997 <a id="Roo.BasicDialog-cfg-width" name=".width"></a>
998 <div class="fixedFont">
999 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1005 <div class="short">Width of the dialog in pixels (can also be set via CSS).</div>
1010 Width of the dialog in pixels (can also be set via CSS). Determined by browser if unspecified.
1018 <td class="msource">
1020 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1026 <tr class="config-row expandable config-row-alt1">
1027 <td class="micon"><a class="exi" href="#expand"> </a></td>
1030 <a id="Roo.BasicDialog-cfg-x" name=".x"></a>
1031 <div class="fixedFont">
1032 <b class="itemname">x</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1038 <div class="short">The default left page coordinate of the dialog (defaults to center screen)</div>
1043 The default left page coordinate of the dialog (defaults to center screen)
1051 <td class="msource">
1053 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1059 <tr class="config-row expandable config-row-alt0">
1060 <td class="micon"><a class="exi" href="#expand"> </a></td>
1063 <a id="Roo.BasicDialog-cfg-y" name=".y"></a>
1064 <div class="fixedFont">
1065 <b class="itemname">y</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1071 <div class="short">The default top page coordinate of the dialog (defaults to center screen)</div>
1076 The default top page coordinate of the dialog (defaults to center screen)
1084 <td class="msource">
1086 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1102 <!-- ============================== public properties ==================== -->
1106 <a id="Roo.LayoutDialog-props"></a>
1112 <table cellspacing="0" class="member-table">
1113 <caption class="Empty">Public Properties - Has None</caption>
1119 <!-- ============================== methods summary / details ======================== -->
1122 <a id="Roo.LayoutDialog-methods"></a>
1123 <!-- constructor?? -->
1130 <!-- then dynamics first -->
1137 <table cellspacing="0" class="member-table">
1138 <caption>Public Methods</caption>
1140 <th class="sig-header" colspan="2">Method</th>
1141 <th class="msource-header">Defined By</th>
1151 <tr class="method-row config-row-alt0 expandable notInherited">
1152 <td class="micon"><a class="exi" href="#expand"> </a></td>
1156 <a id="Roo-method-LayoutDialog" name=".LayoutDialog"></a>
1157 <div class="fixedFont">
1158 <span class="attributes">new <B>Roo.</B></span><b class="itemname">LayoutDialog</b>
1160 (<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>)
1168 <div class="short">Create a new Roo.LayoutDialog</div>
1175 Create a new Roo.LayoutDialog
1178 <dl class="detailList">
1179 <dt class="heading">Parameters:</dt>
1182 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>el</b>
1185 <dd>The id of or container element, or config</dd>
1188 <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>
1191 <dd>configuration options</dd>
1209 <td class="msource">
1215 <tr class="method-row config-row-alt1 expandable">
1216 <td class="micon"><a class="exi" href="#expand"> </a></td>
1220 <a id="Roo.BasicDialog-method-addButton" name=".addButton"></a>
1221 <div class="fixedFont">
1222 <span class="attributes"></span><b class="itemname">addButton</b>
1224 (<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>)
1230 <a href="./Roo.Button.html#constructor" roo:cls="Roo.Button.html#constructor">Roo.Button</a>
1239 <div class="short">Adds a button to the footer section of the dialog.</div>
1245 Adds a button to the footer section of the dialog.
1252 <dl class="detailList">
1253 <dt class="heading">Parameters:</dt>
1256 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span> <b>config</b>
1259 <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>
1262 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1265 <dd>The function called when the button is clicked</dd>
1268 <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>
1271 <dd>(optional) The scope of the handler function (accepts position as a property)</dd>
1279 <dl class="detailList">
1280 <dt class="heading">Returns:</dt>
1282 <dd><span class="fixedFont"><a href="./Roo.Button.html#constructor" roo:cls="Roo.Button.html#constructor">Roo.Button</a></span> The new button</dd>
1296 <td class="msource">
1298 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1304 <tr class="method-row config-row-alt0 expandable">
1305 <td class="micon"><a class="exi" href="#expand"> </a></td>
1309 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1310 <div class="fixedFont">
1311 <span class="attributes"></span><b class="itemname">addEvents</b>
1313 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1320 <div class="short">Used to define events on this Observable</div>
1326 Used to define events on this Observable
1333 <dl class="detailList">
1334 <dt class="heading">Parameters:</dt>
1337 <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>
1340 <dd>The object with the events defined</dd>
1358 <td class="msource">
1360 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1366 <tr class="method-row config-row-alt1 expandable">
1367 <td class="micon"><a class="exi" href="#expand"> </a></td>
1371 <a id="Roo.BasicDialog-method-addKeyListener" name=".addKeyListener"></a>
1372 <div class="fixedFont">
1373 <span class="attributes"></span><b class="itemname">addKeyListener</b>
1375 (<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>)
1381 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1390 <div class="short">Adds a key listener for when this dialog is displayed.</div>
1396 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.
1403 <dl class="detailList">
1404 <dt class="heading">Parameters:</dt>
1407 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Array/Object</span> <b>key</b>
1410 <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>
1413 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1416 <dd>The function to call</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>scope</b>
1422 <dd>(optional) The scope of the function</dd>
1430 <dl class="detailList">
1431 <dt class="heading">Returns:</dt>
1433 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1447 <td class="msource">
1449 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1455 <tr class="method-row config-row-alt0 expandable">
1456 <td class="micon"><a class="exi" href="#expand"> </a></td>
1460 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1461 <div class="fixedFont">
1462 <span class="attributes"></span><b class="itemname">addListener</b>
1464 (<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>)
1471 <div class="short">Appends an event handler to this component</div>
1477 Appends an event handler to this component
1484 <dl class="detailList">
1485 <dt class="heading">Parameters:</dt>
1488 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1491 <dd>The type of event to listen for</dd>
1494 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1497 <dd>The method the event invokes</dd>
1500 <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>
1503 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1506 <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>
1509 <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>
1527 <td class="msource">
1529 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1535 <tr class="method-row config-row-alt1 expandable notInherited">
1536 <td class="micon"><a class="exi" href="#expand"> </a></td>
1540 <a id="Roo.LayoutDialog-method-addxtype" name=".addxtype"></a>
1541 <div class="fixedFont">
1542 <span class="attributes"></span><b class="itemname">addxtype</b>
1550 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1559 <div class="short">Add an xtype element (actually adds to the layout.</div>
1565 Add an xtype element (actually adds to the layout.)
1576 <dl class="detailList">
1577 <dt class="heading">Returns:</dt>
1579 <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>
1593 <td class="msource">
1601 <tr class="method-row config-row-alt0 expandable">
1602 <td class="micon"><a class="exi" href="#expand"> </a></td>
1606 <a id="Roo.BasicDialog-method-alignTo" name=".alignTo"></a>
1607 <div class="fixedFont">
1608 <span class="attributes"></span><b class="itemname">alignTo</b>
1610 (<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>)
1616 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1625 <div class="short">Aligns the dialog to the specified element</div>
1631 Aligns the dialog to the specified element
1638 <dl class="detailList">
1639 <dt class="heading">Parameters:</dt>
1642 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>element</b>
1645 <dd>The element to align to.</dd>
1648 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>position</b>
1651 <dd>The position to align to (see {<b>link</b> Roo.Element<b>alignTo</b>} for more details).</dd>
1654 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>offsets</b>
1657 <dd>(optional) Offset the positioning by [x, y]</dd>
1665 <dl class="detailList">
1666 <dt class="heading">Returns:</dt>
1668 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1682 <td class="msource">
1684 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1690 <tr class="method-row config-row-alt1 expandable">
1691 <td class="micon"><a class="exi" href="#expand"> </a></td>
1695 <a id="Roo.BasicDialog-method-anchorTo" name=".anchorTo"></a>
1696 <div class="fixedFont">
1697 <span class="attributes"></span><b class="itemname">anchorTo</b>
1699 (<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>)
1705 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1714 <div class="short">Anchors an element to another element and realigns it when the window is resized.</div>
1720 Anchors an element to another element and realigns it when the window is resized.
1727 <dl class="detailList">
1728 <dt class="heading">Parameters:</dt>
1731 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>element</b>
1734 <dd>The element to align to.</dd>
1737 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>position</b>
1740 <dd>The position to align to (see {<b>link</b> Roo.Element<b>alignTo</b>} for more details)</dd>
1743 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>offsets</b>
1746 <dd>(optional) Offset the positioning by [x, y]</dd>
1749 <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>
1752 <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>
1760 <dl class="detailList">
1761 <dt class="heading">Returns:</dt>
1763 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1777 <td class="msource">
1779 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1785 <tr class="method-row config-row-alt0 expandable notInherited">
1786 <td class="micon"><a class="exi" href="#expand"> </a></td>
1790 <a id="Roo.LayoutDialog-method-beginUpdate" name=".beginUpdate"></a>
1791 <div class="fixedFont">
1792 <span class="attributes"></span><b class="itemname">beginUpdate</b>
1801 <div class="short">Begins an update of the layout <strike>and sets display to block and visibility to hidden</strike>.</div>
1807 Begins an update of the layout <strike>and sets display to block and visibility to hidden</strike>. Use standard beginUpdate/endUpdate on the layout.
1828 <td class="msource">
1836 <tr class="method-row config-row-alt1 expandable">
1837 <td class="micon"><a class="exi" href="#expand"> </a></td>
1841 <a id="Roo.BasicDialog-method-center" name=".center"></a>
1842 <div class="fixedFont">
1843 <span class="attributes"></span><b class="itemname">center</b>
1851 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1860 <div class="short">Centers this dialog in the viewport</div>
1866 Centers this dialog in the viewport
1877 <dl class="detailList">
1878 <dt class="heading">Returns:</dt>
1880 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
1894 <td class="msource">
1896 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1902 <tr class="method-row config-row-alt0 expandable">
1903 <td class="micon"><a class="exi" href="#expand"> </a></td>
1907 <a id="Roo.BasicDialog-method-collapse" name=".collapse"></a>
1908 <div class="fixedFont">
1909 <span class="attributes"></span><b class="itemname">collapse</b>
1918 <div class="short">Collapses the dialog to its minimized state (only the title bar is visible).</div>
1924 Collapses the dialog to its minimized state (only the title bar is visible).<br/>Equivalent to the user clicking the collapse dialog button.
1945 <td class="msource">
1947 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
1953 <tr class="method-row config-row-alt1 expandable">
1954 <td class="micon"><a class="exi" href="#expand"> </a></td>
1958 <a id="Roo.BasicDialog-method-destroy" name=".destroy"></a>
1959 <div class="fixedFont">
1960 <span class="attributes"></span><b class="itemname">destroy</b>
1962 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
1969 <div class="short">Destroys this dialog and all its supporting elements (including any tabs, shim,<br/>shadow, proxy, mask, etc.</div>
1975 Destroys this dialog and all its supporting elements (including any tabs, shim,<br/>shadow, proxy, mask, etc.) Also removes all event listeners.
1982 <dl class="detailList">
1983 <dt class="heading">Parameters:</dt>
1986 <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>
1989 <dd>(optional) true to remove the element from the DOM</dd>
2007 <td class="msource">
2009 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2015 <tr class="method-row config-row-alt0 expandable notInherited">
2016 <td class="micon"><a class="exi" href="#expand"> </a></td>
2020 <a id="Roo.LayoutDialog-method-endUpdate" name=".endUpdate"></a>
2021 <div class="fixedFont">
2022 <span class="attributes"></span><b class="itemname">endUpdate</b>
2031 <div class="short">Ends update of the layout <strike>and resets display to none</strike>.</div>
2037 Ends update of the layout <strike>and resets display to none</strike>. Use standard beginUpdate/endUpdate on the layout.
2058 <td class="msource">
2066 <tr class="method-row config-row-alt1 expandable">
2067 <td class="micon"><a class="exi" href="#expand"> </a></td>
2071 <a id="Roo.BasicDialog-method-expand" name=".expand"></a>
2072 <div class="fixedFont">
2073 <span class="attributes"></span><b class="itemname">expand</b>
2082 <div class="short">Expands a collapsed dialog back to its normal state.</div>
2088 Expands a collapsed dialog back to its normal state. Equivalent to the user<br/>clicking the expand dialog button.
2109 <td class="msource">
2111 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2117 <tr class="method-row config-row-alt0 expandable">
2118 <td class="micon"><a class="exi" href="#expand"> </a></td>
2122 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2123 <div class="fixedFont">
2124 <span class="attributes"></span><b class="itemname">fireEvent</b>
2126 (<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>)
2132 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2141 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2147 Fires the specified event with the passed parameters (minus the event name).
2154 <dl class="detailList">
2155 <dt class="heading">Parameters:</dt>
2158 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2164 <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>
2167 <dd>Variable number of parameters are passed to handlers</dd>
2175 <dl class="detailList">
2176 <dt class="heading">Returns:</dt>
2178 <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>
2192 <td class="msource">
2194 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2200 <tr class="method-row config-row-alt1 expandable">
2201 <td class="micon"><a class="exi" href="#expand"> </a></td>
2205 <a id="Roo.BasicDialog-method-focus" name=".focus"></a>
2206 <div class="fixedFont">
2207 <span class="attributes"></span><b class="itemname">focus</b>
2216 <div class="short">Focuses the dialog.</div>
2222 Focuses the dialog. If a defaultButton is set, it will receive focus, otherwise the<br/>dialog itself will receive focus.
2243 <td class="msource">
2245 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2251 <tr class="method-row config-row-alt0 expandable">
2252 <td class="micon"><a class="exi" href="#expand"> </a></td>
2256 <a id="Roo.BasicDialog-method-getEl" name=".getEl"></a>
2257 <div class="fixedFont">
2258 <span class="attributes"></span><b class="itemname">getEl</b>
2266 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2275 <div class="short">Returns the element for this dialog</div>
2281 Returns the element for this dialog
2292 <dl class="detailList">
2293 <dt class="heading">Returns:</dt>
2295 <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>
2309 <td class="msource">
2311 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2317 <tr class="method-row config-row-alt1 expandable notInherited">
2318 <td class="micon"><a class="exi" href="#expand"> </a></td>
2322 <a id="Roo.LayoutDialog-method-getLayout" name=".getLayout"></a>
2323 <div class="fixedFont">
2324 <span class="attributes"></span><b class="itemname">getLayout</b>
2332 <a href="./Roo.BorderLayout.html#constructor" roo:cls="Roo.BorderLayout.html#constructor">Roo.BorderLayout</a>
2341 <div class="short">Get the BorderLayout for this dialog</div>
2347 Get the BorderLayout for this dialog
2358 <dl class="detailList">
2359 <dt class="heading">Returns:</dt>
2361 <dd><span class="fixedFont"><a href="./Roo.BorderLayout.html#constructor" roo:cls="Roo.BorderLayout.html#constructor">Roo.BorderLayout</a></span> </dd>
2375 <td class="msource">
2383 <tr class="method-row config-row-alt0 expandable">
2384 <td class="micon"><a class="exi" href="#expand"> </a></td>
2388 <a id="Roo.BasicDialog-method-getTabs" name=".getTabs"></a>
2389 <div class="fixedFont">
2390 <span class="attributes"></span><b class="itemname">getTabs</b>
2398 <a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a>
2407 <div class="short">Returns the TabPanel component (creates it if it doesn't exist).</div>
2413 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.
2424 <dl class="detailList">
2425 <dt class="heading">Returns:</dt>
2427 <dd><span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> The tabs component</dd>
2441 <td class="msource">
2443 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2449 <tr class="method-row config-row-alt1 expandable">
2450 <td class="micon"><a class="exi" href="#expand"> </a></td>
2454 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2455 <div class="fixedFont">
2456 <span class="attributes"></span><b class="itemname">hasListener</b>
2458 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2464 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2473 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2479 Checks to see if this object has any listeners for a specified event
2486 <dl class="detailList">
2487 <dt class="heading">Parameters:</dt>
2490 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2493 <dd>The name of the event to check for</dd>
2501 <dl class="detailList">
2502 <dt class="heading">Returns:</dt>
2504 <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>
2518 <td class="msource">
2520 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2526 <tr class="method-row config-row-alt0 expandable">
2527 <td class="micon"><a class="exi" href="#expand"> </a></td>
2531 <a id="Roo.BasicDialog-method-hide" name=".hide"></a>
2532 <div class="fixedFont">
2533 <span class="attributes"></span><b class="itemname">hide</b>
2535 (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
2541 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2550 <div class="short">Hides the dialog.</div>
2563 <dl class="detailList">
2564 <dt class="heading">Parameters:</dt>
2567 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
2570 <dd>(optional) Function to call when the dialog is hidden</dd>
2578 <dl class="detailList">
2579 <dt class="heading">Returns:</dt>
2581 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2595 <td class="msource">
2597 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2603 <tr class="method-row config-row-alt1 expandable">
2604 <td class="micon"><a class="exi" href="#expand"> </a></td>
2608 <a id="Roo.BasicDialog-method-initTabs" name=".initTabs"></a>
2609 <div class="fixedFont">
2610 <span class="attributes"></span><b class="itemname">initTabs</b>
2618 <a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a>
2627 <div class="short">Reinitializes the tabs component, clearing out old tabs and finding new ones.</div>
2633 Reinitializes the tabs component, clearing out old tabs and finding new ones.
2644 <dl class="detailList">
2645 <dt class="heading">Returns:</dt>
2647 <dd><span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> The tabs component</dd>
2661 <td class="msource">
2663 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2669 <tr class="method-row config-row-alt0 expandable">
2670 <td class="micon"><a class="exi" href="#expand"> </a></td>
2674 <a id="Roo.BasicDialog-method-isVisible" name=".isVisible"></a>
2675 <div class="fixedFont">
2676 <span class="attributes"></span><b class="itemname">isVisible</b>
2684 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2693 <div class="short">Returns true if the dialog is visible</div>
2699 Returns true if the dialog is visible
2710 <dl class="detailList">
2711 <dt class="heading">Returns:</dt>
2713 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2727 <td class="msource">
2729 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2735 <tr class="method-row config-row-alt1 expandable">
2736 <td class="micon"><a class="exi" href="#expand"> </a></td>
2740 <a id="Roo.BasicDialog-method-moveTo" name=".moveTo"></a>
2741 <div class="fixedFont">
2742 <span class="attributes"></span><b class="itemname">moveTo</b>
2744 (<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>)
2750 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2759 <div class="short">Moves the dialog's top-left corner to the specified point</div>
2765 Moves the dialog's top-left corner to the specified point
2772 <dl class="detailList">
2773 <dt class="heading">Parameters:</dt>
2776 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
2782 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
2793 <dl class="detailList">
2794 <dt class="heading">Returns:</dt>
2796 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
2810 <td class="msource">
2812 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
2818 <tr class="method-row config-row-alt0 expandable">
2819 <td class="micon"><a class="exi" href="#expand"> </a></td>
2823 <a id="Roo.util.Observable-method-on" name=".on"></a>
2824 <div class="fixedFont">
2825 <span class="attributes"></span><b class="itemname">on</b>
2827 (<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>)
2834 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2840 Appends an event handler to this element (shorthand for addListener)
2847 <dl class="detailList">
2848 <dt class="heading">Parameters:</dt>
2851 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2854 <dd>The type of event to listen for</dd>
2857 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2860 <dd>The method the event invokes</dd>
2863 <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>
2866 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2869 <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>
2890 <td class="msource">
2892 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2898 <tr class="method-row config-row-alt1 expandable">
2899 <td class="micon"><a class="exi" href="#expand"> </a></td>
2903 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
2904 <div class="fixedFont">
2905 <span class="attributes"></span><b class="itemname">purgeListeners</b>
2914 <div class="short">Removes all listeners for this object</div>
2920 Removes all listeners for this object
2941 <td class="msource">
2943 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2949 <tr class="method-row config-row-alt0 expandable">
2950 <td class="micon"><a class="exi" href="#expand"> </a></td>
2954 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2955 <div class="fixedFont">
2956 <span class="attributes"></span><b class="itemname">removeListener</b>
2958 (<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>)
2965 <div class="short">Removes a listener</div>
2978 <dl class="detailList">
2979 <dt class="heading">Parameters:</dt>
2982 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2985 <dd>The type of event to listen for</dd>
2988 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2991 <dd>The handler to remove</dd>
2994 <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>
2997 <dd>(optional) The scope (this object) for the handler</dd>
3015 <td class="msource">
3017 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3023 <tr class="method-row config-row-alt1 expandable">
3024 <td class="micon"><a class="exi" href="#expand"> </a></td>
3028 <a id="Roo.BasicDialog-method-resizeTo" name=".resizeTo"></a>
3029 <div class="fixedFont">
3030 <span class="attributes"></span><b class="itemname">resizeTo</b>
3032 (<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>)
3038 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3047 <div class="short">Resizes the dialog.</div>
3060 <dl class="detailList">
3061 <dt class="heading">Parameters:</dt>
3064 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
3070 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
3081 <dl class="detailList">
3082 <dt class="heading">Returns:</dt>
3084 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3098 <td class="msource">
3100 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3106 <tr class="method-row config-row-alt0 expandable">
3107 <td class="micon"><a class="exi" href="#expand"> </a></td>
3111 <a id="Roo.BasicDialog-method-restoreState" name=".restoreState"></a>
3112 <div class="fixedFont">
3113 <span class="attributes"></span><b class="itemname">restoreState</b>
3121 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3130 <div class="short">Restores the previous state of the dialog if Roo.state is configured.</div>
3136 Restores the previous state of the dialog if Roo.state is configured.
3147 <dl class="detailList">
3148 <dt class="heading">Returns:</dt>
3150 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3164 <td class="msource">
3166 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3172 <tr class="method-row config-row-alt1 expandable">
3173 <td class="micon"><a class="exi" href="#expand"> </a></td>
3177 <a id="Roo.BasicDialog-method-setContentSize" name=".setContentSize"></a>
3178 <div class="fixedFont">
3179 <span class="attributes"></span><b class="itemname">setContentSize</b>
3181 (<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>)
3187 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3196 <div class="short">Resizes the dialog to fit the specified content size.</div>
3202 Resizes the dialog to fit the specified content size.
3209 <dl class="detailList">
3210 <dt class="heading">Parameters:</dt>
3213 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
3219 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
3230 <dl class="detailList">
3231 <dt class="heading">Returns:</dt>
3233 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3247 <td class="msource">
3249 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3255 <tr class="method-row config-row-alt0 expandable">
3256 <td class="micon"><a class="exi" href="#expand"> </a></td>
3260 <a id="Roo.BasicDialog-method-setDefaultButton" name=".setDefaultButton"></a>
3261 <div class="fixedFont">
3262 <span class="attributes"></span><b class="itemname">setDefaultButton</b>
3264 (Roo.BasicDialog.Button <B><i>btn</i></B>)
3270 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3279 <div class="short">Sets the default button to be focused when the dialog is displayed.</div>
3285 Sets the default button to be focused when the dialog is displayed.
3292 <dl class="detailList">
3293 <dt class="heading">Parameters:</dt>
3296 <span class="fixedFont">Roo.BasicDialog.Button</span> <b>btn</b>
3299 <dd>The button object returned by {<b>link</b> <b>addButton</b>}</dd>
3307 <dl class="detailList">
3308 <dt class="heading">Returns:</dt>
3310 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3324 <td class="msource">
3326 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3332 <tr class="method-row config-row-alt1 expandable">
3333 <td class="micon"><a class="exi" href="#expand"> </a></td>
3337 <a id="Roo.BasicDialog-method-setTitle" name=".setTitle"></a>
3338 <div class="fixedFont">
3339 <span class="attributes"></span><b class="itemname">setTitle</b>
3341 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
3347 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3356 <div class="short">Sets the dialog title text</div>
3362 Sets the dialog title text
3369 <dl class="detailList">
3370 <dt class="heading">Parameters:</dt>
3373 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
3376 <dd>The title text to display</dd>
3384 <dl class="detailList">
3385 <dt class="heading">Returns:</dt>
3387 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3401 <td class="msource">
3403 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3409 <tr class="method-row config-row-alt0 expandable">
3410 <td class="micon"><a class="exi" href="#expand"> </a></td>
3414 <a id="Roo.BasicDialog-method-show" name=".show"></a>
3415 <div class="fixedFont">
3416 <span class="attributes"></span><b class="itemname">show</b>
3418 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>animateTarget</i></B>)
3424 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3433 <div class="short">Shows the dialog.</div>
3446 <dl class="detailList">
3447 <dt class="heading">Parameters:</dt>
3450 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>animateTarget</b>
3453 <dd>(optional) Reset the animation target</dd>
3461 <dl class="detailList">
3462 <dt class="heading">Returns:</dt>
3464 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3478 <td class="msource">
3480 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3486 <tr class="method-row config-row-alt1 expandable">
3487 <td class="micon"><a class="exi" href="#expand"> </a></td>
3491 <a id="Roo.BasicDialog-method-toBack" name=".toBack"></a>
3492 <div class="fixedFont">
3493 <span class="attributes"></span><b class="itemname">toBack</b>
3501 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3510 <div class="short">Sends this dialog to the back (under) of any other visible dialogs</div>
3516 Sends this dialog to the back (under) of any other visible dialogs
3527 <dl class="detailList">
3528 <dt class="heading">Returns:</dt>
3530 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3544 <td class="msource">
3546 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3552 <tr class="method-row config-row-alt0 expandable">
3553 <td class="micon"><a class="exi" href="#expand"> </a></td>
3557 <a id="Roo.BasicDialog-method-toFront" name=".toFront"></a>
3558 <div class="fixedFont">
3559 <span class="attributes"></span><b class="itemname">toFront</b>
3567 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3576 <div class="short">Brings this dialog to the front of any other visible dialogs</div>
3582 Brings this dialog to the front of any other visible dialogs
3593 <dl class="detailList">
3594 <dt class="heading">Returns:</dt>
3596 <dd><span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> this</dd>
3610 <td class="msource">
3612 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3618 <tr class="method-row config-row-alt1 expandable">
3619 <td class="micon"><a class="exi" href="#expand"> </a></td>
3623 <a id="Roo.util.Observable-method-un" name=".un"></a>
3624 <div class="fixedFont">
3625 <span class="attributes"></span><b class="itemname">un</b>
3627 (<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>)
3634 <div class="short">Removes a listener (shorthand for removeListener)</div>
3640 Removes a listener (shorthand for removeListener)
3647 <dl class="detailList">
3648 <dt class="heading">Parameters:</dt>
3651 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3654 <dd>The type of event to listen for</dd>
3657 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3660 <dd>The handler to remove</dd>
3663 <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>
3666 <dd>(optional) The scope (this object) for the handler</dd>
3684 <td class="msource">
3686 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3695 <!-- ============================== events summary / details ======================== -->
3698 <a id="Roo.LayoutDialog-events"></a>
3707 <table cellspacing="0" class="member-table">
3708 <caption>Events</caption>
3711 <th class="sig-header" colspan="2">Event</th>
3712 <th class="msource-header">Defined By</th>
3721 <tr class="method-row expandable config-row-alt0">
3722 <td class="micon"><a class="exi" href="#expand"> </a></td>
3725 <a id="Roo.BasicDialog-event-*beforehide"></a>
3727 <div class="fixedFont">
3728 <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>)
3734 <div class="short">Fires before this dialog is hidden.
3740 Fires before this dialog is hidden.
3746 <dl class="detailList">
3747 <dt class="heading">Parameters:</dt>
3750 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3771 <td class="msource">
3772 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3776 <tr class="method-row expandable config-row-alt1">
3777 <td class="micon"><a class="exi" href="#expand"> </a></td>
3780 <a id="Roo.BasicDialog-event-*beforeshow"></a>
3782 <div class="fixedFont">
3783 <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>)
3789 <div class="short">Fires before this dialog is shown.
3795 Fires before this dialog is shown.
3801 <dl class="detailList">
3802 <dt class="heading">Parameters:</dt>
3805 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3826 <td class="msource">
3827 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3831 <tr class="method-row expandable config-row-alt0">
3832 <td class="micon"><a class="exi" href="#expand"> </a></td>
3835 <a id="Roo.BasicDialog-event-*hide"></a>
3837 <div class="fixedFont">
3838 <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>)
3844 <div class="short">Fires when this dialog is hidden.
3850 Fires when this dialog is hidden.
3856 <dl class="detailList">
3857 <dt class="heading">Parameters:</dt>
3860 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3881 <td class="msource">
3882 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3886 <tr class="method-row expandable config-row-alt1">
3887 <td class="micon"><a class="exi" href="#expand"> </a></td>
3890 <a id="Roo.BasicDialog-event-*keydown"></a>
3892 <div class="fixedFont">
3893 <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>)
3899 <div class="short">Fires when a key is pressed
3905 Fires when a key is pressed
3911 <dl class="detailList">
3912 <dt class="heading">Parameters:</dt>
3915 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3921 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3942 <td class="msource">
3943 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
3947 <tr class="method-row expandable config-row-alt0">
3948 <td class="micon"><a class="exi" href="#expand"> </a></td>
3951 <a id="Roo.BasicDialog-event-*move"></a>
3953 <div class="fixedFont">
3954 <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>)
3960 <div class="short">Fires when this dialog is moved by the user.
3966 Fires when this dialog is moved by the user.
3972 <dl class="detailList">
3973 <dt class="heading">Parameters:</dt>
3976 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
3982 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3985 <dd>The new page X</dd>
3988 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3991 <dd>The new page Y</dd>
4009 <td class="msource">
4010 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
4014 <tr class="method-row expandable config-row-alt1">
4015 <td class="micon"><a class="exi" href="#expand"> </a></td>
4018 <a id="Roo.BasicDialog-event-*resize"></a>
4020 <div class="fixedFont">
4021 <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>)
4027 <div class="short">Fires when this dialog is resized by the user.
4033 Fires when this dialog is resized by the user.
4039 <dl class="detailList">
4040 <dt class="heading">Parameters:</dt>
4043 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
4049 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4052 <dd>The new width</dd>
4055 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4058 <dd>The new height</dd>
4076 <td class="msource">
4077 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
4081 <tr class="method-row expandable config-row-alt0">
4082 <td class="micon"><a class="exi" href="#expand"> </a></td>
4085 <a id="Roo.BasicDialog-event-*show"></a>
4087 <div class="fixedFont">
4088 <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>)
4094 <div class="short">Fires when this dialog is shown.
4100 Fires when this dialog is shown.
4106 <dl class="detailList">
4107 <dt class="heading">Parameters:</dt>
4110 <span class="fixedFont"><a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a></span> <b>this</b>
4131 <td class="msource">
4132 <a href="./Roo.BasicDialog.html#constructor" roo:cls="Roo.BasicDialog.html#constructor">Roo.BasicDialog</a>
4143 <!-- ============================== footer ================================= -->
4144 <div class="fineprint" style="clear:both">
4146 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Wed Apr 06 2016 12:25:47 GMT+0800 (HKT)
4148 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>