Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.window.MessageBox.html
1 <!DOCTYPE html><html><head><title>Ext.window.MessageBox | Ext JS 4.0 Documentation</title><script type="text/javascript" src="../ext-all.js"></script><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../scrollbars.css" type="text/css"><link rel="stylesheet" href="../docs.css" type="text/css"><link id="styleCss" rel="stylesheet" href="../style.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script><link rel="stylesheet" href="../prettify.css" type="text/css"><!-- link(rel: 'stylesheet', href: req.baseURL + '/css/ext4.css', type: 'text/css')--><link rel="shortcut icon" type="image/ico" href="../favicon.ico"><!--[if IE]>
2 <style type="text/css">.head-band { display: none; }
3 .header { border: 0; top: 0; left: 0px; background: url(../header.gif) repeat-x; }
4 .doc-tab .members .member a.more { background-color: #efefef; }
5 </style><link rel="stylesheet" href="/new/css/ie.css" type="text/css"><![endif]-->
6 </head><body id="ext-body" class="iScroll"><div id="notice" class="notice">For up to date documentation and features, visit 
7 <a href="http://docs.sencha.com/ext-js/4-0">http://docs.sencha.com/ext-js/4-0</a></div><div class="wrapper"><div class="head-band"></div><div class="header"><h2><a href="../index.html">Sencha Documentation</a></h2></div><div id="search"><form><input type="text" placeholder="Search" id="search-field" autocomplete="off" name="q"></form><div id="search-box"></div></div><div id="treePanel"></div><div id="container"><script type="text/javascript">
8
9     req = {
10         liveURL: '.',
11         standAloneMode: true,
12         origDocClass: 'Ext.window.MessageBox',
13         docClass: 'Ext.window.MessageBox',
14         docReq: 'Ext.window.MessageBox',
15         version: '4.0',
16         baseURL: '.',
17         baseDocURL: '.',
18         baseProdURL: '.'
19     };
20
21     clsInfo = {};
22
23
24
25 </script>
26
27 <script type="text/javascript" src="../search.js"></script>
28 <!--script type="text/javascript" src="/new/javascripts/app/examples.js"></script-->
29 <script type="text/javascript" src="../class_tree.js"></script>
30 <script type="text/javascript" src="../class_doc.js"></script>
31 <script type="text/javascript">
32     req.source = 'MessageBox.html#Ext-window.MessageBox';
33     clsInfo = {"methods":["MessageBox","add","addClass","addCls","addClsWithUI","addDocked","addEvents","addListener","addManagedListener","addStateEvents","afterComponentLayout","alert","alignTo","animate","applyState","beforeComponentLayout","beforeLayout","bubble","capture","cascade","center","child","clearListeners","clearManagedListeners","cloneConfig","close","collapse","confirm","destroy","disable","doAutoRender","doComponentLayout","doConstrain","doLayout","down","enable","enableBubble","expand","findLayoutController","findParentBy","findParentByType","fireEvent","focus","getActiveAnimation","getBox","getBubbleTarget","getChildByElement","getComponent","getDockedComponent","getDockedItems","getEl","getFocusEl","getHeight","getId","getInsertPosition","getLayout","getLoader","getPlugin","getPosition","getSize","getState","getStateId","getWidth","getXType","getXTypes","hasListener","hasUICls","hide","insert","insertDocked","is","isDescendantOf","isDisabled","isDraggable","isDroppable","isFloating","isHidden","isVisible","isXType","maximize","minimize","move","nextNode","nextSibling","observe","on","previousNode","previousSibling","progress","prompt","query","relayEvents","releaseCapture","remove","removeAll","removeCls","removeClsWithUI","removeDocked","removeListener","removeManagedListener","restore","resumeEvents","sequenceFx","setActive","setAutoScroll","setDisabled","setDocked","setHeight","setIcon","setIconCls","setLoading","setPagePosition","setPosition","setSize","setTitle","setUI","setVisible","setWidth","show","stopAnimation","suspendEvents","syncFx","toBack","toFront","toggleCollapse","toggleMaximize","un","up","update","updateBox","updateProgress","wait"],"cfgs":["activeItem","animCollapse","animateTarget","autoDestroy","autoEl","autoRender","autoScroll","autoShow","baseCls","bbar","bodyBorder","bodyCls","bodyPadding","bodyStyle","border","bubbleEvents","buttons","closable","closeAction","cls","collapseDirection","collapseFirst","collapseMode","collapsed","collapsedCls","collapsible","componentCls","componentLayout","constrain","constrainHeader","contentEl","data","defaultFocus","defaultType","defaults","disabled","disabledCls","dockedItems","draggable","expandOnShow","fbar","floatable","floating","focusOnToFront","frame","frameHeader","headerPosition","height","hidden","hideCollapseTool","hideMode","html","id","itemId","items","layout","lbar","listeners","loader","maintainFlex","margin","maxHeight","maxWidth","maximizable","maximized","minButtonWidth","minHeight","minWidth","minimizable","modal","onEsc","overCls","padding","placeholder","plain","plugins","preventHeader","rbar","renderSelectors","renderTo","renderTpl","resizable","resizeHandles","saveBuffer","shadow","stateEvents","stateId","stateful","style","styleHtmlCls","styleHtmlContent","suspendLayout","tbar","titleCollapse","toFrontOnShow","tools","tpl","tplWriteMode","ui","width","x","y"],"properties":["CANCEL","ERROR","INFO","NO","OK","OKCANCEL","QUESTION","WARNING","YES","YESNO","YESNOCANCEL","buttonText","dd","defaultTextHeight","draggable","floatParent","frameSize","hasActiveFx","items","maskOnDisable","minProgressWidth","minPromptWidth","ownerCt","rendered","stopFx","zIndexManager"],"events":["activate","add","added","afterlayout","afterrender","beforeactivate","beforeadd","beforecardswitch","beforedeactivate","beforedestroy","beforehide","beforeremove","beforerender","beforeshow","beforestaterestore","beforestatesave","bodyresize","cardswitch","deactivate","destroy","disable","enable","hide","iconchange","maximize","minimize","move","remove","removed","render","resize","restore","show","staterestore","statesave","titlechange"],"subclasses":[]};
34     Ext.onReady(function() {
35         Ext.create('Docs.classPanel');
36     });
37 </script><div id="top-block" class="top-block"><h1 id="clsTitle" class="comp"><a href="../source/MessageBox.html#Ext-window.MessageBox" target="_blank">Ext.window.MessageBox</a><span>xtype: messagebox</span></h1></div><div id="docContent"><div id="doc-overview-content"><div class="lft"><pre class="subclasses"><h4>Hierarchy</h4><div class="subclass f"><a href="Ext.AbstractComponent.html" rel="Ext.AbstractComponent" class="cls docClass">Ext.AbstractComponent</a><div class="subclass"><a href="Ext.Component.html" rel="Ext.Component" class="cls docClass">Ext.Component</a><div class="subclass"><a href="Ext.container.AbstractContainer.html" rel="Ext.container.AbstractContainer" class="cls docClass">Ext.container.AbstractContainer</a><div class="subclass"><a href="Ext.container.Container.html" rel="Ext.container.Container" class="cls docClass">Ext.container.Container</a><div class="subclass"><a href="Ext.panel.AbstractPanel.html" rel="Ext.panel.AbstractPanel" class="cls docClass">Ext.panel.AbstractPanel</a><div class="subclass"><a href="Ext.panel.Panel.html" rel="Ext.panel.Panel" class="cls docClass">Ext.panel.Panel</a><div class="subclass"><a href="Ext.window.Window.html" rel="Ext.window.Window" class="cls docClass">Ext.window.Window</a><div class="subclass"><strong>Ext.window.MessageBox</strong></div></div></div></div></div></div></div></div><h4>Mixins</h4><div class="mixin"><a href="Ext.util.Observable.html" rel="Ext.util.Observable" class="cls docClass">Ext.util.Observable</a></div><div class="mixin"><a href="Ext.util.Animate.html" rel="Ext.util.Animate" class="cls docClass">Ext.util.Animate</a></div><div class="mixin"><a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="cls docClass">Ext.state.Stateful</a></div><div class="mixin"><a href="Ext.util.Floating.html" rel="Ext.util.Floating" class="cls docClass">Ext.util.Floating</a></div></pre><p>Utility class for generating different styles of message boxes.  The singleton instance, <code>Ext.Msg</code> can also be used.
38 Note that a MessageBox is asynchronous.  Unlike a regular JavaScript <code>alert</code> (which will halt
39 browser execution), showing a MessageBox will not cause the code to stop.  For this reason, if you have code
40 that should only run <em>after</em> some user feedback from the MessageBox, you must use a callback function
41 (see the <code>function</code> parameter for <a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a> for more details).</p>
42
43 <p><img class="screenshot" src="../messagebox1.png" alt="alert MessageBox" />
44 <img class="screenshot" src="../messagebox2.png" alt="prompt MessageBox" />
45 <img class="screenshot" src="../messagebox3.png" alt="show MessageBox" /></p>
46
47 <h1>Example usage:</h1>
48
49 <pre class="prettyprint"><code>// Basic alert:
50 Ext.Msg.alert('Status', 'Changes saved successfully.');
51
52 // Prompt for user data and process the result using a callback:
53 Ext.Msg.prompt('Name', 'Please enter your name:', function(btn, text){
54     if (btn == 'ok'){
55         // process text value and close...
56     }
57 });
58
59 // Show a dialog using config options:
60 Ext.Msg.show({
61      title:'Save Changes?',
62      msg: 'You are closing a tab that has unsaved changes. Would you like to save your changes?',
63      buttons: Ext.Msg.YESNOCANCEL,
64      fn: processResult,
65      animateTarget: 'elId',
66      icon: Ext.window.MessageBox.QUESTION
67 });
68 </code></pre>
69 <div class="members"><div class="m-cfgs"><div class="definedBy">Defined By</div><a name="configs"></a><h3 class="cfg p">Config Options</h3><h4 class="cfgGroup">CSS Class configs</h4><div id="config-baseCls" class="member f inherited"><a href="Ext.window.MessageBox.html#config-baseCls" rel="config-baseCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.window.MessageBox.html#" rel="config-baseCls" class="cls expand">baseCls</a><span> : String</span></div><div class="description"><div class="short"><p>The base CSS class to apply to this panel's element (defaults to 'x-window').</p>
70 </div><div class="long"><p>The base CSS class to apply to this panel's element (defaults to 'x-window').</p>
71 </div></div></div><div id="config-bodyCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-bodyCls" rel="config-bodyCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-bodyCls" class="viewSource">view source</a></div><a name="bodyCls"></a><a name="config-bodyCls"></a><a href="Ext.window.MessageBox.html#" rel="config-bodyCls" class="cls expand">bodyCls</a><span> : String/Array</span></div><div class="description"><div class="short">A CSS class, space-delimited string of classes, or array of classes to be applied to the panel's body element.
72 The fo...</div><div class="long"><p>A CSS class, space-delimited string of classes, or array of classes to be applied to the panel's body element.
73 The following examples are all valid:</p>
74
75 <pre><code>bodyCls: 'foo'
76 bodyCls: 'foo bar'
77 bodyCls: ['foo', 'bar']
78 </code></pre>
79
80 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.window.MessageBox.html#config-cls" rel="config-cls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-cls" class="viewSource">view source</a></div><a name="cls"></a><a name="config-cls"></a><a href="Ext.window.MessageBox.html#" rel="config-cls" class="cls expand">cls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
81 useful for ...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
82 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
83 </div></div></div><div id="config-collapsedCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-collapsedCls" rel="config-collapsedCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapsedCls" class="viewSource">view source</a></div><a name="collapsedCls"></a><a name="config-collapsedCls"></a><a href="Ext.window.MessageBox.html#" rel="config-collapsedCls" class="cls expand">collapsedCls</a><span> : String</span></div><div class="description"><div class="short"><p>A CSS class to add to the panel&#39;s element after it has been collapsed (defaults to
84 <code>'collapsed'</code>).</p>
85 </div><div class="long"><p>A CSS class to add to the panel&#39;s element after it has been collapsed (defaults to
86 <code>'collapsed'</code>).</p>
87 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-componentCls" rel="config-componentCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentCls" class="viewSource">view source</a></div><a name="componentCls"></a><a name="config-componentCls"></a><a href="Ext.window.MessageBox.html#" rel="config-componentCls" class="cls expand">componentCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS Class to be added to a components root level element to give distinction to it
88 via styling.</p>
89 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
90 via styling.</p>
91 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-disabledCls" rel="config-disabledCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabledCls" class="viewSource">view source</a></div><a name="disabledCls"></a><a name="config-disabledCls"></a><a href="Ext.window.MessageBox.html#" rel="config-disabledCls" class="cls expand">disabledCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
92 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
93 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-overCls" rel="config-overCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-overCls" class="viewSource">view source</a></div><a name="overCls"></a><a name="config-overCls"></a><a href="Ext.window.MessageBox.html#" rel="config-overCls" class="cls expand">overCls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves
94 over the Element, and...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element when the mouse moves
95 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
96 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
97 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-styleHtmlCls" rel="config-styleHtmlCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlCls" class="viewSource">view source</a></div><a name="styleHtmlCls"></a><a name="config-styleHtmlCls"></a><a href="Ext.window.MessageBox.html#" rel="config-styleHtmlCls" class="cls expand">styleHtmlCls</a><span> : String</span></div><div class="description"><div class="short"><p>The class that is added to the content target when you set styleHtmlContent to true.
98 Defaults to 'x-html'</p>
99 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
100 Defaults to 'x-html'</p>
101 </div></div></div><h4 class="cfgGroup">Other Configs</h4><div id="config-activeItem" class="member f inherited"><a href="Ext.window.MessageBox.html#config-activeItem" rel="config-activeItem" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-activeItem" class="viewSource">view source</a></div><a name="activeItem"></a><a name="config-activeItem"></a><a href="Ext.window.MessageBox.html#" rel="config-activeItem" class="cls expand">activeItem</a><span> : String/Number</span></div><div class="description"><div class="short">A string component id or the numeric index of the component that should be initially activated within the
102 container's...</div><div class="long"><p>A string component id or the numeric index of the component that should be initially activated within the
103 container's layout on render.  For example, activeItem: 'item-1' or activeItem: 0 (index 0 = the first
104 item in the container's collection).  activeItem only applies to layout styles that can display
105 items one at a time (like <a href="Ext.layout.container.Card.html" rel="Ext.layout.container.Card" class="docClass">Ext.layout.container.Card</a> and <a href="Ext.layout.container.Fit.html" rel="Ext.layout.container.Fit" class="docClass">Ext.layout.container.Fit</a>).</p>
106 </div></div></div><div id="config-animCollapse" class="member inherited"><a href="Ext.window.MessageBox.html#config-animCollapse" rel="config-animCollapse" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-animCollapse" class="viewSource">view source</a></div><a name="animCollapse"></a><a name="config-animCollapse"></a><a href="Ext.window.MessageBox.html#" rel="config-animCollapse" class="cls expand">animCollapse</a><span> : Boolean</span></div><div class="description"><div class="short">true to animate the transition when the panel is collapsed, false to skip the
107 animation (defaults to true if the Ext....</div><div class="long"><p><code>true</code> to animate the transition when the panel is collapsed, <code>false</code> to skip the
108 animation (defaults to <code>true</code> if the <a href="Ext.fx.Anim.html" rel="Ext.fx.Anim" class="docClass">Ext.fx.Anim</a> class is available, otherwise <code>false</code>).
109 May also be specified as the animation duration in milliseconds.</p>
110 </div></div></div><div id="config-animateTarget" class="member inherited"><a href="Ext.window.MessageBox.html#config-animateTarget" rel="config-animateTarget" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-animateTarget" class="viewSource">view source</a></div><a name="animateTarget"></a><a name="config-animateTarget"></a><a href="Ext.window.MessageBox.html#" rel="config-animateTarget" class="cls expand">animateTarget</a><span> : String/Element</span></div><div class="description"><div class="short"><p>Id or element from which the window should animate while opening (defaults to null with no animation).</p>
111 </div><div class="long"><p>Id or element from which the window should animate while opening (defaults to null with no animation).</p>
112 </div></div></div><div id="config-autoDestroy" class="member inherited"><a href="Ext.window.MessageBox.html#config-autoDestroy" rel="config-autoDestroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-autoDestroy" class="viewSource">view source</a></div><a name="autoDestroy"></a><a name="config-autoDestroy"></a><a href="Ext.window.MessageBox.html#" rel="config-autoDestroy" class="cls expand">autoDestroy</a><span> : Boolean</span></div><div class="description"><div class="short">If true the container will automatically destroy any contained component that is removed from it, else
113 destruction mu...</div><div class="long"><p>If true the container will automatically destroy any contained component that is removed from it, else
114 destruction must be handled manually.
115 Defaults to true.</p>
116 </div></div></div><div id="config-autoEl" class="member inherited"><a href="Ext.window.MessageBox.html#config-autoEl" rel="config-autoEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoEl" class="viewSource">view source</a></div><a name="autoEl"></a><a name="config-autoEl"></a><a href="Ext.window.MessageBox.html#" rel="config-autoEl" class="cls expand">autoEl</a><span> : Mixed</span></div><div class="description"><div class="short">A tag name or DomHelper spec used to create the Element which will
117 encapsulate this Component.
118
119
120 You do not normally ...</div><div class="long"><p>A tag name or <a href="Ext.core.DomHelper.html" rel="Ext.core.DomHelper" class="docClass">DomHelper</a> spec used to create the <a href="Ext.window.MessageBox.html#getEl" rel="Ext.window.MessageBox#getEl" class="docClass">Element</a> which will
121 encapsulate this Component.</p>
122
123
124 <p>You do not normally need to specify this. For the base classes <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> and <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>,
125 this defaults to <b><tt>'div'</tt></b>. The more complex Sencha classes use a more complex
126 DOM structure specified by their own <a href="Ext.window.MessageBox.html#renderTpl" rel="Ext.window.MessageBox#renderTpl" class="docClass">renderTpl</a>s.</p>
127
128
129 <p>This is intended to allow the developer to create application-specific utility Components encapsulated by
130 different DOM elements. Example usage:</p>
131
132
133 <pre><code>{
134     xtype: 'component',
135     autoEl: {
136         tag: 'img',
137         src: 'http://www.example.com/example.jpg'
138     }
139 }, {
140     xtype: 'component',
141     autoEl: {
142         tag: 'blockquote',
143         html: 'autoEl is cool!'
144     }
145 }, {
146     xtype: 'container',
147     autoEl: 'ul',
148     cls: 'ux-unordered-list',
149     items: {
150         xtype: 'component',
151         autoEl: 'li',
152         html: 'First list item'
153     }
154 }
155 </code></pre>
156
157 </div></div></div><div id="config-autoRender" class="member inherited"><a href="Ext.window.MessageBox.html#config-autoRender" rel="config-autoRender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoRender" class="viewSource">view source</a></div><a name="autoRender"></a><a name="config-autoRender"></a><a href="Ext.window.MessageBox.html#" rel="config-autoRender" class="cls expand">autoRender</a><span> : Mixed</span></div><div class="description"><div class="short">This config is intended mainly for floating Components which may or may not be shown. Instead
158 of using renderTo in th...</div><div class="long"><p>This config is intended mainly for <a href="Ext.window.MessageBox.html#floating" rel="Ext.window.MessageBox#floating" class="docClass">floating</a> Components which may or may not be shown. Instead
159 of using <a href="Ext.window.MessageBox.html#renderTo" rel="Ext.window.MessageBox#renderTo" class="docClass">renderTo</a> in the configuration, and rendering upon construction, this allows a Component
160 to render itself upon first <i><a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a></i>.</p>
161
162
163 <p>Specify as <code>true</code> to have this Component render to the document body upon first show.</p>
164
165
166 <p>Specify as an element, or the ID of an element to have this Component render to a specific element upon first show.</p>
167
168
169 <p><b>This defaults to <code>true</code> for the <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a> class.</b></p>
170
171 </div></div></div><div id="config-autoScroll" class="member inherited"><a href="Ext.window.MessageBox.html#config-autoScroll" rel="config-autoScroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-autoScroll" class="viewSource">view source</a></div><a name="autoScroll"></a><a name="config-autoScroll"></a><a href="Ext.window.MessageBox.html#" rel="config-autoScroll" class="cls expand">autoScroll</a><span> : Boolean</span></div><div class="description"><div class="short">true to use overflow:'auto' on the components layout element and show scroll bars automatically when
172 necessary, false...</div><div class="long"><p><code>true</code> to use overflow:'auto' on the components layout element and show scroll bars automatically when
173 necessary, <code>false</code> to clip any overflowing content (defaults to <code>false</code>).</p>
174 </div></div></div><div id="config-autoShow" class="member inherited"><a href="Ext.window.MessageBox.html#config-autoShow" rel="config-autoShow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoShow" class="viewSource">view source</a></div><a name="autoShow"></a><a name="config-autoShow"></a><a href="Ext.window.MessageBox.html#" rel="config-autoShow" class="cls expand">autoShow</a><span> : Boolean</span></div><div class="description"><div class="short">True to automatically show the component upon creation.
175 This config option may only be used for floating components o...</div><div class="long"><p>True to automatically show the component upon creation.
176 This config option may only be used for <a href="Ext.window.MessageBox.html#floating" rel="Ext.window.MessageBox#floating" class="docClass">floating</a> components or components
177 that use <a href="Ext.window.MessageBox.html#autoRender" rel="Ext.window.MessageBox#autoRender" class="docClass">autoRender</a>. Defaults to <tt>false</tt>.</p>
178 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-baseCls" rel="config-baseCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.window.MessageBox.html#" rel="config-baseCls" class="cls expand">baseCls</a><span> : String</span></div><div class="description"><div class="short"><p>The base CSS class to apply to this panel's element (defaults to 'x-window').</p>
179 </div><div class="long"><p>The base CSS class to apply to this panel's element (defaults to 'x-window').</p>
180 </div></div></div><div id="config-bbar" class="member inherited"><a href="Ext.window.MessageBox.html#config-bbar" rel="config-bbar" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-bbar" class="viewSource">view source</a></div><a name="bbar"></a><a name="config-bbar"></a><a href="Ext.window.MessageBox.html#" rel="config-bbar" class="cls expand">bbar</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method. Short for 'Bottom Bar'.
181
182 bbar: [
183   { xtype: 'button', text: 'Button 1' }
184 ]
185
186
187 is equivalent to
188
189 do...</div><div class="long"><p>Convenience method. Short for 'Bottom Bar'.</p>
190
191 <pre><code>bbar: [
192   { xtype: 'button', text: 'Button 1' }
193 ]
194 </code></pre>
195
196 <p>is equivalent to</p>
197
198 <pre><code>dockedItems: [{
199     xtype: 'toolbar',
200     dock: 'bottom',
201     items: [
202         { xtype: 'button', text: 'Button 1' }
203     ]
204 }]
205 </code></pre>
206 </div></div></div><div id="config-bodyBorder" class="member inherited"><a href="Ext.window.MessageBox.html#config-bodyBorder" rel="config-bodyBorder" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-bodyBorder" class="viewSource">view source</a></div><a name="bodyBorder"></a><a name="config-bodyBorder"></a><a href="Ext.window.MessageBox.html#" rel="config-bodyBorder" class="cls expand">bodyBorder</a><span> : Boolean</span></div><div class="description"><div class="short">A shortcut to add or remove the border on the body of a panel. This only applies to a panel which has the frame confi...</div><div class="long"><p>A shortcut to add or remove the border on the body of a panel. This only applies to a panel which has the <a href="Ext.window.MessageBox.html#frame" rel="Ext.window.MessageBox#frame" class="docClass">frame</a> configuration set to <code>true</code>.
207 Defaults to <code>undefined</code>.</p>
208 </div></div></div><div id="config-bodyCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-bodyCls" rel="config-bodyCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-bodyCls" class="viewSource">view source</a></div><a name="bodyCls"></a><a name="config-bodyCls"></a><a href="Ext.window.MessageBox.html#" rel="config-bodyCls" class="cls expand">bodyCls</a><span> : String/Array</span></div><div class="description"><div class="short">A CSS class, space-delimited string of classes, or array of classes to be applied to the panel's body element.
209 The fo...</div><div class="long"><p>A CSS class, space-delimited string of classes, or array of classes to be applied to the panel's body element.
210 The following examples are all valid:</p>
211
212 <pre><code>bodyCls: 'foo'
213 bodyCls: 'foo bar'
214 bodyCls: ['foo', 'bar']
215 </code></pre>
216
217 </div></div></div><div id="config-bodyPadding" class="member inherited"><a href="Ext.window.MessageBox.html#config-bodyPadding" rel="config-bodyPadding" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-bodyPadding" class="viewSource">view source</a></div><a name="bodyPadding"></a><a name="config-bodyPadding"></a><a href="Ext.window.MessageBox.html#" rel="config-bodyPadding" class="cls expand">bodyPadding</a><span> : Number/String</span></div><div class="description"><div class="short">A shortcut for setting a padding style on the body element. The value can either be
218 a number to be applied to all sid...</div><div class="long"><p>A shortcut for setting a padding style on the body element. The value can either be
219 a number to be applied to all sides, or a normal css string describing padding.
220 Defaults to <code>undefined</code>.</p>
221 </div></div></div><div id="config-bodyStyle" class="member inherited"><a href="Ext.window.MessageBox.html#config-bodyStyle" rel="config-bodyStyle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-bodyStyle" class="viewSource">view source</a></div><a name="bodyStyle"></a><a name="config-bodyStyle"></a><a href="Ext.window.MessageBox.html#" rel="config-bodyStyle" class="cls expand">bodyStyle</a><span> : String/Object/Function</span></div><div class="description"><div class="short">Custom CSS styles to be applied to the panel's body element, which can be supplied as a valid CSS style string,
222 an ob...</div><div class="long"><p>Custom CSS styles to be applied to the panel's body element, which can be supplied as a valid CSS style string,
223 an object containing style property name/value pairs or a function that returns such a string or object.
224 For example, these two formats are interpreted to be equivalent:</p>
225
226 <pre><code>bodyStyle: 'background:#ffc; padding:10px;'
227
228 bodyStyle: {
229     background: '#ffc',
230     padding: '10px'
231 }
232 </code></pre>
233
234 </div></div></div><div id="config-border" class="member inherited"><a href="Ext.window.MessageBox.html#config-border" rel="config-border" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-border" class="viewSource">view source</a></div><a name="border"></a><a name="config-border"></a><a href="Ext.window.MessageBox.html#" rel="config-border" class="cls expand">border</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the border for this component. The border can be a single numeric value to apply to all sides or
235 it can be ...</div><div class="long"><p>Specifies the border for this component. The border can be a single numeric value to apply to all sides or
236 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
237 </div></div></div><div id="config-bubbleEvents" class="member inherited"><a href="Ext.window.MessageBox.html#config-bubbleEvents" rel="config-bubbleEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-bubbleEvents" class="viewSource">view source</a></div><a name="bubbleEvents"></a><a name="config-bubbleEvents"></a><a href="Ext.window.MessageBox.html#" rel="config-bubbleEvents" class="cls expand">bubbleEvents</a><span> : Array</span></div><div class="description"><div class="short">An array of events that, when fired, should be bubbled to any parent container.
238 See Ext.util.Observable.enableBubble....</div><div class="long"><p>An array of events that, when fired, should be bubbled to any parent container.
239 See <a href="Ext.util.Observable.html#enableBubble" rel="Ext.util.Observable#enableBubble" class="docClass">Ext.util.Observable.enableBubble</a>.
240 Defaults to <code>['add', 'remove']</code>.
241
242 </div></div></div><div id="config-buttons" class="member inherited"><a href="Ext.window.MessageBox.html#config-buttons" rel="config-buttons" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-buttons" class="viewSource">view source</a></div><a name="buttons"></a><a name="config-buttons"></a><a href="Ext.window.MessageBox.html#" rel="config-buttons" class="cls expand">buttons</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method used for adding buttons docked to the bottom right of the panel. This is a
243 synonym for the fbar co...</div><div class="long"><p>Convenience method used for adding buttons docked to the bottom right of the panel. This is a
244 synonym for the <a href="Ext.window.MessageBox.html#fbar" rel="Ext.window.MessageBox#fbar" class="docClass">fbar</a> config.</p>
245
246 <pre><code>buttons: [
247   { text: 'Button 1' }
248 ]
249 </code></pre>
250
251 <p>is equivalent to</p>
252
253 <pre><code>dockedItems: [{
254     xtype: 'toolbar',
255     dock: 'bottom',
256     defaults: {minWidth: <a href="Ext.window.MessageBox.html#minButtonWidth" rel="Ext.window.MessageBox#minButtonWidth" class="docClass">minButtonWidth</a>},
257     items: [
258         { xtype: 'component', flex: 1 },
259         { xtype: 'button', text: 'Button 1' }
260     ]
261 }]
262 </code></pre>
263
264 <p>The <a href="Ext.window.MessageBox.html#minButtonWidth" rel="Ext.window.MessageBox#minButtonWidth" class="docClass">minButtonWidth</a> is used as the default <a href="Ext.button.Button.html#minWidth" rel="Ext.button.Button#minWidth" class="docClass">minWidth</a> for
265 each of the buttons in the buttons toolbar.</p>
266 </div></div></div><div id="config-closable" class="member inherited"><a href="Ext.window.MessageBox.html#config-closable" rel="config-closable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-closable" class="viewSource">view source</a></div><a name="closable"></a><a name="config-closable"></a><a href="Ext.window.MessageBox.html#" rel="config-closable" class="cls expand">closable</a><span> : Boolean</span></div><div class="description"><div class="short">True to display the 'close' tool button and allow the user to close the window, false to
267 hide the button and disallow...</div><div class="long"><p>True to display the 'close' tool button and allow the user to close the window, false to
268 hide the button and disallow closing the window (defaults to <code>true</code>).</p>
269
270
271 <p>By default, when close is requested by either clicking the close button in the header
272 or pressing ESC when the Window has focus, the <a href="Ext.window.MessageBox.html#close" rel="Ext.window.MessageBox#close" class="docClass">close</a> method will be called. This
273 will <i><a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">destroy</a></i> the Window and its content meaning that
274 it may not be reused.</p>
275
276
277 <p>To make closing a Window <i>hide</i> the Window so that it may be reused, set
278 <a href="Ext.window.MessageBox.html#closeAction" rel="Ext.window.MessageBox#closeAction" class="docClass">closeAction</a> to 'hide'.</p>
279
280 </div></div></div><div id="config-closeAction" class="member inherited"><a href="Ext.window.MessageBox.html#config-closeAction" rel="config-closeAction" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-closeAction" class="viewSource">view source</a></div><a name="closeAction"></a><a name="config-closeAction"></a><a href="Ext.window.MessageBox.html#" rel="config-closeAction" class="cls expand">closeAction</a><span> : String</span></div><div class="description"><div class="short">The action to take when the close header tool is clicked:
281
282 'destroy' : Default
283 remove the window from the DOM and des...</div><div class="long"><p>The action to take when the close header tool is clicked:
284 <div class="mdetail-params"><ul>
285 <li><b><code>'<a href="Ext.window.MessageBox.html#destroy" rel="Ext.window.MessageBox#destroy" class="docClass">destroy</a>'</code></b> : <b>Default</b><div class="sub-desc">
286 <a href="Ext.window.MessageBox.html#destroy" rel="Ext.window.MessageBox#destroy" class="docClass">remove</a> the window from the DOM and <a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">destroy</a>
287 it and all descendant Components. The window will <b>not</b> be available to be
288 redisplayed via the <a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a> method.
289 </div></li>
290 <li><b><code>'<a href="Ext.window.MessageBox.html#hide" rel="Ext.window.MessageBox#hide" class="docClass">hide</a>'</code></b> : <div class="sub-desc">
291 <a href="Ext.window.MessageBox.html#hide" rel="Ext.window.MessageBox#hide" class="docClass">hide</a> the window by setting visibility to hidden and applying negative offsets.
292 The window will be available to be redisplayed via the <a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a> method.
293 </div></li>
294 </ul></div>
295 <p><b>Note:</b> This behavior has changed! setting *does* affect the <a href="Ext.window.MessageBox.html#close" rel="Ext.window.MessageBox#close" class="docClass">close</a> method
296 which will invoke the approriate closeAction.
297
298 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.window.MessageBox.html#config-cls" rel="config-cls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-cls" class="viewSource">view source</a></div><a name="cls"></a><a name="config-cls"></a><a href="Ext.window.MessageBox.html#" rel="config-cls" class="cls expand">cls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
299 useful for ...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
300 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
301 </div></div></div><div id="config-collapseDirection" class="member inherited"><a href="Ext.window.MessageBox.html#config-collapseDirection" rel="config-collapseDirection" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapseDirection" class="viewSource">view source</a></div><a name="collapseDirection"></a><a name="config-collapseDirection"></a><a href="Ext.window.MessageBox.html#" rel="config-collapseDirection" class="cls expand">collapseDirection</a><span> : Boolean</span></div><div class="description"><div class="short">The direction to collapse the Panel when the toggle button is clicked.
302
303
304 Defaults to the headerPosition
305
306
307 Important: ...</div><div class="long"><p>The direction to collapse the Panel when the toggle button is clicked.</p>
308
309
310 <p>Defaults to the <a href="Ext.window.MessageBox.html#headerPosition" rel="Ext.window.MessageBox#headerPosition" class="docClass">headerPosition</a></p>
311
312
313 <p><b>Important: This config is <u>ignored</u> for <a href="Ext.window.MessageBox.html#collapsible" rel="Ext.window.MessageBox#collapsible" class="docClass">collapsible</a> Panels which are direct child items of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>.</b></p>
314
315
316 <p>Specify as <code>'top'</code>, <code>'bottom'</code>, <code>'left'</code> or <code>'right'</code>.</p>
317
318 </div></div></div><div id="config-collapseFirst" class="member inherited"><a href="Ext.window.MessageBox.html#config-collapseFirst" rel="config-collapseFirst" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapseFirst" class="viewSource">view source</a></div><a name="collapseFirst"></a><a name="config-collapseFirst"></a><a href="Ext.window.MessageBox.html#" rel="config-collapseFirst" class="cls expand">collapseFirst</a><span> : Boolean</span></div><div class="description"><div class="short">true to make sure the collapse/expand toggle button always renders first (to the left of)
319 any other tools in the pane...</div><div class="long"><p><code>true</code> to make sure the collapse/expand toggle button always renders first (to the left of)
320 any other tools in the panel&#39;s title bar, <code>false</code> to render it last (defaults to <code>true</code>).</p>
321 </div></div></div><div id="config-collapseMode" class="member inherited"><a href="Ext.window.MessageBox.html#config-collapseMode" rel="config-collapseMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapseMode" class="viewSource">view source</a></div><a name="collapseMode"></a><a name="config-collapseMode"></a><a href="Ext.window.MessageBox.html#" rel="config-collapseMode" class="cls expand">collapseMode</a><span> : String</span></div><div class="description"><div class="short">Important: this config is only effective for collapsible Panels which are direct child items of a border layout.
322
323
324 Wh...</div><div class="long"><p><b>Important: this config is only effective for <a href="Ext.window.MessageBox.html#collapsible" rel="Ext.window.MessageBox#collapsible" class="docClass">collapsible</a> Panels which are direct child items of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>.</b></p>
325
326
327 <p>When <i>not</i> a direct child item of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>, then the Panel&#39;s header remains visible, and the body is collapsed to zero dimensions.
328 If the Panel has no header, then a new header (orientated correctly depending on the <a href="Ext.window.MessageBox.html#collapseDirection" rel="Ext.window.MessageBox#collapseDirection" class="docClass">collapseDirection</a>) will be inserted to show a the title and a re-expand tool.</p>
329
330
331 <p>When a child item of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>, this config has two options:
332 <div class="mdetail-params"><ul>
333 <li><b><code>undefined/omitted</code></b><div class="sub-desc">When collapsed, a placeholder <a href="Ext.panel.Header.html" rel="Ext.panel.Header" class="docClass">Header</a> is injected into the layout to represent the Panel
334 and to provide a UI with a Tool to allow the user to re-expand the Panel.</div></li>
335 <li><b><code>header</code></b> : <div class="sub-desc">The Panel collapses to leave its header visible as when not inside a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>.</div></li>
336 </ul></div></p>
337
338 </div></div></div><div id="config-collapsed" class="member inherited"><a href="Ext.window.MessageBox.html#config-collapsed" rel="config-collapsed" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-collapsed" class="viewSource">view source</a></div><a name="collapsed"></a><a name="config-collapsed"></a><a href="Ext.window.MessageBox.html#" rel="config-collapsed" class="cls expand">collapsed</a><span> : Boolean</span></div><div class="description"><div class="short">True to render the window collapsed, false to render it expanded (defaults to false). Note that if
339 expandOnShow is tr...</div><div class="long"><p>True to render the window collapsed, false to render it expanded (defaults to false). Note that if
340 <a href="Ext.window.MessageBox.html#expandOnShow" rel="Ext.window.MessageBox#expandOnShow" class="docClass">expandOnShow</a> is true (the default) it will override the <code>collapsed</code> config and the window
341 will always be expanded when shown.</p>
342 </div></div></div><div id="config-collapsedCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-collapsedCls" rel="config-collapsedCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapsedCls" class="viewSource">view source</a></div><a name="collapsedCls"></a><a name="config-collapsedCls"></a><a href="Ext.window.MessageBox.html#" rel="config-collapsedCls" class="cls expand">collapsedCls</a><span> : String</span></div><div class="description"><div class="short"><p>A CSS class to add to the panel&#39;s element after it has been collapsed (defaults to
343 <code>'collapsed'</code>).</p>
344 </div><div class="long"><p>A CSS class to add to the panel&#39;s element after it has been collapsed (defaults to
345 <code>'collapsed'</code>).</p>
346 </div></div></div><div id="config-collapsible" class="member inherited"><a href="Ext.window.MessageBox.html#config-collapsible" rel="config-collapsible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapsible" class="viewSource">view source</a></div><a name="collapsible"></a><a name="config-collapsible"></a><a href="Ext.window.MessageBox.html#" rel="config-collapsible" class="cls expand">collapsible</a><span> : Boolean</span></div><div class="description"><div class="short">True to make the panel collapsible and have an expand/collapse toggle Tool added into
347 the header tool button area. Fa...</div><div class="long"><p>True to make the panel collapsible and have an expand/collapse toggle Tool added into
348 the header tool button area. False to keep the panel sized either statically, or by an owning layout manager, with no toggle Tool (defaults to false).</p>
349
350
351 <p>See <a href="Ext.window.MessageBox.html#collapseMode" rel="Ext.window.MessageBox#collapseMode" class="docClass">collapseMode</a> and <a href="Ext.window.MessageBox.html#collapseDirection" rel="Ext.window.MessageBox#collapseDirection" class="docClass">collapseDirection</a></p>
352 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-componentCls" rel="config-componentCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentCls" class="viewSource">view source</a></div><a name="componentCls"></a><a name="config-componentCls"></a><a href="Ext.window.MessageBox.html#" rel="config-componentCls" class="cls expand">componentCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS Class to be added to a components root level element to give distinction to it
353 via styling.</p>
354 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
355 via styling.</p>
356 </div></div></div><div id="config-componentLayout" class="member inherited"><a href="Ext.window.MessageBox.html#config-componentLayout" rel="config-componentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentLayout" class="viewSource">view source</a></div><a name="componentLayout"></a><a name="config-componentLayout"></a><a href="Ext.window.MessageBox.html#" rel="config-componentLayout" class="cls expand">componentLayout</a><span> : String/Object</span></div><div class="description"><div class="short">The sizing and positioning of a Component's internal Elements is the responsibility of
357 the Component's layout manager...</div><div class="long"><p>The sizing and positioning of a Component's internal Elements is the responsibility of
358 the Component's layout manager which sizes a Component's internal structure in response to the Component being sized.</p>
359
360
361 <p>Generally, developers will not use this configuration as all provided Components which need their internal
362 elements sizing (Such as <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">input fields</a>) come with their own componentLayout managers.</p>
363
364
365 <p>The <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">default layout manager</a> will be used on instances of the base <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> class
366 which simply sizes the Component's encapsulating element to the height and width specified in the <a href="Ext.window.MessageBox.html#setSize" rel="Ext.window.MessageBox#setSize" class="docClass">setSize</a> method.</p>
367
368 </div></div></div><div id="config-constrain" class="member inherited"><a href="Ext.window.MessageBox.html#config-constrain" rel="config-constrain" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-constrain" class="viewSource">view source</a></div><a name="constrain"></a><a name="config-constrain"></a><a href="Ext.window.MessageBox.html#" rel="config-constrain" class="cls expand">constrain</a><span> : Boolean</span></div><div class="description"><div class="short">True to constrain the window within its containing element, false to allow it to fall outside of its
369 containing eleme...</div><div class="long"><p>True to constrain the window within its containing element, false to allow it to fall outside of its
370 containing element. By default the window will be rendered to document.body.  To render and constrain the
371 window within another element specify <a href="Ext.window.MessageBox.html#renderTo" rel="Ext.window.MessageBox#renderTo" class="docClass">renderTo</a>.
372 (defaults to false).  Optionally the header only can be constrained using <a href="Ext.window.MessageBox.html#constrainHeader" rel="Ext.window.MessageBox#constrainHeader" class="docClass">constrainHeader</a>.</p>
373 </div></div></div><div id="config-constrainHeader" class="member inherited"><a href="Ext.window.MessageBox.html#config-constrainHeader" rel="config-constrainHeader" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-constrainHeader" class="viewSource">view source</a></div><a name="constrainHeader"></a><a name="config-constrainHeader"></a><a href="Ext.window.MessageBox.html#" rel="config-constrainHeader" class="cls expand">constrainHeader</a><span> : Boolean</span></div><div class="description"><div class="short">True to constrain the window header within its containing element (allowing the window body to fall outside
374 of its co...</div><div class="long"><p>True to constrain the window header within its containing element (allowing the window body to fall outside
375 of its containing element) or false to allow the header to fall outside its containing element (defaults to
376 false). Optionally the entire window can be constrained using <a href="Ext.window.MessageBox.html#constrain" rel="Ext.window.MessageBox#constrain" class="docClass">constrain</a>.</p>
377 </div></div></div><div id="config-contentEl" class="member inherited"><a href="Ext.window.MessageBox.html#config-contentEl" rel="config-contentEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-contentEl" class="viewSource">view source</a></div><a name="contentEl"></a><a name="config-contentEl"></a><a href="Ext.window.MessageBox.html#" rel="config-contentEl" class="cls expand">contentEl</a><span> : String</span></div><div class="description"><div class="short">Optional. Specify an existing HTML element, or the id of an existing HTML element to use as the content
378 for this comp...</div><div class="long"><p>Optional. Specify an existing HTML element, or the <code>id</code> of an existing HTML element to use as the content
379 for this component.</p>
380
381
382 <ul>
383 <li><b>Description</b> :
384 <div class="sub-desc">This config option is used to take an existing HTML element and place it in the layout element
385 of a new component (it simply moves the specified DOM element <i>after the Component is rendered</i> to use as the content.</div></li>
386 <li><b>Notes</b> :
387 <div class="sub-desc">The specified HTML element is appended to the layout element of the component <i>after any configured
388 <a href="Ext.window.MessageBox.html#html" rel="Ext.window.MessageBox#html" class="docClass">HTML</a> has been inserted</i>, and so the document will not contain this element at the time the <a href="Ext.window.MessageBox.html#render" rel="Ext.window.MessageBox#render" class="docClass">render</a> event is fired.</div>
389 <div class="sub-desc">The specified HTML element used will not participate in any <code><b><a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a></b></code>
390 scheme that the Component may use. It is just HTML. Layouts operate on child <code><b><a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a></b></code>.</div>
391 <div class="sub-desc">Add either the <code>x-hidden</code> or the <code>x-hide-display</code> CSS class to
392 prevent a brief flicker of the content before it is rendered to the panel.</div></li>
393 </ul>
394
395 </div></div></div><div id="config-data" class="member inherited"><a href="Ext.window.MessageBox.html#config-data" rel="config-data" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-data" class="viewSource">view source</a></div><a name="data"></a><a name="config-data"></a><a href="Ext.window.MessageBox.html#" rel="config-data" class="cls expand">data</a><span> : Mixed</span></div><div class="description"><div class="short"><p>The initial set of data to apply to the <code><a href="Ext.window.MessageBox.html#tpl" rel="Ext.window.MessageBox#tpl" class="docClass">tpl</a></code> to
396 update the content area of the Component.</p>
397 </div><div class="long"><p>The initial set of data to apply to the <code><a href="Ext.window.MessageBox.html#tpl" rel="Ext.window.MessageBox#tpl" class="docClass">tpl</a></code> to
398 update the content area of the Component.</p>
399 </div></div></div><div id="config-defaultFocus" class="member inherited"><a href="Ext.window.MessageBox.html#config-defaultFocus" rel="config-defaultFocus" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-defaultFocus" class="viewSource">view source</a></div><a name="defaultFocus"></a><a name="config-defaultFocus"></a><a href="Ext.window.MessageBox.html#" rel="config-defaultFocus" class="cls expand">defaultFocus</a><span> : String/Number/Component</span></div><div class="description"><div class="short">Specifies a Component to receive focus when this Window is focused.
400
401
402 This may be one of:
403
404
405
406 The index of a footer Bu...</div><div class="long"><p>Specifies a Component to receive focus when this Window is focused.</p>
407
408
409 <p>This may be one of:</p>
410
411
412 <div class="mdetail-params"><ul>
413 <li>The index of a footer Button.</li>
414 <li>The id or <a href="Ext.AbstractComponent.html#itemId" rel="Ext.AbstractComponent#itemId" class="docClass">Ext.AbstractComponent.itemId</a> of a descendant Component.</li>
415 <li>A Component.</li>
416 </ul></div>
417
418 </div></div></div><div id="config-defaultType" class="member inherited"><a href="Ext.window.MessageBox.html#config-defaultType" rel="config-defaultType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-defaultType" class="viewSource">view source</a></div><a name="defaultType"></a><a name="config-defaultType"></a><a href="Ext.window.MessageBox.html#" rel="config-defaultType" class="cls expand">defaultType</a><span> : String</span></div><div class="description"><div class="short">The default xtype of child Components to create in this Container when
419 a child item is specified as a raw configurati...</div><div class="long"><p>The default <a href="Ext.Component.html" rel="Ext.Component" class="docClass">xtype</a> of child Components to create in this Container when
420 a child item is specified as a raw configuration object, rather than as an instantiated Component.</p>
421
422
423 <p>Defaults to <code>'panel'</code>.</p>
424
425 </div></div></div><div id="config-defaults" class="member inherited"><a href="Ext.window.MessageBox.html#config-defaults" rel="config-defaults" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-defaults" class="viewSource">view source</a></div><a name="defaults"></a><a name="config-defaults"></a><a href="Ext.window.MessageBox.html#" rel="config-defaults" class="cls expand">defaults</a><span> : Object|Function</span></div><div class="description"><div class="short">This option is a means of applying default settings to all added items whether added through the items
426 config or via ...</div><div class="long"><p>This option is a means of applying default settings to all added items whether added through the <a href="Ext.window.MessageBox.html#items" rel="Ext.window.MessageBox#items" class="docClass">items</a>
427 config or via the <a href="Ext.window.MessageBox.html#add" rel="Ext.window.MessageBox#add" class="docClass">add</a> or <a href="Ext.window.MessageBox.html#insert" rel="Ext.window.MessageBox#insert" class="docClass">insert</a> methods.</p>
428
429
430 <p>If an added item is a config object, and <b>not</b> an instantiated Component, then the default properties are
431 unconditionally applied. If the added item <b>is</b> an instantiated Component, then the default properties are
432 applied conditionally so as not to override existing properties in the item.</p>
433
434
435 <p>If the defaults option is specified as a function, then the function will be called using this Container as the
436 scope (<code>this</code> reference) and passing the added item as the first parameter. Any resulting object
437 from that call is then applied to the item as default properties.</p>
438
439
440 <p>For example, to automatically apply padding to the body of each of a set of
441 contained <a href="Ext.panel.Panel.html" rel="Ext.panel.Panel" class="docClass">Ext.panel.Panel</a> items, you could pass: <code>defaults: {bodyStyle:'padding:15px'}</code>.</p>
442
443
444 <p>Usage:</p>
445
446
447 <pre><code>defaults: {               // defaults are applied to items, not the container
448     autoScroll:true
449 },
450 items: [
451     {
452         xtype: 'panel',   // defaults <b>do not</b> have precedence over
453         id: 'panel1',     // options in config objects, so the defaults
454         autoScroll: false // will not be applied here, panel1 will be autoScroll:false
455     },
456     new Ext.panel.Panel({       // defaults <b>do</b> have precedence over options
457         id: 'panel2',     // options in components, so the defaults
458         autoScroll: false // will be applied here, panel2 will be autoScroll:true.
459     })
460 ]</code></pre>
461
462 </div></div></div><div id="config-disabled" class="member inherited"><a href="Ext.window.MessageBox.html#config-disabled" rel="config-disabled" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabled" class="viewSource">view source</a></div><a name="disabled"></a><a name="config-disabled"></a><a href="Ext.window.MessageBox.html#" rel="config-disabled" class="cls expand">disabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
463 </div><div class="long"><p>Defaults to false.</p>
464 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-disabledCls" rel="config-disabledCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabledCls" class="viewSource">view source</a></div><a name="disabledCls"></a><a name="config-disabledCls"></a><a href="Ext.window.MessageBox.html#" rel="config-disabledCls" class="cls expand">disabledCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
465 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
466 </div></div></div><div id="config-dockedItems" class="member inherited"><a href="Ext.window.MessageBox.html#config-dockedItems" rel="config-dockedItems" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-dockedItems" class="viewSource">view source</a></div><a name="dockedItems"></a><a name="config-dockedItems"></a><a href="Ext.window.MessageBox.html#" rel="config-dockedItems" class="cls expand">dockedItems</a><span> : Object/Array</span></div><div class="description"><div class="short">A component or series of components to be added as docked items to this panel.
467 The docked items can be docked to eith...</div><div class="long"><p>A component or series of components to be added as docked items to this panel.
468 The docked items can be docked to either the top, right, left or bottom of a panel.
469 This is typically used for things like toolbars or tab bars:</p>
470
471 <pre><code>var panel = new Ext.panel.Panel({
472     dockedItems: [{
473         xtype: 'toolbar',
474         dock: 'top',
475         items: [{
476             text: 'Docked to the top'
477         }]
478     }]
479 });</pre>
480
481
482 <p></code></p>
483 </div></div></div><div id="config-draggable" class="member inherited"><a href="Ext.window.MessageBox.html#config-draggable" rel="config-draggable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-draggable" class="viewSource">view source</a></div><a name="draggable"></a><a name="config-draggable"></a><a href="Ext.window.MessageBox.html#" rel="config-draggable" class="cls expand">draggable</a><span> : Boolean</span></div><div class="description"><div class="short">True to allow the window to be dragged by the header bar, false to disable dragging (defaults to true).  Note
484 that by...</div><div class="long"><p>True to allow the window to be dragged by the header bar, false to disable dragging (defaults to true).  Note
485 that by default the window will be centered in the viewport, so if dragging is disabled the window may need
486 to be positioned programmatically after render (e.g., myWindow.setPosition(100, 100);).<p>
487
488 </div></div></div><div id="config-expandOnShow" class="member inherited"><a href="Ext.window.MessageBox.html#config-expandOnShow" rel="config-expandOnShow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-expandOnShow" class="viewSource">view source</a></div><a name="expandOnShow"></a><a name="config-expandOnShow"></a><a href="Ext.window.MessageBox.html#" rel="config-expandOnShow" class="cls expand">expandOnShow</a><span> : Boolean</span></div><div class="description"><div class="short">True to always expand the window when it is displayed, false to keep it in its current state (which may be
489 collapsed)...</div><div class="long"><p>True to always expand the window when it is displayed, false to keep it in its current state (which may be
490 <a href="Ext.window.MessageBox.html#collapsed" rel="Ext.window.MessageBox#collapsed" class="docClass">collapsed</a>) when displayed (defaults to true).</p>
491 </div></div></div><div id="config-fbar" class="member inherited"><a href="Ext.window.MessageBox.html#config-fbar" rel="config-fbar" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-fbar" class="viewSource">view source</a></div><a name="fbar"></a><a name="config-fbar"></a><a href="Ext.window.MessageBox.html#" rel="config-fbar" class="cls expand">fbar</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method used for adding items to the bottom right of the panel. Short for Footer Bar.
492
493 fbar: [
494   { type: '...</div><div class="long"><p>Convenience method used for adding items to the bottom right of the panel. Short for Footer Bar.</p>
495
496 <pre><code>fbar: [
497   { type: 'button', text: 'Button 1' }
498 ]
499 </code></pre>
500
501 <p>is equivalent to</p>
502
503 <pre><code>dockedItems: [{
504     xtype: 'toolbar',
505     dock: 'bottom',
506     defaults: {minWidth: <a href="Ext.window.MessageBox.html#minButtonWidth" rel="Ext.window.MessageBox#minButtonWidth" class="docClass">minButtonWidth</a>},
507     items: [
508         { xtype: 'component', flex: 1 },
509         { xtype: 'button', text: 'Button 1' }
510     ]
511 }]
512 </code></pre>
513
514 <p>The <a href="Ext.window.MessageBox.html#minButtonWidth" rel="Ext.window.MessageBox#minButtonWidth" class="docClass">minButtonWidth</a> is used as the default <a href="Ext.button.Button.html#minWidth" rel="Ext.button.Button#minWidth" class="docClass">minWidth</a> for
515 each of the buttons in the fbar.</p>
516 </div></div></div><div id="config-floatable" class="member inherited"><a href="Ext.window.MessageBox.html#config-floatable" rel="config-floatable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-floatable" class="viewSource">view source</a></div><a name="floatable"></a><a name="config-floatable"></a><a href="Ext.window.MessageBox.html#" rel="config-floatable" class="cls expand">floatable</a><span> : Boolean</span></div><div class="description"><div class="short">Important: This config is only effective for collapsible Panels which are direct child items of a border layout.
517
518
519 tr...</div><div class="long"><p><b>Important: This config is only effective for <a href="Ext.window.MessageBox.html#collapsible" rel="Ext.window.MessageBox#collapsible" class="docClass">collapsible</a> Panels which are direct child items of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>.</b></p>
520
521
522 <p><tt>true</tt> to allow clicking a collapsed Panel&#39;s <a href="Ext.window.MessageBox.html#placeholder" rel="Ext.window.MessageBox#placeholder" class="docClass">placeholder</a> to display the Panel floated
523 above the layout, <tt>false</tt> to force the user to fully expand a collapsed region by
524 clicking the expand button to see it again (defaults to <tt>true</tt>).</p>
525 </div></div></div><div id="config-floating" class="member inherited"><a href="Ext.window.MessageBox.html#config-floating" rel="config-floating" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-floating" class="viewSource">view source</a></div><a name="floating"></a><a name="config-floating"></a><a href="Ext.window.MessageBox.html#" rel="config-floating" class="cls expand">floating</a><span> : Boolean</span></div><div class="description"><div class="short">Specify as true to float the Component outside of the document flow using CSS absolute positioning.
526
527
528 Components such...</div><div class="long"><p>Specify as true to float the Component outside of the document flow using CSS absolute positioning.</p>
529
530
531 <p>Components such as <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s and <a href="Ext.menu.Menu.html" rel="Ext.menu.Menu" class="docClass">Menu</a>s are floating
532 by default.</p>
533
534
535 <p>Floating Components that are programatically <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a> will register themselves with the global
536 <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a></p>
537
538
539 <h3 class="pa">Floating Components as child items of a Container</h3>
540
541
542 <p>A floating Component may be used as a child item of a Container. This just allows the floating Component to seek a ZIndexManager by
543 examining the ownerCt chain.</p>
544
545
546 <p>When configured as floating, Components acquire, at render time, a <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> which manages a stack
547 of related floating Components. The ZIndexManager brings a single floating Component to the top of its stack when
548 the Component's <a href="Ext.window.MessageBox.html#toFront" rel="Ext.window.MessageBox#toFront" class="docClass">toFront</a> method is called.</p>
549
550
551 <p>The ZIndexManager is found by traversing up the <a href="Ext.window.MessageBox.html#ownerCt" rel="Ext.window.MessageBox#ownerCt" class="docClass">ownerCt</a> chain to find an ancestor which itself is floating. This is so that
552 descendant floating Components of floating <i>Containers</i> (Such as a ComboBox dropdown within a Window) can have its zIndex managed relative
553 to any siblings, but always <b>above</b> that floating ancestor Container.</p>
554
555
556 <p>If no floating ancestor is found, a floating Component registers itself with the default <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a>.</p>
557
558
559 <p>Floating components <i>do not participate in the Container's layout</i>. Because of this, they are not rendered until you explicitly
560 <a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a> them.</p>
561
562
563 <p>After rendering, the ownerCt reference is deleted, and the <a href="Ext.window.MessageBox.html#floatParent" rel="Ext.window.MessageBox#floatParent" class="docClass">floatParent</a> property is set to the found floating ancestor Container.
564 If no floating ancestor Container was found the <a href="Ext.window.MessageBox.html#floatParent" rel="Ext.window.MessageBox#floatParent" class="docClass">floatParent</a> property will not be set.</p>
565
566 </div></div></div><div id="config-focusOnToFront" class="member inherited"><a href="Ext.window.MessageBox.html#config-focusOnToFront" rel="config-focusOnToFront" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-cfg-focusOnToFront" class="viewSource">view source</a></div><a name="focusOnToFront"></a><a name="config-focusOnToFront"></a><a href="Ext.window.MessageBox.html#" rel="config-focusOnToFront" class="cls expand">focusOnToFront</a><span> : Boolean</span></div><div class="description"><div class="short">Specifies whether the floated component should be automatically focused when it is
567 brought to the front. Defaults to ...</div><div class="long"><p>Specifies whether the floated component should be automatically <a href="Ext.window.MessageBox.html#focus" rel="Ext.window.MessageBox#focus" class="docClass">focused</a> when it is
568 <a href="Ext.window.MessageBox.html#toFront" rel="Ext.window.MessageBox#toFront" class="docClass">brought to the front</a>. Defaults to true.</p>
569 </div></div></div><div id="config-frame" class="member inherited"><a href="Ext.window.MessageBox.html#config-frame" rel="config-frame" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-frame" class="viewSource">view source</a></div><a name="frame"></a><a name="config-frame"></a><a href="Ext.window.MessageBox.html#" rel="config-frame" class="cls expand">frame</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to apply a frame to the panel.</p>
570 </div><div class="long"><p>True to apply a frame to the panel.</p>
571 </div></div></div><div id="config-frameHeader" class="member inherited"><a href="Ext.window.MessageBox.html#config-frameHeader" rel="config-frameHeader" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-frameHeader" class="viewSource">view source</a></div><a name="frameHeader"></a><a name="config-frameHeader"></a><a href="Ext.window.MessageBox.html#" rel="config-frameHeader" class="cls expand">frameHeader</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to apply a frame to the panel panels header (if 'frame' is true).</p>
572 </div><div class="long"><p>True to apply a frame to the panel panels header (if 'frame' is true).</p>
573 </div></div></div><div id="config-headerPosition" class="member inherited"><a href="Ext.window.MessageBox.html#config-headerPosition" rel="config-headerPosition" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-headerPosition" class="viewSource">view source</a></div><a name="headerPosition"></a><a name="config-headerPosition"></a><a href="Ext.window.MessageBox.html#" rel="config-headerPosition" class="cls expand">headerPosition</a><span> : String</span></div><div class="description"><div class="short"><p>Specify as <code>'top'</code>, <code>'bottom'</code>, <code>'left'</code> or <code>'right'</code>. Defaults to <code>'top'</code>.</p>
574 </div><div class="long"><p>Specify as <code>'top'</code>, <code>'bottom'</code>, <code>'left'</code> or <code>'right'</code>. Defaults to <code>'top'</code>.</p>
575 </div></div></div><div id="config-height" class="member inherited"><a href="Ext.window.MessageBox.html#config-height" rel="config-height" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-height" class="viewSource">view source</a></div><a name="height"></a><a name="config-height"></a><a href="Ext.window.MessageBox.html#" rel="config-height" class="cls expand">height</a><span> : Number</span></div><div class="description"><div class="short"><p>The height of this component in pixels.</p>
576 </div><div class="long"><p>The height of this component in pixels.</p>
577 </div></div></div><div id="config-hidden" class="member inherited"><a href="Ext.window.MessageBox.html#config-hidden" rel="config-hidden" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-hidden" class="viewSource">view source</a></div><a name="hidden"></a><a name="config-hidden"></a><a href="Ext.window.MessageBox.html#" rel="config-hidden" class="cls expand">hidden</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Render this Window hidden (default is <code>true</code>). If <code>true</code>, the
578 <a href="Ext.window.MessageBox.html#hide" rel="Ext.window.MessageBox#hide" class="docClass">hide</a> method will be called internally.</p>
579 </div><div class="long"><p>Render this Window hidden (default is <code>true</code>). If <code>true</code>, the
580 <a href="Ext.window.MessageBox.html#hide" rel="Ext.window.MessageBox#hide" class="docClass">hide</a> method will be called internally.</p>
581 </div></div></div><div id="config-hideCollapseTool" class="member inherited"><a href="Ext.window.MessageBox.html#config-hideCollapseTool" rel="config-hideCollapseTool" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-hideCollapseTool" class="viewSource">view source</a></div><a name="hideCollapseTool"></a><a name="config-hideCollapseTool"></a><a href="Ext.window.MessageBox.html#" rel="config-hideCollapseTool" class="cls expand">hideCollapseTool</a><span> : Boolean</span></div><div class="description"><div class="short"><p><code>true</code> to hide the expand/collapse toggle button when <code><a href="Ext.window.MessageBox.html#collapsible" rel="Ext.window.MessageBox#collapsible" class="docClass">collapsible</a> == true</code>,
582 <code>false</code> to display it (defaults to <code>false</code>).</p>
583 </div><div class="long"><p><code>true</code> to hide the expand/collapse toggle button when <code><a href="Ext.window.MessageBox.html#collapsible" rel="Ext.window.MessageBox#collapsible" class="docClass">collapsible</a> == true</code>,
584 <code>false</code> to display it (defaults to <code>false</code>).</p>
585 </div></div></div><div id="config-hideMode" class="member inherited"><a href="Ext.window.MessageBox.html#config-hideMode" rel="config-hideMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-hideMode" class="viewSource">view source</a></div><a name="hideMode"></a><a name="config-hideMode"></a><a href="Ext.window.MessageBox.html#" rel="config-hideMode" class="cls expand">hideMode</a><span> : String</span></div><div class="description"><div class="short">A String which specifies how this Component's encapsulating DOM element will be hidden.
586 Values may be
587 'display' : The...</div><div class="long"><p>A String which specifies how this Component's encapsulating DOM element will be hidden.
588 Values may be<div class="mdetail-params"><ul>
589 <li><code>'display'</code> : The Component will be hidden using the <code>display: none</code> style.</li>
590 <li><code>'visibility'</code> : The Component will be hidden using the <code>visibility: hidden</code> style.</li>
591 <li><code>'offsets'</code> : The Component will be hidden by absolutely positioning it out of the visible area of the document. This
592 is useful when a hidden Component must maintain measurable dimensions. Hiding using <code>display</code> results
593 in a Component having zero dimensions.</li></ul></div>
594 Defaults to <code>'display'</code>.</p>
595 </div></div></div><div id="config-html" class="member inherited"><a href="Ext.window.MessageBox.html#config-html" rel="config-html" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-html" class="viewSource">view source</a></div><a name="html"></a><a name="config-html"></a><a href="Ext.window.MessageBox.html#" rel="config-html" class="cls expand">html</a><span> : String/Object</span></div><div class="description"><div class="short">An HTML fragment, or a DomHelper specification to use as the layout element
596 content (defaults to ''). The HTML conten...</div><div class="long"><p>An HTML fragment, or a <a href="Ext.core.DomHelper.html" rel="Ext.core.DomHelper" class="docClass">DomHelper</a> specification to use as the layout element
597 content (defaults to ''). The HTML content is added after the component is rendered,
598 so the document will not contain this HTML at the time the <a href="Ext.window.MessageBox.html#render" rel="Ext.window.MessageBox#render" class="docClass">render</a> event is fired.
599 This content is inserted into the body <i>before</i> any configured <a href="Ext.window.MessageBox.html#contentEl" rel="Ext.window.MessageBox#contentEl" class="docClass">contentEl</a> is appended.</p>
600 </div></div></div><div id="config-id" class="member inherited"><a href="Ext.window.MessageBox.html#config-id" rel="config-id" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-id" class="viewSource">view source</a></div><a name="id"></a><a name="config-id"></a><a href="Ext.window.MessageBox.html#" rel="config-id" class="cls expand">id</a><span> : String</span></div><div class="description"><div class="short">The unique id of this component instance (defaults to an auto-assigned id).
601
602
603 It should not be necessary to use this ...</div><div class="long"><p>The <b><u>unique id of this component instance</u></b> (defaults to an <a href="Ext.window.MessageBox.html#getId" rel="Ext.window.MessageBox#getId" class="docClass">auto-assigned id</a>).</p>
604
605
606 <p>It should not be necessary to use this configuration except for singleton objects in your application.
607 Components created with an id may be accessed globally using <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp</a>.</p>
608
609
610 <p>Instead of using assigned ids, use the <a href="Ext.window.MessageBox.html#itemId" rel="Ext.window.MessageBox#itemId" class="docClass">itemId</a> config, and <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> which
611 provides selector-based searching for Sencha Components analogous to DOM querying. The <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>
612 class contains <a href="Ext.container.Container.html#down" rel="Ext.container.Container#down" class="docClass">shortcut methods</a> to query its descendant Components by selector.</p>
613
614
615 <p>Note that this id will also be used as the element id for the containing HTML element
616 that is rendered to the page for this component. This allows you to write id-based CSS
617 rules to style the specific instance of this component uniquely, and also to select
618 sub-elements using this component's id as the parent.</p>
619
620
621 <p><b>Note</b>: to avoid complications imposed by a unique <tt>id</tt> also see <code><a href="Ext.window.MessageBox.html#itemId" rel="Ext.window.MessageBox#itemId" class="docClass">itemId</a></code>.</p>
622
623
624 <p><b>Note</b>: to access the container of a Component see <code><a href="Ext.window.MessageBox.html#ownerCt" rel="Ext.window.MessageBox#ownerCt" class="docClass">ownerCt</a></code>.</p>
625
626 </div></div></div><div id="config-itemId" class="member inherited"><a href="Ext.window.MessageBox.html#config-itemId" rel="config-itemId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-itemId" class="viewSource">view source</a></div><a name="itemId"></a><a name="config-itemId"></a><a href="Ext.window.MessageBox.html#" rel="config-itemId" class="cls expand">itemId</a><span> : String</span></div><div class="description"><div class="short">An itemId can be used as an alternative way to get a reference to a component
627 when no object reference is available. ...</div><div class="long"><p>An <tt>itemId</tt> can be used as an alternative way to get a reference to a component
628 when no object reference is available.  Instead of using an <code><a href="Ext.window.MessageBox.html#id" rel="Ext.window.MessageBox#id" class="docClass">id</a></code> with
629 <a href="Ext.html" rel="Ext" class="docClass">Ext</a>.<a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">getCmp</a>, use <code>itemId</code> with
630 <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a> which will retrieve
631 <code>itemId</code>'s or <tt><a href="Ext.window.MessageBox.html#id" rel="Ext.window.MessageBox#id" class="docClass">id</a></tt>'s. Since <code>itemId</code>'s are an index to the
632 container's internal MixedCollection, the <code>itemId</code> is scoped locally to the container --
633 avoiding potential conflicts with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a> which requires a <b>unique</b>
634 <code><a href="Ext.window.MessageBox.html#id" rel="Ext.window.MessageBox#id" class="docClass">id</a></code>.</p>
635
636
637 <pre><code>var c = new Ext.panel.Panel({ //
638     <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 300,
639     <a href="Ext.window.MessageBox.html#renderTo" rel="Ext.window.MessageBox#renderTo" class="docClass">renderTo</a>: document.body,
640     <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a>: 'auto',
641     <a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a>: [
642         {
643             itemId: 'p1',
644             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 1',
645             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
646         },
647         {
648             itemId: 'p2',
649             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 2',
650             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
651         }
652     ]
653 })
654 p1 = c.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a>('p1'); // not the same as <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp()</a>
655 p2 = p1.<a href="Ext.window.MessageBox.html#ownerCt" rel="Ext.window.MessageBox#ownerCt" class="docClass">ownerCt</a>.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a>('p2'); // reference via a sibling
656 </code></pre>
657
658
659 <p>Also see <tt><a href="Ext.window.MessageBox.html#id" rel="Ext.window.MessageBox#id" class="docClass">id</a></tt>, <code><a href="Ext.window.MessageBox.html#query" rel="Ext.window.MessageBox#query" class="docClass">query</a></code>, <code><a href="Ext.window.MessageBox.html#down" rel="Ext.window.MessageBox#down" class="docClass">down</a></code> and <code><a href="Ext.window.MessageBox.html#child" rel="Ext.window.MessageBox#child" class="docClass">child</a></code>.</p>
660
661
662 <p><b>Note</b>: to access the container of an item see <tt><a href="Ext.window.MessageBox.html#ownerCt" rel="Ext.window.MessageBox#ownerCt" class="docClass">ownerCt</a></tt>.</p>
663
664 </div></div></div><div id="config-items" class="member inherited"><a href="Ext.window.MessageBox.html#config-items" rel="config-items" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-items" class="viewSource">view source</a></div><a name="items"></a><a name="config-items"></a><a href="Ext.window.MessageBox.html#" rel="config-items" class="cls expand">items</a><span> : Object/Array</span></div><div class="description"><div class="short">A single item, or an array of child Components to be added to this container
665
666
667 Unless configured with a layout, a Con...</div><div class="long"><p>A single item, or an array of child Components to be added to this container</p>
668
669
670 <p><b>Unless configured with a <a href="Ext.window.MessageBox.html#layout" rel="Ext.window.MessageBox#layout" class="docClass">layout</a>, a Container simply renders child Components serially into
671 its encapsulating element and performs no sizing or positioning upon them.</b><p>
672 <p>Example:</p>
673 <pre><code>// specifying a single item
674 items: {...},
675 layout: 'fit',    // The single items is sized to fit
676
677 // specifying multiple items
678 items: [{...}, {...}],
679 layout: 'hbox', // The items are arranged horizontally
680        </code></pre>
681 <p>Each item may be:</p>
682 <ul>
683 <li>A <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></li>
684 <li>A Component configuration object</li>
685 </ul>
686 <p>If a configuration object is specified, the actual type of Component to be
687 instantiated my be indicated by using the <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a> option.</p>
688 <p>Every Component class has its own <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a>.</p>
689 <p>If an <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a> is not explicitly
690 specified, the <a href="Ext.window.MessageBox.html#defaultType" rel="Ext.window.MessageBox#defaultType" class="docClass">defaultType</a> for the Container is used, which by default is usually <code>panel</code>.</p>
691 <p><b>Notes</b>:</p>
692 <p>Ext uses lazy rendering. Child Components will only be rendered
693 should it become necessary. Items are automatically laid out when they are first
694 shown (no sizing is done while hidden), or in response to a <a href="Ext.window.MessageBox.html#doLayout" rel="Ext.window.MessageBox#doLayout" class="docClass">doLayout</a> call.</p>
695 <p>Do not specify <code><a href="Ext.panel.Panel.html#contentEl" rel="Ext.panel.Panel#contentEl" class="docClass">contentEl</a></code> or 
696 <code><a href="Ext.panel.Panel.html#html" rel="Ext.panel.Panel#html" class="docClass">html</a></code> with <code>items</code>.</p>
697
698 </div></div></div><div id="config-layout" class="member inherited"><a href="Ext.window.MessageBox.html#config-layout" rel="config-layout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-layout" class="viewSource">view source</a></div><a name="layout"></a><a name="config-layout"></a><a href="Ext.window.MessageBox.html#" rel="config-layout" class="cls expand">layout</a><span> : String/Object</span></div><div class="description"><div class="short">*Important: In order for child items to be correctly sized and
699 positioned, typically a layout manager must be specifi...</div><div class="long"><p><b>*Important</b>: In order for child items to be correctly sized and
700 positioned, typically a layout manager <b>must</b> be specified through
701 the <code>layout</code> configuration option.</p>
702
703
704 <br><p>The sizing and positioning of child <a href="Ext.window.MessageBox.html#items" rel="Ext.window.MessageBox#items" class="docClass">items</a> is the responsibility of
705
706
707 <p>the Container's layout manager which creates and manages the type of layout
708 you have in mind.  For example:</p></p>
709
710 <p>If the <a href="Ext.window.MessageBox.html#layout" rel="Ext.window.MessageBox#layout" class="docClass">layout</a> configuration is not explicitly specified for
711 a general purpose container (e.g. Container or Panel) the
712 <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">default layout manager</a> will be used
713 which does nothing but render child components sequentially into the
714 Container (no sizing or positioning will be performed in this situation).</p>
715
716
717 <br><p><b><code>layout</code></b> may be specified as either as an Object or
718
719
720 <p>as a String:</p><div><ul class="mdetail-params"></p>
721
722 <p><li><u>Specify as an Object</u></li></p>
723
724 <div><ul class="mdetail-params">
725 <li>Example usage:</li>
726 <pre><code>layout: {
727     type: 'vbox',
728     align: 'left'
729 }
730        </code></pre>
731
732 <li><code><b>type</b></code></li>
733 <br/><p>The layout type to be used for this container.  If not specified,
734 a default <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">Ext.layout.container.Auto</a> will be created and used.</p>
735 <br/><p>Valid layout <code>type</code> values are:</p>
736 <div class="sub-desc"><ul class="mdetail-params">
737 <li><code><b><a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">Auto</a></b></code> &nbsp;&nbsp;&nbsp; <b>Default</b></li>
738 <li><code><b><a href="Ext.layout.container.Card.html" rel="Ext.layout.container.Card" class="docClass">card</a></b></code></li>
739 <li><code><b><a href="Ext.layout.container.Fit.html" rel="Ext.layout.container.Fit" class="docClass">fit</a></b></code></li>
740 <li><code><b><a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">hbox</a></b></code></li>
741 <li><code><b><a href="Ext.layout.container.VBox.html" rel="Ext.layout.container.VBox" class="docClass">vbox</a></b></code></li>
742 <li><code><b><a href="Ext.layout.container.Anchor.html" rel="Ext.layout.container.Anchor" class="docClass">anchor</a></b></code></li>
743 <li><code><b><a href="Ext.layout.container.Table.html" rel="Ext.layout.container.Table" class="docClass">table</a></b></code></li>
744 </ul></div>
745
746 <li>Layout specific configuration properties</li>
747 <br/><p>Additional layout specific configuration properties may also be
748 specified. For complete details regarding the valid config options for
749 each layout type, see the layout class corresponding to the <code>type</code>
750 specified.</p>
751
752 </ul></div>
753
754
755 <p><li><u>Specify as a String</u></li></p>
756
757 <div><ul class="mdetail-params">
758 <li>Example usage:</li>
759 <pre><code>layout: {
760     type: 'vbox',
761     padding: '5',
762     align: 'left'
763 }
764        </code></pre>
765 <li><code><b>layout</b></code></li>
766 <br/><p>The layout <code>type</code> to be used for this container (see list
767 of valid layout type values above).</p><br/>
768 <br/><p>Additional layout specific configuration properties. For complete
769 details regarding the valid config options for each layout type, see the
770 layout class corresponding to the <code>layout</code> specified.</p>
771 </ul></div>
772
773
774 <p></ul></div></p>
775 </div></div></div><div id="config-lbar" class="member inherited"><a href="Ext.window.MessageBox.html#config-lbar" rel="config-lbar" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-lbar" class="viewSource">view source</a></div><a name="lbar"></a><a name="config-lbar"></a><a href="Ext.window.MessageBox.html#" rel="config-lbar" class="cls expand">lbar</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method. Short for 'Left Bar' (left-docked, vertical toolbar).
776
777    lbar: [
778
779  { xtype: 'button', text: 'But...</div><div class="long"><p>Convenience method. Short for 'Left Bar' (left-docked, vertical toolbar).</p>
780
781 <p>   lbar: [</p>
782
783 <pre><code> { xtype: 'button', text: 'Button 1' }
784 </code></pre>
785
786 <p>   ]</p>
787
788 <p>is equivalent to</p>
789
790 <p>   dockedItems: [{</p>
791
792 <pre><code>   xtype: 'toolbar',
793    dock: 'left',
794    items: [
795        { xtype: 'button', text: 'Button 1' }
796    ]
797 </code></pre>
798
799 <p>   }]</p>
800 </div></div></div><div id="config-listeners" class="member inherited"><a href="Ext.window.MessageBox.html#config-listeners" rel="config-listeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-cfg-listeners" class="viewSource">view source</a></div><a name="listeners"></a><a name="config-listeners"></a><a href="Ext.window.MessageBox.html#" rel="config-listeners" class="cls expand">listeners</a><span> : Object</span></div><div class="description"><div class="short">(optional) A config object containing one or more event handlers to be added to this
801 object during initialization.  T...</div><div class="long"><p>(optional) <p>A config object containing one or more event handlers to be added to this
802 object during initialization.  This should be a valid listeners config object as specified in the
803 <a href="Ext.window.MessageBox.html#addListener" rel="Ext.window.MessageBox#addListener" class="docClass">addListener</a> example for attaching multiple handlers at once.</p></p>
804
805 <br><p><b><u>DOM events from ExtJs <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a></u></b></p>
806
807
808 <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
809
810
811 <p>is usually only done when extra value can be added. For example the <a href="Ext.view.View.html" rel="Ext.view.View" class="docClass">DataView</a>'s
812 <b><code><a href="Ext.view.View.html#click" rel="Ext.view.View#click" class="docClass">click</a></code></b> event passing the node clicked on. To access DOM
813 events directly from a child element of a Component, we need to specify the <code>element</code> option to
814 identify the Component property to add a DOM listener to:</p>
815
816 <pre><code>new Ext.panel.Panel({
817     width: 400,
818     height: 200,
819     dockedItems: [{
820         xtype: 'toolbar'
821     }],
822     listeners: {
823         click: {
824             element: 'el', //bind to the underlying el property on the panel
825             fn: function(){ console.log('click el'); }
826         },
827         dblclick: {
828             element: 'body', //bind to the underlying body property on the panel
829             fn: function(){ console.log('dblclick body'); }
830         }
831     }
832 });
833 </code></pre>
834
835
836 <p></p></p>
837 </div></div></div><div id="config-loader" class="member inherited"><a href="Ext.window.MessageBox.html#config-loader" rel="config-loader" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-loader" class="viewSource">view source</a></div><a name="loader"></a><a name="config-loader"></a><a href="Ext.window.MessageBox.html#" rel="config-loader" class="cls expand">loader</a><span> : Ext.ComponentLoader/Object</span></div><div class="description"><div class="short"><p>A configuration object or an instance of a <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> to load remote
838 content for this Component.</p>
839 </div><div class="long"><p>A configuration object or an instance of a <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> to load remote
840 content for this Component.</p>
841 </div></div></div><div id="config-maintainFlex" class="member inherited"><a href="Ext.window.MessageBox.html#config-maintainFlex" rel="config-maintainFlex" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-maintainFlex" class="viewSource">view source</a></div><a name="maintainFlex"></a><a name="config-maintainFlex"></a><a href="Ext.window.MessageBox.html#" rel="config-maintainFlex" class="cls expand">maintainFlex</a><span> : Boolean</span></div><div class="description"><div class="short">Only valid when a sibling element of a Splitter within a VBox or
842 HBox layout.
843
844
845 Specifies that if an immediate siblin...</div><div class="long"><p><b>Only valid when a sibling element of a <a href="Ext.resizer.Splitter.html" rel="Ext.resizer.Splitter" class="docClass">Splitter</a> within a <a href="Ext.layout.container.VBox.html" rel="Ext.layout.container.VBox" class="docClass">VBox</a> or
846 <a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">HBox</a> layout.</b></p>
847
848
849 <p>Specifies that if an immediate sibling Splitter is moved, the Component on the <i>other</i> side is resized, and this
850 Component maintains its configured <a href="Ext.layout.container.Box.html#flex" rel="Ext.layout.container.Box#flex" class="docClass">flex</a> value.</p>
851
852 </div></div></div><div id="config-margin" class="member inherited"><a href="Ext.window.MessageBox.html#config-margin" rel="config-margin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-margin" class="viewSource">view source</a></div><a name="margin"></a><a name="config-margin"></a><a href="Ext.window.MessageBox.html#" rel="config-margin" class="cls expand">margin</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or
853 it can be ...</div><div class="long"><p>Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or
854 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
855 </div></div></div><div id="config-maxHeight" class="member inherited"><a href="Ext.window.MessageBox.html#config-maxHeight" rel="config-maxHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-maxHeight" class="viewSource">view source</a></div><a name="maxHeight"></a><a name="config-maxHeight"></a><a href="Ext.window.MessageBox.html#" rel="config-maxHeight" class="cls expand">maxHeight</a><span> : Number</span></div><div class="description"><div class="short">The maximum value in pixels which this Component will set its height to.
856
857
858 Warning: This will override any size manag...</div><div class="long"><p>The maximum value in pixels which this Component will set its height to.</p>
859
860
861 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
862
863 </div></div></div><div id="config-maxWidth" class="member inherited"><a href="Ext.window.MessageBox.html#config-maxWidth" rel="config-maxWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-maxWidth" class="viewSource">view source</a></div><a name="maxWidth"></a><a name="config-maxWidth"></a><a href="Ext.window.MessageBox.html#" rel="config-maxWidth" class="cls expand">maxWidth</a><span> : Number</span></div><div class="description"><div class="short">The maximum value in pixels which this Component will set its width to.
864
865
866 Warning: This will override any size manage...</div><div class="long"><p>The maximum value in pixels which this Component will set its width to.</p>
867
868
869 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
870
871 </div></div></div><div id="config-maximizable" class="member inherited"><a href="Ext.window.MessageBox.html#config-maximizable" rel="config-maximizable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-maximizable" class="viewSource">view source</a></div><a name="maximizable"></a><a name="config-maximizable"></a><a href="Ext.window.MessageBox.html#" rel="config-maximizable" class="cls expand">maximizable</a><span> : Boolean</span></div><div class="description"><div class="short">True to display the 'maximize' tool button and allow the user to maximize the window, false to hide the button
872 and di...</div><div class="long"><p>True to display the 'maximize' tool button and allow the user to maximize the window, false to hide the button
873 and disallow maximizing the window (defaults to false).  Note that when a window is maximized, the tool button
874 will automatically change to a 'restore' button with the appropriate behavior already built-in that will
875 restore the window to its previous size.</p>
876 </div></div></div><div id="config-maximized" class="member inherited"><a href="Ext.window.MessageBox.html#config-maximized" rel="config-maximized" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-maximized" class="viewSource">view source</a></div><a name="maximized"></a><a name="config-maximized"></a><a href="Ext.window.MessageBox.html#" rel="config-maximized" class="cls expand">maximized</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to initially display the window in a maximized state. (Defaults to false).</p>
877 </div><div class="long"><p>True to initially display the window in a maximized state. (Defaults to false).</p>
878 </div></div></div><div id="config-minButtonWidth" class="member inherited"><a href="Ext.window.MessageBox.html#config-minButtonWidth" rel="config-minButtonWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-minButtonWidth" class="viewSource">view source</a></div><a name="minButtonWidth"></a><a name="config-minButtonWidth"></a><a href="Ext.window.MessageBox.html#" rel="config-minButtonWidth" class="cls expand">minButtonWidth</a><span> : Number</span></div><div class="description"><div class="short">Minimum width of all footer toolbar buttons in pixels (defaults to 75). If set, this will
879 be used as the default valu...</div><div class="long"><p>Minimum width of all footer toolbar buttons in pixels (defaults to <tt>75</tt>). If set, this will
880 be used as the default value for the <tt><a href="Ext.button.Button.html#minWidth" rel="Ext.button.Button#minWidth" class="docClass">Ext.button.Button.minWidth</a></tt> config of
881 each Button added to the <b>footer toolbar</b> via the <a href="Ext.window.MessageBox.html#fbar" rel="Ext.window.MessageBox#fbar" class="docClass">fbar</a> or <a href="Ext.window.MessageBox.html#buttons" rel="Ext.window.MessageBox#buttons" class="docClass">buttons</a> configurations.
882 It will be ignored for buttons that have a minWidth configured some other way, e.g. in their own config
883 object or via the <a href="Ext.container.Container.html#config-defaults" rel="Ext.container.Container#config-defaults" class="docClass">defaults</a> of their parent container.</p>
884 </div></div></div><div id="config-minHeight" class="member inherited"><a href="Ext.window.MessageBox.html#config-minHeight" rel="config-minHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-minHeight" class="viewSource">view source</a></div><a name="minHeight"></a><a name="config-minHeight"></a><a href="Ext.window.MessageBox.html#" rel="config-minHeight" class="cls expand">minHeight</a><span> : Number</span></div><div class="description"><div class="short">The minimum value in pixels which this Component will set its height to.
885
886
887 Warning: This will override any size manag...</div><div class="long"><p>The minimum value in pixels which this Component will set its height to.</p>
888
889
890 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
891
892 </div></div></div><div id="config-minWidth" class="member inherited"><a href="Ext.window.MessageBox.html#config-minWidth" rel="config-minWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-minWidth" class="viewSource">view source</a></div><a name="minWidth"></a><a name="config-minWidth"></a><a href="Ext.window.MessageBox.html#" rel="config-minWidth" class="cls expand">minWidth</a><span> : Number</span></div><div class="description"><div class="short">The minimum value in pixels which this Component will set its width to.
893
894
895 Warning: This will override any size manage...</div><div class="long"><p>The minimum value in pixels which this Component will set its width to.</p>
896
897
898 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
899
900 </div></div></div><div id="config-minimizable" class="member inherited"><a href="Ext.window.MessageBox.html#config-minimizable" rel="config-minimizable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-minimizable" class="viewSource">view source</a></div><a name="minimizable"></a><a name="config-minimizable"></a><a href="Ext.window.MessageBox.html#" rel="config-minimizable" class="cls expand">minimizable</a><span> : Boolean</span></div><div class="description"><div class="short">True to display the 'minimize' tool button and allow the user to minimize the window, false to hide the button
901 and di...</div><div class="long"><p>True to display the 'minimize' tool button and allow the user to minimize the window, false to hide the button
902 and disallow minimizing the window (defaults to false).  Note that this button provides no implementation --
903 the behavior of minimizing a window is implementation-specific, so the minimize event must be handled and a
904 custom minimize behavior implemented for this option to be useful.</p>
905 </div></div></div><div id="config-modal" class="member inherited"><a href="Ext.window.MessageBox.html#config-modal" rel="config-modal" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-modal" class="viewSource">view source</a></div><a name="modal"></a><a name="config-modal"></a><a href="Ext.window.MessageBox.html#" rel="config-modal" class="cls expand">modal</a><span> : Boolean</span></div><div class="description"><div class="short">True to make the window modal and mask everything behind it when displayed, false to display it without
906 restricting a...</div><div class="long"><p>True to make the window modal and mask everything behind it when displayed, false to display it without
907 restricting access to other UI elements (defaults to false).</p>
908 </div></div></div><div id="config-onEsc" class="member inherited"><a href="Ext.window.MessageBox.html#config-onEsc" rel="config-onEsc" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-onEsc" class="viewSource">view source</a></div><a name="onEsc"></a><a name="config-onEsc"></a><a href="Ext.window.MessageBox.html#" rel="config-onEsc" class="cls expand">onEsc</a><span> : Function</span></div><div class="description"><div class="short">Allows override of the built-in processing for the escape key. Default action
909 is to close the Window (performing what...</div><div class="long"><p>Allows override of the built-in processing for the escape key. Default action
910 is to close the Window (performing whatever action is specified in <a href="Ext.window.MessageBox.html#closeAction" rel="Ext.window.MessageBox#closeAction" class="docClass">closeAction</a>.
911 To prevent the Window closing when the escape key is pressed, specify this as
912 Ext.emptyFn (See <a href="Ext.html#emptyFn" rel="Ext#emptyFn" class="docClass">Ext.emptyFn</a>).</p>
913 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-overCls" rel="config-overCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-overCls" class="viewSource">view source</a></div><a name="overCls"></a><a name="config-overCls"></a><a href="Ext.window.MessageBox.html#" rel="config-overCls" class="cls expand">overCls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves
914 over the Element, and...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element when the mouse moves
915 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
916 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
917 </div></div></div><div id="config-padding" class="member inherited"><a href="Ext.window.MessageBox.html#config-padding" rel="config-padding" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-padding" class="viewSource">view source</a></div><a name="padding"></a><a name="config-padding"></a><a href="Ext.window.MessageBox.html#" rel="config-padding" class="cls expand">padding</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or
918 it can b...</div><div class="long"><p>Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or
919 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
920 </div></div></div><div id="config-placeholder" class="member inherited"><a href="Ext.window.MessageBox.html#config-placeholder" rel="config-placeholder" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-placeholder" class="viewSource">view source</a></div><a name="placeholder"></a><a name="config-placeholder"></a><a href="Ext.window.MessageBox.html#" rel="config-placeholder" class="cls expand">placeholder</a><span> : Mixed</span></div><div class="description"><div class="short">Important: This config is only effective for collapsible Panels which are direct child items of a border layout
921 when ...</div><div class="long"><p><b>Important: This config is only effective for <a href="Ext.window.MessageBox.html#collapsible" rel="Ext.window.MessageBox#collapsible" class="docClass">collapsible</a> Panels which are direct child items of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>
922 when not using the <code>'header'</code> <a href="Ext.window.MessageBox.html#collapseMode" rel="Ext.window.MessageBox#collapseMode" class="docClass">collapseMode</a>.</b></p>
923
924
925 <p><b>Optional.</b> A Component (or config object for a Component) to show in place of this Panel when this Panel is collapsed by a
926 <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>. Defaults to a generated <a href="Ext.panel.Header.html" rel="Ext.panel.Header" class="docClass">Header</a>
927 containing a <a href="Ext.panel.Tool.html" rel="Ext.panel.Tool" class="docClass">Tool</a> to re-expand the Panel.</p>
928
929 </div></div></div><div id="config-plain" class="member inherited"><a href="Ext.window.MessageBox.html#config-plain" rel="config-plain" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-plain" class="viewSource">view source</a></div><a name="plain"></a><a name="config-plain"></a><a href="Ext.window.MessageBox.html#" rel="config-plain" class="cls expand">plain</a><span> : Boolean</span></div><div class="description"><div class="short">True to render the window body with a transparent background so that it will blend into the framing
930 elements, false t...</div><div class="long"><p>True to render the window body with a transparent background so that it will blend into the framing
931 elements, false to add a lighter background color to visually highlight the body element and separate it
932 more distinctly from the surrounding frame (defaults to false).</p>
933 </div></div></div><div id="config-plugins" class="member inherited"><a href="Ext.window.MessageBox.html#config-plugins" rel="config-plugins" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-plugins" class="viewSource">view source</a></div><a name="plugins"></a><a name="config-plugins"></a><a href="Ext.window.MessageBox.html#" rel="config-plugins" class="cls expand">plugins</a><span> : Object/Array</span></div><div class="description"><div class="short">An object or array of objects that will provide custom functionality for this component.  The only
934 requirement for a ...</div><div class="long"><p>An object or array of objects that will provide custom functionality for this component.  The only
935 requirement for a valid plugin is that it contain an init method that accepts a reference of type <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>.
936 When a component is created, if any plugins are available, the component will call the init method on each
937 plugin, passing a reference to itself.  Each plugin can then call methods or respond to events on the
938 component as needed to provide its functionality.</p>
939 </div></div></div><div id="config-preventHeader" class="member inherited"><a href="Ext.window.MessageBox.html#config-preventHeader" rel="config-preventHeader" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-preventHeader" class="viewSource">view source</a></div><a name="preventHeader"></a><a name="config-preventHeader"></a><a href="Ext.window.MessageBox.html#" rel="config-preventHeader" class="cls expand">preventHeader</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Prevent a Header from being created and shown. Defaults to false.</p>
940 </div><div class="long"><p>Prevent a Header from being created and shown. Defaults to false.</p>
941 </div></div></div><div id="config-rbar" class="member inherited"><a href="Ext.window.MessageBox.html#config-rbar" rel="config-rbar" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-rbar" class="viewSource">view source</a></div><a name="rbar"></a><a name="config-rbar"></a><a href="Ext.window.MessageBox.html#" rel="config-rbar" class="cls expand">rbar</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method. Short for 'Right Bar' (right-docked, vertical toolbar).
942
943    rbar: [
944
945  { xtype: 'button', text: 'B...</div><div class="long"><p>Convenience method. Short for 'Right Bar' (right-docked, vertical toolbar).</p>
946
947 <p>   rbar: [</p>
948
949 <pre><code> { xtype: 'button', text: 'Button 1' }
950 </code></pre>
951
952 <p>   ]</p>
953
954 <p>is equivalent to</p>
955
956 <p>   dockedItems: [{</p>
957
958 <pre><code>   xtype: 'toolbar',
959    dock: 'right',
960    items: [
961        { xtype: 'button', text: 'Button 1' }
962    ]
963 </code></pre>
964
965 <p>   }]</p>
966 </div></div></div><div id="config-renderSelectors" class="member inherited"><a href="Ext.window.MessageBox.html#config-renderSelectors" rel="config-renderSelectors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderSelectors" class="viewSource">view source</a></div><a name="renderSelectors"></a><a name="config-renderSelectors"></a><a href="Ext.window.MessageBox.html#" rel="config-renderSelectors" class="cls expand">renderSelectors</a><span> : Object</span></div><div class="description"><div class="short">An object containing properties specifying DomQuery selectors which identify child elements
967 created by the render pro...</div><div class="long"><p>An object containing properties specifying <a href="Ext.DomQuery.html" rel="Ext.DomQuery" class="docClass">DomQuery</a> selectors which identify child elements
968 created by the render process.</p>
969
970 <p>After the Component's internal structure is rendered according to the <a href="Ext.window.MessageBox.html#renderTpl" rel="Ext.window.MessageBox#renderTpl" class="docClass">renderTpl</a>, this object is iterated through,
971 and the found Elements are added as properties to the Component using the <code>renderSelector</code> property name.</p>
972
973 <p>For example, a Component which rendered an image, and description into its element might use the following properties
974 coded into its prototype:</p>
975
976 <pre><code>renderTpl: '&amp;lt;img src="{imageUrl}" class="x-image-component-img"&gt;&amp;lt;div class="x-image-component-desc"&gt;{description}&amp;gt;/div&amp;lt;',
977
978 renderSelectors: {
979     image: 'img.x-image-component-img',
980     descEl: 'div.x-image-component-desc'
981 }
982 </code></pre>
983
984 <p>After rendering, the Component would have a property <code>image</code> referencing its child <code>img</code> Element,
985 and a property <code>descEl</code> referencing the <code>div</code> Element which contains the description.</p>
986 </div></div></div><div id="config-renderTo" class="member inherited"><a href="Ext.window.MessageBox.html#config-renderTo" rel="config-renderTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderTo" class="viewSource">view source</a></div><a name="renderTo"></a><a name="config-renderTo"></a><a href="Ext.window.MessageBox.html#" rel="config-renderTo" class="cls expand">renderTo</a><span> : Mixed</span></div><div class="description"><div class="short">Specify the id of the element, a DOM element or an existing Element that this component
987 will be rendered into.
988
989
990
991 Not...</div><div class="long"><p>Specify the id of the element, a DOM element or an existing Element that this component
992 will be rendered into.</p>
993
994
995 <div><ul>
996 <li><b>Notes</b> : <ul>
997 <div class="sub-desc">Do <u>not</u> use this option if the Component is to be a child item of
998 a <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>. It is the responsibility of the
999 <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>'s <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout manager</a>
1000 to render and manage its child items.</div>
1001 <div class="sub-desc">When using this config, a call to render() is not required.</div>
1002 </ul></li>
1003 </ul></div>
1004
1005
1006 <p>See <code><a href="Ext.window.MessageBox.html#render" rel="Ext.window.MessageBox#render" class="docClass">render</a></code> also.</p>
1007
1008 </div></div></div><div id="config-renderTpl" class="member inherited"><a href="Ext.window.MessageBox.html#config-renderTpl" rel="config-renderTpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderTpl" class="viewSource">view source</a></div><a name="renderTpl"></a><a name="config-renderTpl"></a><a href="Ext.window.MessageBox.html#" rel="config-renderTpl" class="cls expand">renderTpl</a><span> : Mixed</span></div><div class="description"><div class="short">An XTemplate used to create the internal structure inside this Component's
1009 encapsulating Element.
1010
1011
1012 You do not normal...</div><div class="long"><p>An <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">XTemplate</a> used to create the internal structure inside this Component's
1013 encapsulating <a href="Ext.window.MessageBox.html#getEl" rel="Ext.window.MessageBox#getEl" class="docClass">Element</a>.</p>
1014
1015
1016 <p>You do not normally need to specify this. For the base classes <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>
1017 and <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>, this defaults to <b><code>null</code></b> which means that they will be initially rendered
1018 with no internal structure; they render their <a href="Ext.window.MessageBox.html#getEl" rel="Ext.window.MessageBox#getEl" class="docClass">Element</a> empty. The more specialized ExtJS and Touch classes
1019 which use a more complex DOM structure, provide their own template definitions.</p>
1020
1021
1022 <p>This is intended to allow the developer to create application-specific utility Components with customized
1023 internal structure.</p>
1024
1025
1026 <p>Upon rendering, any created child elements may be automatically imported into object properties using the
1027 <a href="Ext.window.MessageBox.html#renderSelectors" rel="Ext.window.MessageBox#renderSelectors" class="docClass">renderSelectors</a> option.</p>
1028
1029 </div></div></div><div id="config-resizable" class="member inherited"><a href="Ext.window.MessageBox.html#config-resizable" rel="config-resizable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-resizable" class="viewSource">view source</a></div><a name="resizable"></a><a name="config-resizable"></a><a href="Ext.window.MessageBox.html#" rel="config-resizable" class="cls expand">resizable</a><span> : Mixed</span></div><div class="description"><div class="short">Specify as true to allow user resizing at each edge and corner of the window, false to disable
1030 resizing (defaults to ...</div><div class="long"><p>Specify as <code>true</code> to allow user resizing at each edge and corner of the window, false to disable
1031 resizing (defaults to true).</p>
1032
1033
1034 <p>This may also be specified as a config object to </p>
1035
1036 </div></div></div><div id="config-resizeHandles" class="member inherited"><a href="Ext.window.MessageBox.html#config-resizeHandles" rel="config-resizeHandles" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-resizeHandles" class="viewSource">view source</a></div><a name="resizeHandles"></a><a name="config-resizeHandles"></a><a href="Ext.window.MessageBox.html#" rel="config-resizeHandles" class="cls expand">resizeHandles</a><span> : String</span></div><div class="description"><div class="short"><p>A valid <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Ext.resizer.Resizer</a> handles config string (defaults to 'all').  Only applies when resizable = true.</p>
1037 </div><div class="long"><p>A valid <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Ext.resizer.Resizer</a> handles config string (defaults to 'all').  Only applies when resizable = true.</p>
1038 </div></div></div><div id="config-saveBuffer" class="member inherited"><a href="Ext.window.MessageBox.html#config-saveBuffer" rel="config-saveBuffer" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-saveBuffer" class="viewSource">view source</a></div><a name="saveBuffer"></a><a name="config-saveBuffer"></a><a href="Ext.window.MessageBox.html#" rel="config-saveBuffer" class="cls expand">saveBuffer</a><span> : Number</span></div><div class="description"><div class="short"><p>A buffer to be applied if many state events are fired within
1039 a short period. Defaults to 100.</p>
1040 </div><div class="long"><p>A buffer to be applied if many state events are fired within
1041 a short period. Defaults to 100.</p>
1042 </div></div></div><div id="config-shadow" class="member inherited"><a href="Ext.window.MessageBox.html#config-shadow" rel="config-shadow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-cfg-shadow" class="viewSource">view source</a></div><a name="shadow"></a><a name="config-shadow"></a><a href="Ext.window.MessageBox.html#" rel="config-shadow" class="cls expand">shadow</a><span> : String/Boolean</span></div><div class="description"><div class="short">Specifies whether the floating component should be given a shadow. Set to
1043 true to automatically create an Ext.Shadow,...</div><div class="long"><p>Specifies whether the floating component should be given a shadow. Set to
1044 <tt>true</tt> to automatically create an <a href="Ext.Shadow.html" rel="Ext.Shadow" class="docClass">Ext.Shadow</a>, or a string indicating the
1045 shadow's display <a href="Ext.Shadow.html#mode" rel="Ext.Shadow#mode" class="docClass">Ext.Shadow.mode</a>. Set to <tt>false</tt> to disable the shadow.
1046 (Defaults to <tt>'sides'</tt>.)</p>
1047 </div></div></div><div id="config-stateEvents" class="member inherited"><a href="Ext.window.MessageBox.html#config-stateEvents" rel="config-stateEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateEvents" class="viewSource">view source</a></div><a name="stateEvents"></a><a name="config-stateEvents"></a><a href="Ext.window.MessageBox.html#" rel="config-stateEvents" class="cls expand">stateEvents</a><span> : Array</span></div><div class="description"><div class="short">An array of events that, when fired, should trigger this object to
1048 save its state (defaults to none). stateEvents may...</div><div class="long"><p>An array of events that, when fired, should trigger this object to
1049 save its state (defaults to none). <code>stateEvents</code> may be any type
1050 of event supported by this object, including browser or custom events
1051 (e.g., <tt>['click', 'customerchange']</tt>).</p>
1052
1053
1054 <p>See <code><a href="Ext.window.MessageBox.html#stateful" rel="Ext.window.MessageBox#stateful" class="docClass">stateful</a></code> for an explanation of saving and
1055 restoring object state.</p>
1056
1057 </div></div></div><div id="config-stateId" class="member inherited"><a href="Ext.window.MessageBox.html#config-stateId" rel="config-stateId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateId" class="viewSource">view source</a></div><a name="stateId"></a><a name="config-stateId"></a><a href="Ext.window.MessageBox.html#" rel="config-stateId" class="cls expand">stateId</a><span> : String</span></div><div class="description"><div class="short">The unique id for this object to use for state management purposes.
1058
1059 See stateful for an explanation of saving and re...</div><div class="long"><p>The unique id for this object to use for state management purposes.</p>
1060
1061 <p>See <a href="Ext.window.MessageBox.html#stateful" rel="Ext.window.MessageBox#stateful" class="docClass">stateful</a> for an explanation of saving and restoring state.</p>
1062
1063 </div></div></div><div id="config-stateful" class="member inherited"><a href="Ext.window.MessageBox.html#config-stateful" rel="config-stateful" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateful" class="viewSource">view source</a></div><a name="stateful"></a><a name="config-stateful"></a><a href="Ext.window.MessageBox.html#" rel="config-stateful" class="cls expand">stateful</a><span> : Boolean</span></div><div class="description"><div class="short">A flag which causes the object to attempt to restore the state of
1064 internal properties from a saved state on startup. ...</div><div class="long"><p>A flag which causes the object to attempt to restore the state of
1065 internal properties from a saved state on startup. The object must have
1066 a <code><a href="Ext.window.MessageBox.html#stateId" rel="Ext.window.MessageBox#stateId" class="docClass">stateId</a></code> for state to be managed. 
1067 Auto-generated ids are not guaranteed to be stable across page loads and 
1068 cannot be relied upon to save and restore the same state for a object.<p>
1069 <p>For state saving to work, the state manager's provider must have been
1070 set to an implementation of <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> which overrides the
1071 <a href="Ext.state.Provider.html#set" rel="Ext.state.Provider#set" class="docClass">set</a> and <a href="Ext.state.Provider.html#get" rel="Ext.state.Provider#get" class="docClass">get</a>
1072 methods to save and recall name/value pairs. A built-in implementation,
1073 <a href="Ext.state.CookieProvider.html" rel="Ext.state.CookieProvider" class="docClass">Ext.state.CookieProvider</a> is available.</p>
1074 <p>To set the state provider for the current page:</p>
1075 <pre><code>Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
1076     expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now
1077 }));
1078 </code></pre>
1079 <p>A stateful object attempts to save state when one of the events
1080 listed in the <code><a href="Ext.window.MessageBox.html#stateEvents" rel="Ext.window.MessageBox#stateEvents" class="docClass">stateEvents</a></code> configuration fires.</p>
1081 <p>To save state, a stateful object first serializes its state by
1082 calling <b><code><a href="Ext.window.MessageBox.html#getState" rel="Ext.window.MessageBox#getState" class="docClass">getState</a></code></b>. By default, this function does
1083 nothing. The developer must provide an implementation which returns an
1084 object hash which represents the restorable state of the object.</p>
1085 <p>The value yielded by getState is passed to <a href="Ext.state.Manager.html#set" rel="Ext.state.Manager#set" class="docClass">Ext.state.Manager.set</a>
1086 which uses the configured <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> to save the object
1087 keyed by the <code><a href="stateId.html" rel="stateId" class="docClass">stateId</a></code></p>.
1088 <p>During construction, a stateful object attempts to <i>restore</i>
1089 its state by calling <a href="Ext.state.Manager.html#get" rel="Ext.state.Manager#get" class="docClass">Ext.state.Manager.get</a> passing the
1090 <code><a href="Ext.window.MessageBox.html#stateId" rel="Ext.window.MessageBox#stateId" class="docClass">stateId</a></code></p>
1091 <p>The resulting object is passed to <b><code><a href="Ext.window.MessageBox.html#applyState" rel="Ext.window.MessageBox#applyState" class="docClass">applyState</a></code></b>.
1092 The default implementation of <code><a href="Ext.window.MessageBox.html#applyState" rel="Ext.window.MessageBox#applyState" class="docClass">applyState</a></code> simply copies
1093 properties into the object, but a developer may override this to support
1094 more behaviour.</p>
1095 <p>You can perform extra processing on state save and restore by attaching
1096 handlers to the <a href="Ext.window.MessageBox.html#beforestaterestore" rel="Ext.window.MessageBox#beforestaterestore" class="docClass">beforestaterestore</a>, <a href="Ext.window.MessageBox.html#staterestore" rel="Ext.window.MessageBox#staterestore" class="docClass">staterestore</a>,
1097 <a href="Ext.window.MessageBox.html#beforestatesave" rel="Ext.window.MessageBox#beforestatesave" class="docClass">beforestatesave</a> and <a href="Ext.window.MessageBox.html#statesave" rel="Ext.window.MessageBox#statesave" class="docClass">statesave</a> events.</p>
1098
1099 </div></div></div><div id="config-style" class="member inherited"><a href="Ext.window.MessageBox.html#config-style" rel="config-style" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-style" class="viewSource">view source</a></div><a name="style"></a><a name="config-style"></a><a href="Ext.window.MessageBox.html#" rel="config-style" class="cls expand">style</a><span> : String</span></div><div class="description"><div class="short">A custom style specification to be applied to this component's Element.  Should be a valid argument to
1100 Ext.core.Eleme...</div><div class="long"><p>A custom style specification to be applied to this component's Element.  Should be a valid argument to
1101 <a href="Ext.core.Element.html#applyStyles" rel="Ext.core.Element#applyStyles" class="docClass">Ext.core.Element.applyStyles</a>.</p>
1102
1103 <pre><code>        new Ext.panel.Panel({
1104             title: 'Some Title',
1105             renderTo: Ext.getBody(),
1106             width: 400, height: 300,
1107             layout: 'form',
1108             items: [{
1109                 xtype: 'textarea',
1110                 style: {
1111                     width: '95%',
1112                     marginBottom: '10px'
1113                 }
1114             },
1115             new Ext.button.Button({
1116                 text: 'Send',
1117                 minWidth: '100',
1118                 style: {
1119                     marginBottom: '10px'
1120                 }
1121             })
1122             ]
1123         });
1124      </code></pre>
1125
1126 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.window.MessageBox.html#config-styleHtmlCls" rel="config-styleHtmlCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlCls" class="viewSource">view source</a></div><a name="styleHtmlCls"></a><a name="config-styleHtmlCls"></a><a href="Ext.window.MessageBox.html#" rel="config-styleHtmlCls" class="cls expand">styleHtmlCls</a><span> : String</span></div><div class="description"><div class="short"><p>The class that is added to the content target when you set styleHtmlContent to true.
1127 Defaults to 'x-html'</p>
1128 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
1129 Defaults to 'x-html'</p>
1130 </div></div></div><div id="config-styleHtmlContent" class="member inherited"><a href="Ext.window.MessageBox.html#config-styleHtmlContent" rel="config-styleHtmlContent" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlContent" class="viewSource">view source</a></div><a name="styleHtmlContent"></a><a name="config-styleHtmlContent"></a><a href="Ext.window.MessageBox.html#" rel="config-styleHtmlContent" class="cls expand">styleHtmlContent</a><span> : String</span></div><div class="description"><div class="short"><p>True to automatically style the html inside the content target of this component (body for panels).
1131 Defaults to false.</p>
1132 </div><div class="long"><p>True to automatically style the html inside the content target of this component (body for panels).
1133 Defaults to false.</p>
1134 </div></div></div><div id="config-suspendLayout" class="member inherited"><a href="Ext.window.MessageBox.html#config-suspendLayout" rel="config-suspendLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-suspendLayout" class="viewSource">view source</a></div><a name="suspendLayout"></a><a name="config-suspendLayout"></a><a href="Ext.window.MessageBox.html#" rel="config-suspendLayout" class="cls expand">suspendLayout</a><span> : Boolean</span></div><div class="description"><div class="short">If true, suspend calls to doLayout.  Useful when batching multiple adds to a container and not passing them
1135 as multip...</div><div class="long"><p>If true, suspend calls to doLayout.  Useful when batching multiple adds to a container and not passing them
1136 as multiple arguments or an array.</p>
1137 </div></div></div><div id="config-tbar" class="member inherited"><a href="Ext.window.MessageBox.html#config-tbar" rel="config-tbar" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-tbar" class="viewSource">view source</a></div><a name="tbar"></a><a name="config-tbar"></a><a href="Ext.window.MessageBox.html#" rel="config-tbar" class="cls expand">tbar</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method. Short for 'Top Bar'.
1138
1139 tbar: [
1140   { xtype: 'button', text: 'Button 1' }
1141 ]
1142
1143
1144 is equivalent to
1145
1146 docke...</div><div class="long"><p>Convenience method. Short for 'Top Bar'.</p>
1147
1148 <pre><code>tbar: [
1149   { xtype: 'button', text: 'Button 1' }
1150 ]
1151 </code></pre>
1152
1153 <p>is equivalent to</p>
1154
1155 <pre><code>dockedItems: [{
1156     xtype: 'toolbar',
1157     dock: 'top',
1158     items: [
1159         { xtype: 'button', text: 'Button 1' }
1160     ]
1161 }]
1162 </code></pre>
1163 </div></div></div><div id="config-titleCollapse" class="member inherited"><a href="Ext.window.MessageBox.html#config-titleCollapse" rel="config-titleCollapse" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-titleCollapse" class="viewSource">view source</a></div><a name="titleCollapse"></a><a name="config-titleCollapse"></a><a href="Ext.window.MessageBox.html#" rel="config-titleCollapse" class="cls expand">titleCollapse</a><span> : Boolean</span></div><div class="description"><div class="short">true to allow expanding and collapsing the panel (when collapsible = true)
1164 by clicking anywhere in the header bar, fa...</div><div class="long"><p><code>true</code> to allow expanding and collapsing the panel (when <code><a href="Ext.window.MessageBox.html#collapsible" rel="Ext.window.MessageBox#collapsible" class="docClass">collapsible</a> = true</code>)
1165 by clicking anywhere in the header bar, <code>false</code>) to allow it only by clicking to tool button
1166 (defaults to <code>false</code>)).</p>
1167 </div></div></div><div id="config-toFrontOnShow" class="member inherited"><a href="Ext.window.MessageBox.html#config-toFrontOnShow" rel="config-toFrontOnShow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-toFrontOnShow" class="viewSource">view source</a></div><a name="toFrontOnShow"></a><a name="config-toFrontOnShow"></a><a href="Ext.window.MessageBox.html#" rel="config-toFrontOnShow" class="cls expand">toFrontOnShow</a><span> : Boolean</span></div><div class="description"><div class="short">True to automatically call toFront when the show method is called
1168 on an already visible, floating component (default ...</div><div class="long"><p>True to automatically call <a href="Ext.window.MessageBox.html#toFront" rel="Ext.window.MessageBox#toFront" class="docClass">toFront</a> when the <a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a> method is called
1169 on an already visible, floating component (default is <code>true</code>).</p>
1170
1171 </div></div></div><div id="config-tools" class="member inherited"><a href="Ext.window.MessageBox.html#config-tools" rel="config-tools" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-tools" class="viewSource">view source</a></div><a name="tools"></a><a name="config-tools"></a><a href="Ext.window.MessageBox.html#" rel="config-tools" class="cls expand">tools</a><span> : Array</span></div><div class="description"><div class="short">An array of Ext.panel.Tool configs/instances to be added to the header tool area. The tools are stored as child
1172 compo...</div><div class="long"><p>An array of <a href="Ext.panel.Tool.html" rel="Ext.panel.Tool" class="docClass">Ext.panel.Tool</a> configs/instances to be added to the header tool area. The tools are stored as child
1173 components of the header container. They can be accessed using <a href="Ext.window.MessageBox.html#down" rel="Ext.window.MessageBox#down" class="docClass">down</a> and {#query}, as well as the other
1174 component methods. The toggle tool is automatically created if <a href="Ext.window.MessageBox.html#collapsible" rel="Ext.window.MessageBox#collapsible" class="docClass">collapsible</a> is set to true.</p>
1175
1176 <p>Note that, apart from the toggle tool which is provided when a panel is collapsible, these
1177 tools only provide the visual button. Any required functionality must be provided by adding
1178 handlers that implement the necessary behavior.</p>
1179
1180
1181 <p>Example usage:</p>
1182
1183
1184 <pre><code>tools:[{
1185     type:'refresh',
1186     qtip: 'Refresh form Data',
1187     // hidden:true,
1188     handler: function(event, toolEl, panel){
1189         // refresh logic
1190     }
1191 },
1192 {
1193     type:'help',
1194     qtip: 'Get Help',
1195     handler: function(event, toolEl, panel){
1196         // show help here
1197     }
1198 }]
1199 </code></pre>
1200
1201 </div></div></div><div id="config-tpl" class="member inherited"><a href="Ext.window.MessageBox.html#config-tpl" rel="config-tpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-tpl" class="viewSource">view source</a></div><a name="tpl"></a><a name="config-tpl"></a><a href="Ext.window.MessageBox.html#" rel="config-tpl" class="cls expand">tpl</a><span> : Mixed</span></div><div class="description"><div class="short">An Ext.Template, Ext.XTemplate
1202 or an array of strings to form an Ext.XTemplate.
1203 Used in conjunction with the data and...</div><div class="long"><p>An <bold><a href="Ext.Template.html" rel="Ext.Template" class="docClass">Ext.Template</a></bold>, <bold><a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a></bold>
1204 or an array of strings to form an <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a>.
1205 Used in conjunction with the <code><a href="Ext.window.MessageBox.html#data" rel="Ext.window.MessageBox#data" class="docClass">data</a></code> and
1206 <code><a href="Ext.window.MessageBox.html#tplWriteMode" rel="Ext.window.MessageBox#tplWriteMode" class="docClass">tplWriteMode</a></code> configurations.</p>
1207 </div></div></div><div id="config-tplWriteMode" class="member inherited"><a href="Ext.window.MessageBox.html#config-tplWriteMode" rel="config-tplWriteMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-tplWriteMode" class="viewSource">view source</a></div><a name="tplWriteMode"></a><a name="config-tplWriteMode"></a><a href="Ext.window.MessageBox.html#" rel="config-tplWriteMode" class="cls expand">tplWriteMode</a><span> : String</span></div><div class="description"><div class="short">The Ext.(X)Template method to use when
1208 updating the content area of the Component. Defaults to 'overwrite'
1209 (see Ext.X...</div><div class="long"><p>The Ext.(X)Template method to use when
1210 updating the content area of the Component. Defaults to <code>'overwrite'</code>
1211 (see <code><a href="Ext.XTemplate.html#overwrite" rel="Ext.XTemplate#overwrite" class="docClass">Ext.XTemplate.overwrite</a></code>).</p>
1212 </div></div></div><div id="config-ui" class="member inherited"><a href="Ext.window.MessageBox.html#config-ui" rel="config-ui" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-ui" class="viewSource">view source</a></div><a name="ui"></a><a name="config-ui"></a><a href="Ext.window.MessageBox.html#" rel="config-ui" class="cls expand">ui</a><span> : String/Array</span></div><div class="description"><div class="short"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
1213 </div><div class="long"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
1214 </div></div></div><div id="config-width" class="member inherited"><a href="Ext.window.MessageBox.html#config-width" rel="config-width" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-width" class="viewSource">view source</a></div><a name="width"></a><a name="config-width"></a><a href="Ext.window.MessageBox.html#" rel="config-width" class="cls expand">width</a><span> : Number</span></div><div class="description"><div class="short"><p>The width of this component in pixels.</p>
1215 </div><div class="long"><p>The width of this component in pixels.</p>
1216 </div></div></div><div id="config-x" class="member inherited"><a href="Ext.window.MessageBox.html#config-x" rel="config-x" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-x" class="viewSource">view source</a></div><a name="x"></a><a name="config-x"></a><a href="Ext.window.MessageBox.html#" rel="config-x" class="cls expand">x</a><span> : Number</span></div><div class="description"><div class="short">The X position of the left edge of the window on initial showing. Defaults to centering the Window within
1217 the width o...</div><div class="long"><p>The X position of the left edge of the window on initial showing. Defaults to centering the Window within
1218 the width of the Window's container {@link <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> Element) (The Element that the Window is rendered to).</p>
1219 </div></div></div><div id="config-y" class="member inherited"><a href="Ext.window.MessageBox.html#config-y" rel="config-y" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-cfg-y" class="viewSource">view source</a></div><a name="y"></a><a name="config-y"></a><a href="Ext.window.MessageBox.html#" rel="config-y" class="cls expand">y</a><span> : Number</span></div><div class="description"><div class="short">The Y position of the top edge of the window on initial showing. Defaults to centering the Window within
1220 the height o...</div><div class="long"><p>The Y position of the top edge of the window on initial showing. Defaults to centering the Window within
1221 the height of the Window's container {@link <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> Element) (The Element that the Window is rendered to).</p>
1222 </div></div></div></div><div class="m-properties"><a name="properties"></a><div class="definedBy">Defined By</div><h3 class="prp p">Properties</h3><div id="property-CANCEL" class="member f ni"><a href="Ext.window.MessageBox.html#property-CANCEL" rel="property-CANCEL" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-CANCEL" class="viewSource">view source</a></div><a name="CANCEL"></a><a name="property-CANCEL"></a><a href="Ext.window.MessageBox.html#" rel="property-CANCEL" class="cls expand">CANCEL</a><span> : Number</span></div><div class="description"><div class="short"><p>Button config that displays a single Cancel button</p>
1223 </div><div class="long"><p>Button config that displays a single Cancel button</p>
1224 </div></div></div><div id="property-ERROR" class="member ni"><a href="Ext.window.MessageBox.html#property-ERROR" rel="property-ERROR" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-ERROR" class="viewSource">view source</a></div><a name="ERROR"></a><a name="property-ERROR"></a><a href="Ext.window.MessageBox.html#" rel="property-ERROR" class="cls expand">ERROR</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class that provides the ERROR icon image</p>
1225 </div><div class="long"><p>The CSS class that provides the ERROR icon image</p>
1226 </div></div></div><div id="property-INFO" class="member ni"><a href="Ext.window.MessageBox.html#property-INFO" rel="property-INFO" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-INFO" class="viewSource">view source</a></div><a name="INFO"></a><a name="property-INFO"></a><a href="Ext.window.MessageBox.html#" rel="property-INFO" class="cls expand">INFO</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class that provides the INFO icon image</p>
1227 </div><div class="long"><p>The CSS class that provides the INFO icon image</p>
1228 </div></div></div><div id="property-NO" class="member ni"><a href="Ext.window.MessageBox.html#property-NO" rel="property-NO" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-NO" class="viewSource">view source</a></div><a name="NO"></a><a name="property-NO"></a><a href="Ext.window.MessageBox.html#" rel="property-NO" class="cls expand">NO</a><span> : Number</span></div><div class="description"><div class="short"><p>Button config that displays a single No button</p>
1229 </div><div class="long"><p>Button config that displays a single No button</p>
1230 </div></div></div><div id="property-OK" class="member ni"><a href="Ext.window.MessageBox.html#property-OK" rel="property-OK" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-OK" class="viewSource">view source</a></div><a name="OK"></a><a name="property-OK"></a><a href="Ext.window.MessageBox.html#" rel="property-OK" class="cls expand">OK</a><span> : Number</span></div><div class="description"><div class="short"><p>Button config that displays a single OK button</p>
1231 </div><div class="long"><p>Button config that displays a single OK button</p>
1232 </div></div></div><div id="property-OKCANCEL" class="member ni"><a href="Ext.window.MessageBox.html#property-OKCANCEL" rel="property-OKCANCEL" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-OKCANCEL" class="viewSource">view source</a></div><a name="OKCANCEL"></a><a name="property-OKCANCEL"></a><a href="Ext.window.MessageBox.html#" rel="property-OKCANCEL" class="cls expand">OKCANCEL</a><span> : Number</span></div><div class="description"><div class="short"><p>Button config that displays OK and Cancel buttons</p>
1233 </div><div class="long"><p>Button config that displays OK and Cancel buttons</p>
1234 </div></div></div><div id="property-QUESTION" class="member ni"><a href="Ext.window.MessageBox.html#property-QUESTION" rel="property-QUESTION" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-QUESTION" class="viewSource">view source</a></div><a name="QUESTION"></a><a name="property-QUESTION"></a><a href="Ext.window.MessageBox.html#" rel="property-QUESTION" class="cls expand">QUESTION</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class that provides the QUESTION icon image</p>
1235 </div><div class="long"><p>The CSS class that provides the QUESTION icon image</p>
1236 </div></div></div><div id="property-WARNING" class="member ni"><a href="Ext.window.MessageBox.html#property-WARNING" rel="property-WARNING" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-WARNING" class="viewSource">view source</a></div><a name="WARNING"></a><a name="property-WARNING"></a><a href="Ext.window.MessageBox.html#" rel="property-WARNING" class="cls expand">WARNING</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class that provides the WARNING icon image</p>
1237 </div><div class="long"><p>The CSS class that provides the WARNING icon image</p>
1238 </div></div></div><div id="property-YES" class="member ni"><a href="Ext.window.MessageBox.html#property-YES" rel="property-YES" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-YES" class="viewSource">view source</a></div><a name="YES"></a><a name="property-YES"></a><a href="Ext.window.MessageBox.html#" rel="property-YES" class="cls expand">YES</a><span> : Number</span></div><div class="description"><div class="short"><p>Button config that displays a single Yes button</p>
1239 </div><div class="long"><p>Button config that displays a single Yes button</p>
1240 </div></div></div><div id="property-YESNO" class="member ni"><a href="Ext.window.MessageBox.html#property-YESNO" rel="property-YESNO" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-YESNO" class="viewSource">view source</a></div><a name="YESNO"></a><a name="property-YESNO"></a><a href="Ext.window.MessageBox.html#" rel="property-YESNO" class="cls expand">YESNO</a><span> : Number</span></div><div class="description"><div class="short"><p>Button config that displays Yes and No buttons</p>
1241 </div><div class="long"><p>Button config that displays Yes and No buttons</p>
1242 </div></div></div><div id="property-YESNOCANCEL" class="member ni"><a href="Ext.window.MessageBox.html#property-YESNOCANCEL" rel="property-YESNOCANCEL" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-YESNOCANCEL" class="viewSource">view source</a></div><a name="YESNOCANCEL"></a><a name="property-YESNOCANCEL"></a><a href="Ext.window.MessageBox.html#" rel="property-YESNOCANCEL" class="cls expand">YESNOCANCEL</a><span> : Number</span></div><div class="description"><div class="short"><p>Button config that displays Yes, No and Cancel buttons</p>
1243 </div><div class="long"><p>Button config that displays Yes, No and Cancel buttons</p>
1244 </div></div></div><div id="property-buttonText" class="member ni"><a href="Ext.window.MessageBox.html#property-buttonText" rel="property-buttonText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-buttonText" class="viewSource">view source</a></div><a name="buttonText"></a><a name="property-buttonText"></a><a href="Ext.window.MessageBox.html#" rel="property-buttonText" class="cls expand">buttonText</a><span> : Object</span></div><div class="description"><div class="short">An object containing the default button text strings that can be overriden for localized language support.
1245 Supported ...</div><div class="long"><p>An object containing the default button text strings that can be overriden for localized language support.
1246 Supported properties are: ok, cancel, yes and no.  Generally you should include a locale-specific
1247 resource file for handling language support across the framework.
1248 Customize the default text like so: Ext.window.MessageBox.buttonText.yes = "oui"; //french</p>
1249 </div></div></div><div id="property-dd" class="member inherited"><a href="Ext.window.MessageBox.html#property-dd" rel="property-dd" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-property-dd" class="viewSource">view source</a></div><a name="dd"></a><a name="property-dd"></a><a href="Ext.window.MessageBox.html#" rel="property-dd" class="cls expand">dd</a><span> : Ext.util.ComponentDragger</span></div><div class="description"><div class="short">If this Window is configured draggable, this property will contain
1250 an instance of Ext.util.ComponentDragger (A subcla...</div><div class="long"><p>If this Window is configured <a href="Ext.window.MessageBox.html#draggable" rel="Ext.window.MessageBox#draggable" class="docClass">draggable</a>, this property will contain
1251 an instance of <a href="Ext.util.ComponentDragger.html" rel="Ext.util.ComponentDragger" class="docClass">Ext.util.ComponentDragger</a> (A subclass of <a href="Ext.dd.DragTracker.html" rel="Ext.dd.DragTracker" class="docClass">DragTracker</a>)
1252 which handles dragging the Window's DOM Element, and constraining according to the <a href="Ext.window.MessageBox.html#constrain" rel="Ext.window.MessageBox#constrain" class="docClass">constrain</a>
1253 and <a href="Ext.window.MessageBox.html#constrainHeader" rel="Ext.window.MessageBox#constrainHeader" class="docClass">constrainHeader</a> .</p>
1254
1255
1256 <p>This has implementations of <code>onBeforeStart</code>, <code>onDrag</code> and <code>onEnd</code>
1257 which perform the dragging action. If extra logic is needed at these points, use
1258 <a href="Ext.Function.html#createInterceptor" rel="Ext.Function#createInterceptor" class="docClass">createInterceptor</a> or <a href="Ext.Function.html#createSequence" rel="Ext.Function#createSequence" class="docClass">createSequence</a> to
1259 augment the existing implementations.</p>
1260
1261 </div></div></div><div id="property-defaultTextHeight" class="member ni"><a href="Ext.window.MessageBox.html#property-defaultTextHeight" rel="property-defaultTextHeight" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-defaultTextHeight" class="viewSource">view source</a></div><a name="defaultTextHeight"></a><a name="property-defaultTextHeight"></a><a href="Ext.window.MessageBox.html#" rel="property-defaultTextHeight" class="cls expand">defaultTextHeight</a><span> : Number</span></div><div class="description"><div class="short"><p>The default height in pixels of the message box's multiline textarea if displayed (defaults to 75)</p>
1262 </div><div class="long"><p>The default height in pixels of the message box's multiline textarea if displayed (defaults to 75)</p>
1263 </div></div></div><div id="property-draggable" class="member inherited"><a href="Ext.window.MessageBox.html#property-draggable" rel="property-draggable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-draggable" class="viewSource">view source</a></div><a name="draggable"></a><a name="property-draggable"></a><a href="Ext.window.MessageBox.html#" rel="property-draggable" class="cls expand">draggable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only property indicating whether or not the component can be dragged</p>
1264 </div><div class="long"><p>Read-only property indicating whether or not the component can be dragged</p>
1265 </div></div></div><div id="property-floatParent" class="member inherited"><a href="Ext.window.MessageBox.html#property-floatParent" rel="property-floatParent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-property-floatParent" class="viewSource">view source</a></div><a name="floatParent"></a><a name="property-floatParent"></a><a href="Ext.window.MessageBox.html#" rel="property-floatParent" class="cls expand">floatParent</a><span> : Ext.Container</span></div><div class="description"><div class="short">Optional. Only present for floating Components which were inserted as descendant items of floating Containers.
1266
1267
1268 Floa...</div><div class="long"><p>Optional. Only present for <a href="Ext.window.MessageBox.html#floating" rel="Ext.window.MessageBox#floating" class="docClass">floating</a> Components which were inserted as descendant items of floating Containers.</p>
1269
1270
1271 <p>Floating Components that are programatically <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a> will not have a <code>floatParent</code> property.</p>
1272
1273
1274 <p>For <a href="Ext.window.MessageBox.html#floating" rel="Ext.window.MessageBox#floating" class="docClass">floating</a> Components which are child items of a Container, the floatParent will be the floating ancestor Container which is
1275 responsible for the base z-index value of all its floating descendants. It provides a <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> which provides
1276 z-indexing services for all its descendant floating Components.</p>
1277
1278
1279 <p>For example, the dropdown <a href="Ext.view.BoundList.html" rel="Ext.view.BoundList" class="docClass">BoundList</a> of a ComboBox which is in a Window will have the Window as its
1280 <code>floatParent</code></p>
1281
1282
1283 <p>See <a href="Ext.window.MessageBox.html#floating" rel="Ext.window.MessageBox#floating" class="docClass">floating</a> and <a href="Ext.window.MessageBox.html#zIndexManager" rel="Ext.window.MessageBox#zIndexManager" class="docClass">zIndexManager</a></p>
1284
1285 </div></div></div><div id="property-frameSize" class="member inherited"><a href="Ext.window.MessageBox.html#property-frameSize" rel="property-frameSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-frameSize" class="viewSource">view source</a></div><a name="frameSize"></a><a name="property-frameSize"></a><a href="Ext.window.MessageBox.html#" rel="property-frameSize" class="cls expand">frameSize</a><span> : Object</span></div><div class="description"><div class="short">Read-only property indicating the width of any framing elements which were added within the encapsulating element
1286 to ...</div><div class="long"><p>Read-only property indicating the width of any framing elements which were added within the encapsulating element
1287 to provide graphical, rounded borders. See the <a href="Ext.window.MessageBox.html#frame" rel="Ext.window.MessageBox#frame" class="docClass">frame</a> config.</p>
1288
1289
1290 <p> This is an object containing the frame width in pixels for all four sides of the Component containing
1291 the following properties:</p>
1292
1293
1294 <div class="mdetail-params"><ul>
1295 <li><code>top</code> The width of the top framing element in pixels.</li>
1296 <li><code>right</code> The width of the right framing element in pixels.</li>
1297 <li><code>bottom</code> The width of the bottom framing element in pixels.</li>
1298 <li><code>left</code> The width of the left framing element in pixels.</li>
1299 </ul></div>
1300
1301 </div></div></div><div id="property-hasActiveFx" class="member inherited"><a href="Ext.window.MessageBox.html#property-hasActiveFx" rel="property-hasActiveFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-property-hasActiveFx" class="viewSource">view source</a></div><a name="hasActiveFx"></a><a name="property-hasActiveFx"></a><a href="Ext.window.MessageBox.html#" rel="property-hasActiveFx" class="cls expand">hasActiveFx</a><span> : Object</span></div><div class="description"><div class="short">@deprecated 4.0 Replaced by getActiveAnimation
1302 Returns thq current animation if this object has any effects actively ...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.window.MessageBox.html#getActiveAnimation" rel="Ext.window.MessageBox#getActiveAnimation" class="docClass">getActiveAnimation</a>
1303 Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1304 </div></div></div><div id="property-items" class="member inherited"><a href="Ext.window.MessageBox.html#property-items" rel="property-items" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-property-items" class="viewSource">view source</a></div><a name="items"></a><a name="property-items"></a><a href="Ext.window.MessageBox.html#" rel="property-items" class="cls expand">items</a><span> : Ext.util.MixedCollection</span></div><div class="description"><div class="short"><p>The MixedCollection containing all the child items of this container.</p>
1305 </div><div class="long"><p>The MixedCollection containing all the child items of this container.</p>
1306 </div></div></div><div id="property-maskOnDisable" class="member inherited"><a href="Ext.window.MessageBox.html#property-maskOnDisable" rel="property-maskOnDisable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-maskOnDisable" class="viewSource">view source</a></div><a name="maskOnDisable"></a><a name="property-maskOnDisable"></a><a href="Ext.window.MessageBox.html#" rel="property-maskOnDisable" class="cls expand">maskOnDisable</a><span> : Boolean</span></div><div class="description"><div class="short">This is an internal flag that you use when creating custom components.
1307 By default this is set to true which means tha...</div><div class="long"><p>This is an internal flag that you use when creating custom components.
1308 By default this is set to true which means that every component gets a mask when its disabled.
1309 Components like FieldContainer, FieldSet, Field, Button, Tab override this property to false
1310 since they want to implement custom disable logic.</p>
1311 </div></div></div><div id="property-minProgressWidth" class="member ni"><a href="Ext.window.MessageBox.html#property-minProgressWidth" rel="property-minProgressWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-minProgressWidth" class="viewSource">view source</a></div><a name="minProgressWidth"></a><a name="property-minProgressWidth"></a><a href="Ext.window.MessageBox.html#" rel="property-minProgressWidth" class="cls expand">minProgressWidth</a><span> : Number</span></div><div class="description"><div class="short">The minimum width in pixels of the message box if it is a progress-style dialog.  This is useful
1312 for setting a differ...</div><div class="long"><p>The minimum width in pixels of the message box if it is a progress-style dialog.  This is useful
1313 for setting a different minimum width than text-only dialogs may need (defaults to 250).</p>
1314 </div></div></div><div id="property-minPromptWidth" class="member ni"><a href="Ext.window.MessageBox.html#property-minPromptWidth" rel="property-minPromptWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-property-minPromptWidth" class="viewSource">view source</a></div><a name="minPromptWidth"></a><a name="property-minPromptWidth"></a><a href="Ext.window.MessageBox.html#" rel="property-minPromptWidth" class="cls expand">minPromptWidth</a><span> : Number</span></div><div class="description"><div class="short">The minimum width in pixels of the message box if it is a prompt dialog.  This is useful
1315 for setting a different mini...</div><div class="long"><p>The minimum width in pixels of the message box if it is a prompt dialog.  This is useful
1316 for setting a different minimum width than text-only dialogs may need (defaults to 250).</p>
1317 </div></div></div><div id="property-ownerCt" class="member inherited"><a href="Ext.window.MessageBox.html#property-ownerCt" rel="property-ownerCt" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-ownerCt" class="viewSource">view source</a></div><a name="ownerCt"></a><a name="property-ownerCt"></a><a href="Ext.window.MessageBox.html#" rel="property-ownerCt" class="cls expand">ownerCt</a><span> : Ext.Container</span></div><div class="description"><div class="short">This Component's owner Container (defaults to undefined, and is set automatically when
1318 this Component is added to a C...</div><div class="long"><p>This Component's owner <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a> (defaults to undefined, and is set automatically when
1319 this Component is added to a Container).  Read-only.</p>
1320
1321 <p><b>Note</b>: to access items within the Container see <tt><a href="Ext.window.MessageBox.html#itemId" rel="Ext.window.MessageBox#itemId" class="docClass">itemId</a></tt>.</p>
1322
1323 </div></div></div><div id="property-rendered" class="member inherited"><a href="Ext.window.MessageBox.html#property-rendered" rel="property-rendered" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-rendered" class="viewSource">view source</a></div><a name="rendered"></a><a name="property-rendered"></a><a href="Ext.window.MessageBox.html#" rel="property-rendered" class="cls expand">rendered</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only property indicating whether or not the component has been rendered.</p>
1324 </div><div class="long"><p>Read-only property indicating whether or not the component has been rendered.</p>
1325 </div></div></div><div id="property-stopFx" class="member inherited"><a href="Ext.window.MessageBox.html#property-stopFx" rel="property-stopFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-property-stopFx" class="viewSource">view source</a></div><a name="stopFx"></a><a name="property-stopFx"></a><a href="Ext.window.MessageBox.html#" rel="property-stopFx" class="cls expand">stopFx</a><span> : Object</span></div><div class="description"><div class="short">Stops any running effects and clears this object's internal effects queue if it contains
1326 any additional effects that ...</div><div class="long"><p>Stops any running effects and clears this object's internal effects queue if it contains
1327 any additional effects that haven't started yet.</p>
1328 </div></div></div><div id="property-zIndexManager" class="member inherited"><a href="Ext.window.MessageBox.html#property-zIndexManager" rel="property-zIndexManager" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-property-zIndexManager" class="viewSource">view source</a></div><a name="zIndexManager"></a><a name="property-zIndexManager"></a><a href="Ext.window.MessageBox.html#" rel="property-zIndexManager" class="cls expand">zIndexManager</a><span> : Ext.ZIndexManager</span></div><div class="description"><div class="short">Optional. Only present for floating Components after they have been rendered.
1329
1330
1331 A reference to the ZIndexManager whic...</div><div class="long"><p>Optional. Only present for <a href="Ext.window.MessageBox.html#floating" rel="Ext.window.MessageBox#floating" class="docClass">floating</a> Components after they have been rendered.</p>
1332
1333
1334 <p>A reference to the ZIndexManager which is managing this Component's z-index.</p>
1335
1336
1337 <p>The <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> maintains a stack of floating Component z-indices, and also provides a single modal
1338 mask which is insert just beneath the topmost visible modal floating Component.</p>
1339
1340
1341 <p>Floating Components may be <a href="Ext.window.MessageBox.html#toFront" rel="Ext.window.MessageBox#toFront" class="docClass">brought to the front</a> or <a href="Ext.window.MessageBox.html#toBack" rel="Ext.window.MessageBox#toBack" class="docClass">sent to the back</a> of the z-index stack.</p>
1342
1343
1344 <p>This defaults to the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> for floating Components that are programatically
1345 <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a>.</p>
1346
1347
1348 <p>For <a href="Ext.window.MessageBox.html#floating" rel="Ext.window.MessageBox#floating" class="docClass">floating</a> Components which are added to a Container, the ZIndexManager is acquired from the first ancestor Container found
1349 which is floating, or if not found the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> is used.</p>
1350
1351
1352 <p>See <a href="Ext.window.MessageBox.html#floating" rel="Ext.window.MessageBox#floating" class="docClass">floating</a> and <a href="Ext.window.MessageBox.html#floatParent" rel="Ext.window.MessageBox#floatParent" class="docClass">floatParent</a></p>
1353
1354 </div></div></div></div><div class="m-methods"><a name="methods"></a><div class="definedBy">Defined By</div><h3 class="mth p">Methods</h3><div id="method-MessageBox" class="member f inherited"><a href="Ext.window.MessageBox.html#method-MessageBox" rel="method-MessageBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-method-constructor" class="viewSource">view source</a></div><a name="MessageBox"></a><a name="method-MessageBox"></a><a href="Ext.window.MessageBox.html#" rel="method-MessageBox" class="cls expand">MessageBox</a>(
1355 <span class="pre">Object config</span>)
1356  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
1357 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The config object</p>
1358 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1359 </li></ul></div></div></div><div id="method-add" class="member inherited"><a href="Ext.window.MessageBox.html#method-add" rel="method-add" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-add" class="viewSource">view source</a></div><a name="add"></a><a name="method-add"></a><a href="Ext.window.MessageBox.html#" rel="method-add" class="cls expand">add</a>(
1360 <span class="pre">...Object/Array Component</span>)
1361  : Ext.Component/Array</div><div class="description"><div class="short">Adds Component(s) to this Container.
1362
1363 Description:
1364
1365
1366 Fires the beforeadd event before adding.
1367 The Container's default...</div><div class="long"><p>Adds <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a>(s) to this Container.</p>
1368
1369 <h2>Description:</h2>
1370
1371 <ul>
1372 <li>Fires the <a href="Ext.window.MessageBox.html#beforeadd" rel="Ext.window.MessageBox#beforeadd" class="docClass">beforeadd</a> event before adding.</li>
1373 <li>The Container's <a href="Ext.window.MessageBox.html#defaults" rel="Ext.window.MessageBox#defaults" class="docClass">default config values</a> will be applied
1374 accordingly (see <code><a href="Ext.window.MessageBox.html#defaults" rel="Ext.window.MessageBox#defaults" class="docClass">defaults</a></code> for details).</li>
1375 <li>Fires the <code><a href="Ext.window.MessageBox.html#add" rel="Ext.window.MessageBox#add" class="docClass">add</a></code> event after the component has been added.</li>
1376 </ul>
1377
1378
1379 <h2>Notes:</h2>
1380
1381 <p>If the Container is <strong>already rendered</strong> when <code>add</code>
1382 is called, it will render the newly added Component into its content area.</p>
1383
1384 <p><strong><strong>If</strong></strong> the Container was configured with a size-managing <a href="Ext.window.MessageBox.html#layout" rel="Ext.window.MessageBox#layout" class="docClass">layout</a> manager, the Container
1385 will recalculate its internal layout at this time too.</p>
1386
1387 <p>Note that the default layout manager simply renders child Components sequentially into the content area and thereafter performs no sizing.</p>
1388
1389 <p>If adding multiple new child Components, pass them as an array to the <code>add</code> method, so that only one layout recalculation is performed.</p>
1390
1391 <pre><code>tb = new <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Ext.toolbar.Toolbar</a>({
1392     renderTo: document.body
1393 });  // toolbar is rendered
1394 tb.add([{text:'Button 1'}, {text:'Button 2'}]); // add multiple items. (<a href="Ext.window.MessageBox.html#defaultType" rel="Ext.window.MessageBox#defaultType" class="docClass">defaultType</a> for <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Toolbar</a> is 'button')
1395 </code></pre>
1396
1397 <h2>Warning:##</h2>
1398
1399 <p>Components directly managed by the BorderLayout layout manager
1400 may not be removed or added.  See the Notes for <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">BorderLayout</a>
1401 for more details.</p>
1402 <h3 class="pa">Parameters</h3><ul><li><span class="pre">Component</span> : ...Object/Array<div class="sub-desc"><p>Either one or more Components to add or an Array of Components to add.
1403 See <code><a href="Ext.window.MessageBox.html#items" rel="Ext.window.MessageBox#items" class="docClass">items</a></code> for additional information.</p>
1404 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component/Array</span>&nbsp; &nbsp;<p>The Components that were added.</p>
1405 </li></ul></div></div></div><div id="method-addClass" class="member inherited"><a href="Ext.window.MessageBox.html#method-addClass" rel="method-addClass" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addClass" class="viewSource">view source</a></div><a name="addClass"></a><a name="method-addClass"></a><a href="Ext.window.MessageBox.html#" rel="method-addClass" class="cls expand">addClass</a>(
1406 <span class="pre">String cls</span>)
1407  : Ext.Component</div><div class="description"><div class="short"><p>@deprecated 4.0 Replaced by {link:#addCls}
1408 Adds a CSS class to the top level element representing this component.</p>
1409 </div><div class="long"><p>@deprecated 4.0 Replaced by {link:#addCls}
1410 Adds a CSS class to the top level element representing this component.</p>
1411 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The CSS class name to add</p>
1412 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
1413 </li></ul></div></div></div><div id="method-addCls" class="member inherited"><a href="Ext.window.MessageBox.html#method-addCls" rel="method-addCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addCls" class="viewSource">view source</a></div><a name="addCls"></a><a name="method-addCls"></a><a href="Ext.window.MessageBox.html#" rel="method-addCls" class="cls expand">addCls</a>(
1414 <span class="pre">String cls</span>)
1415  : Ext.Component</div><div class="description"><div class="short"><p>Adds a CSS class to the top level element representing this component.</p>
1416 </div><div class="long"><p>Adds a CSS class to the top level element representing this component.</p>
1417 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The CSS class name to add</p>
1418 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
1419 </li></ul></div></div></div><div id="method-addClsWithUI" class="member inherited"><a href="Ext.window.MessageBox.html#method-addClsWithUI" rel="method-addClsWithUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addClsWithUI" class="viewSource">view source</a></div><a name="addClsWithUI"></a><a name="method-addClsWithUI"></a><a href="Ext.window.MessageBox.html#" rel="method-addClsWithUI" class="cls expand">addClsWithUI</a>(
1420 <span class="pre">String/Array cls</span>)
1421  : void</div><div class="description"><div class="short"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.window.MessageBox.html#addUIClsToElement" rel="Ext.window.MessageBox#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1422 to all elements of this component.</p>
1423 </div><div class="long"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.window.MessageBox.html#addUIClsToElement" rel="Ext.window.MessageBox#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1424 to all elements of this component.</p>
1425 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String/Array<div class="sub-desc"><p>A string or an array of strings to add to the uiCls</p>
1426 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1427 </li></ul></div></div></div><div id="method-addDocked" class="member inherited"><a href="Ext.window.MessageBox.html#method-addDocked" rel="method-addDocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-addDocked" class="viewSource">view source</a></div><a name="addDocked"></a><a name="method-addDocked"></a><a href="Ext.window.MessageBox.html#" rel="method-addDocked" class="cls expand">addDocked</a>(
1428 <span class="pre">Object/Array component, [Number pos]</span>)
1429  : void</div><div class="description"><div class="short"><p>Adds docked item(s) to the panel.</p>
1430 </div><div class="long"><p>Adds docked item(s) to the panel.</p>
1431 <h3 class="pa">Parameters</h3><ul><li><span class="pre">component</span> : Object/Array<div class="sub-desc"><p>The Component or array of components to add. The components
1432 must include a 'dock' parameter on each component to indicate where it should be docked ('top', 'right',
1433 'bottom', 'left').</p>
1434 </div></li><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>(optional) The index at which the Component will be added</p>
1435 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1436 </li></ul></div></div></div><div id="method-addEvents" class="member inherited"><a href="Ext.window.MessageBox.html#method-addEvents" rel="method-addEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addEvents" class="viewSource">view source</a></div><a name="addEvents"></a><a name="method-addEvents"></a><a href="Ext.window.MessageBox.html#" rel="method-addEvents" class="cls expand">addEvents</a>(
1437 <span class="pre">Object/String o, String </span>)
1438  : void</div><div class="description"><div class="short"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1439 </div><div class="long"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1440 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Object/String<div class="sub-desc"><p>Either an object with event names as properties with a value of <code>true</code>
1441 or the first event name string if multiple event names are being passed as separate parameters.</p>
1442 </div></li><li><span class="pre"></span> : String<div class="sub-desc"><p>[additional] Optional additional event names if multiple event names are being passed as separate parameters.
1443 Usage:</p>
1444
1445 <pre><code>this.addEvents('storeloaded', 'storecleared');
1446 </code></pre>
1447
1448 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1449 </li></ul></div></div></div><div id="method-addListener" class="member inherited"><a href="Ext.window.MessageBox.html#method-addListener" rel="method-addListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addListener" class="viewSource">view source</a></div><a name="addListener"></a><a name="method-addListener"></a><a href="Ext.window.MessageBox.html#" rel="method-addListener" class="cls expand">addListener</a>(
1450 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
1451  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object.</p>
1452 </div><div class="long"><p>Appends an event handler to this object.</p>
1453 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to listen for. May also be an object who's property names are event names. See</p>
1454 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes.</p>
1455 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1456 <b>If omitted, defaults to the object which fired the event.</b></p>
1457 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.
1458 properties. This may contain any of the following properties:<ul>
1459 <li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1460 <b>If omitted, defaults to the object which fired the event.</b></div></li>
1461 <li><b>delay</b> : Number<div class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>
1462 <li><b>single</b> : Boolean<div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
1463 <li><b>buffer</b> : Number<div class="sub-desc">Causes the handler to be scheduled to run in an <a href="Ext.util.DelayedTask.html" rel="Ext.util.DelayedTask" class="docClass">Ext.util.DelayedTask</a> delayed
1464 by the specified number of milliseconds. If the event fires again within that time, the original
1465 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
1466 <li><b>target</b> : Observable<div class="sub-desc">Only call the handler if the event was fired on the target Observable, <i>not</i>
1467 if the event was bubbled up from a child Observable.</div></li>
1468 <li><b>element</b> : String<div class="sub-desc"><b>This option is only valid for listeners bound to <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a>.</b>
1469 The name of a Component property which references an element to add a listener to.</p>
1470
1471 <p>This option is useful during Component construction to add DOM event listeners to elements of <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a> which
1472 will exist only after the Component is rendered. For example, to add a click listener to a Panel's body:
1473 <pre><code>new Ext.panel.Panel({
1474     title: 'The title',
1475     listeners: {
1476         click: this.handlePanelClick,
1477         element: 'body'
1478     }
1479 });
1480 </code></pre></p>
1481
1482
1483 <p>When added in this way, the options available are the options applicable to <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">Ext.core.Element.addListener</a></p>
1484
1485
1486 <p></div></li>
1487 </ul><br></p>
1488
1489 <p>
1490 <b>Combining Options</b><br>
1491 Using the options argument, it is possible to combine different types of listeners:<br>
1492 <br>
1493 A delayed, one-time listener.
1494 <pre><code>myPanel.on('hide', this.handleClick, this, {
1495 single: true,
1496 delay: 100
1497 });</code></pre>
1498 <p>
1499 <b>Attaching multiple handlers in 1 call</b><br>
1500 The method also allows for a single argument to be passed which is a config object containing properties
1501 which specify multiple events. For example:
1502 <pre><code>myGridPanel.on({
1503     cellClick: this.onCellClick,
1504     mouseover: this.onMouseOver,
1505     mouseout: this.onMouseOut,
1506     scope: this // Important. Ensure "this" is correct during handler execution
1507 });
1508 </code></pre>.
1509 <p>
1510
1511 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1512 </li></ul></div></div></div><div id="method-addManagedListener" class="member inherited"><a href="Ext.window.MessageBox.html#method-addManagedListener" rel="method-addManagedListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addManagedListener" class="viewSource">view source</a></div><a name="addManagedListener"></a><a name="method-addManagedListener"></a><a href="Ext.window.MessageBox.html#" rel="method-addManagedListener" class="cls expand">addManagedListener</a>(
1513 <span class="pre">Observable/Element item, Object/String ename, Function fn, Object scope, Object opt</span>)
1514  : void</div><div class="description"><div class="short"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1515 is destroyed.
1516
1517 </div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1518 is destroyed.
1519
1520 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Observable/Element<div class="sub-desc"><p>The item to which to add a listener/listeners.</p>
1521 </div></li><li><span class="pre">ename</span> : Object/String<div class="sub-desc"><p>The event name, or an object containing event name properties.</p>
1522 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1523 is the handler function.</p>
1524 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1525 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
1526 </div></li><li><span class="pre">opt</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1527 is the <a href="Ext.util.Observable.html#addListener" rel="Ext.util.Observable#addListener" class="docClass">addListener</a> options.</p>
1528 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1529 </li></ul></div></div></div><div id="method-addStateEvents" class="member inherited"><a href="Ext.window.MessageBox.html#method-addStateEvents" rel="method-addStateEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-addStateEvents" class="viewSource">view source</a></div><a name="addStateEvents"></a><a name="method-addStateEvents"></a><a href="Ext.window.MessageBox.html#" rel="method-addStateEvents" class="cls expand">addStateEvents</a>(
1530 <span class="pre">String/Array events</span>)
1531  : void</div><div class="description"><div class="short"><p>Add events that will trigger the state to be saved.</p>
1532 </div><div class="long"><p>Add events that will trigger the state to be saved.</p>
1533 <h3 class="pa">Parameters</h3><ul><li><span class="pre">events</span> : String/Array<div class="sub-desc"><p>The event name or an array of event names.</p>
1534 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1535 </li></ul></div></div></div><div id="method-afterComponentLayout" class="member inherited"><a href="Ext.window.MessageBox.html#method-afterComponentLayout" rel="method-afterComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-afterComponentLayout" class="viewSource">view source</a></div><a name="afterComponentLayout"></a><a name="method-afterComponentLayout"></a><a href="Ext.window.MessageBox.html#" rel="method-afterComponentLayout" class="cls expand">afterComponentLayout</a>(
1536 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1537  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
1538 <h3 class="pa">Parameters</h3><ul><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
1539 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1540 </div></li><li><span class="pre">isSetSize</span> : Boolean<div class="sub-desc"><p>Whether or not the height/width are stored on the component permanently</p>
1541 </div></li><li><span class="pre">layoutOwner</span> : Ext.Component<div class="sub-desc"><p>Component which sent the layout. Only used when isSetSize is false.</p>
1542 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1543 </li></ul></div></div></div><div id="method-alert" class="member ni"><a href="Ext.window.MessageBox.html#method-alert" rel="method-alert" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-method-alert" class="viewSource">view source</a></div><a name="alert"></a><a name="method-alert"></a><a href="Ext.window.MessageBox.html#" rel="method-alert" class="cls expand">alert</a>(
1544 <span class="pre">String title, String msg, [Function fn], [Object scope]</span>)
1545  : Ext.window.MessageBox</div><div class="description"><div class="short">Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt).
1546 If a c...</div><div class="long"><p>Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt).
1547 If a callback function is passed it will be called after the user clicks the button, and the
1548 id of the button that was clicked will be passed as the only parameter to the callback
1549 (could also be the top-right close button).</p>
1550 <h3 class="pa">Parameters</h3><ul><li><span class="pre">title</span> : String<div class="sub-desc"><p>The title bar text</p>
1551 </div></li><li><span class="pre">msg</span> : String<div class="sub-desc"><p>The message box body text</p>
1552 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>(optional) The callback function invoked after the message box is closed</p>
1553 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to the browser wnidow.</p>
1554 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.MessageBox</span>&nbsp; &nbsp;<p>this</p>
1555 </li></ul></div></div></div><div id="method-alignTo" class="member inherited"><a href="Ext.window.MessageBox.html#method-alignTo" rel="method-alignTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-alignTo" class="viewSource">view source</a></div><a name="alignTo"></a><a name="method-alignTo"></a><a href="Ext.window.MessageBox.html#" rel="method-alignTo" class="cls expand">alignTo</a>(
1556 <span class="pre">Mixed element, String position, [Array offsets]</span>)
1557  : Component</div><div class="description"><div class="short"><p>Aligns this floating Component to the specified element</p>
1558 </div><div class="long"><p>Aligns this floating Component to the specified element</p>
1559 <h3 class="pa">Parameters</h3><ul><li><span class="pre">element</span> : Mixed<div class="sub-desc"><p>The element or <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> to align to. If passing a component, it must
1560 be a omponent instance. If a string id is passed, it will be used as an element id.</p>
1561 </div></li><li><span class="pre">position</span> : String<div class="sub-desc"><p>(optional, defaults to "tl-bl?") The position to align to (see <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a> for more details).</p>
1562 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
1563 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1564 </li></ul></div></div></div><div id="method-animate" class="member inherited"><a href="Ext.window.MessageBox.html#method-animate" rel="method-animate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-animate" class="viewSource">view source</a></div><a name="animate"></a><a name="method-animate"></a><a href="Ext.window.MessageBox.html#" rel="method-animate" class="cls expand">animate</a>(
1565 <span class="pre">Object config</span>)
1566  : Object</div><div class="description"><div class="short">Perform custom animation on this object.
1567 This method is applicable to both the the Component class and the Element cl...</div><div class="long"><p>Perform custom animation on this object.<p>
1568 <p>This method is applicable to both the the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a> class and the <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a> class.
1569 It performs animated transitions of certain properties of this object over a specified timeline.</p>
1570 <p>The sole parameter is an object which specifies start property values, end property values, and properties which
1571 describe the timeline. Of the properties listed below, only <b><code>to</code></b> is mandatory.</p>
1572 <p>Properties include<ul>
1573 <li><code>from</code> <div class="sub-desc">An object which specifies start values for the properties being animated.
1574 If not supplied, properties are animated from current settings. The actual properties which may be animated depend upon
1575 ths object being animated. See the sections below on Element and Component animation.<div></li>
1576 <li><code>to</code> <div class="sub-desc">An object which specifies end values for the properties being animated.</div></li>
1577 <li><code>duration</code><div class="sub-desc">The duration <b>in milliseconds</b> for which the animation will run.</div></li>
1578 <li><code>easing</code> <div class="sub-desc">A string value describing an easing type to modify the rate of change from the default linear to non-linear. Values may be one of:<code><ul>
1579 <li>ease</li>
1580 <li>easeIn</li>
1581 <li>easeOut</li>
1582 <li>easeInOut</li>
1583 <li>backIn</li>
1584 <li>backOut</li>
1585 <li>elasticIn</li>
1586 <li>elasticOut</li>
1587 <li>bounceIn</li>
1588 <li>bounceOut</li>
1589 </ul></code></div></li>
1590 <li><code>keyframes</code> <div class="sub-desc">This is an object which describes the state of animated properties at certain points along the timeline.
1591 it is an object containing properties who's names are the percentage along the timeline being described and who's values specify the animation state at that point.</div></li>
1592 <li><code>listeners</code> <div class="sub-desc">This is a standard <a href="Ext.util.Observable.html#listeners" rel="Ext.util.Observable#listeners" class="docClass">listeners</a> configuration object which may be used
1593 to inject behaviour at either the <code>beforeanimate</code> event or the <code>afteranimate</code> event.</div></li>
1594 </ul></p>
1595 <h3>Animating an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a></h3>
1596 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1597 <li><code>x</code> <div class="sub-desc">The page X position in pixels.</div></li>
1598 <li><code>y</code> <div class="sub-desc">The page Y position in pixels</div></li>
1599 <li><code>left</code> <div class="sub-desc">The element's CSS <code>left</code> value. Units must be supplied.</div></li>
1600 <li><code>top</code> <div class="sub-desc">The element's CSS <code>top</code> value. Units must be supplied.</div></li>
1601 <li><code>width</code> <div class="sub-desc">The element's CSS <code>width</code> value. Units must be supplied.</div></li>
1602 <li><code>height</code> <div class="sub-desc">The element's CSS <code>height</code> value. Units must be supplied.</div></li>
1603 <li><code>scrollLeft</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1604 <li><code>scrollTop</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1605 <li><code>opacity</code> <div class="sub-desc">The element's <code>opacity</code> value. This must be a value between <code>0</code> and <code>1</code>.</div></li>
1606 </ul>
1607 <p><b>Be aware than animating an Element which is being used by an <a href="Ext.html" rel="Ext" class="docClass">Ext</a> Component without in some way informing the Component about the changed element state
1608 will result in incorrect Component behaviour. This is because the Component will be using the old state of the element. To avoid this problem, it is now possible to
1609 directly animate certain properties of Components.</b></p>
1610 <h3>Animating a <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></h3>
1611 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1612 <li><code>x</code> <div class="sub-desc">The Component's page X position in pixels.</div></li>
1613 <li><code>y</code> <div class="sub-desc">The Component's page Y position in pixels</div></li>
1614 <li><code>left</code> <div class="sub-desc">The Component's <code>left</code> value in pixels.</div></li>
1615 <li><code>top</code> <div class="sub-desc">The Component's <code>top</code> value in pixels.</div></li>
1616 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1617 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1618 <li><code>dynamic</code> <div class="sub-desc">Specify as true to update the Component's layout (if it is a Container) at every frame
1619 of the animation. <i>Use sparingly as laying out on every intermediate size change is an expensive operation</i>.</div></li>
1620 </ul>
1621 <p>For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:</p>
1622 <pre><code>myWindow = Ext.create('Ext.window.Window', {
1623     title: 'Test Component animation',
1624     width: 500,
1625     height: 300,
1626     layout: {
1627         type: 'hbox',
1628         align: 'stretch'
1629     },
1630     items: [{
1631         title: 'Left: 33%',
1632         margins: '5 0 5 5',
1633         flex: 1
1634     }, {
1635         title: 'Left: 66%',
1636         margins: '5 5 5 5',
1637         flex: 2
1638     }]
1639 });
1640 myWindow.show();
1641 myWindow.header.el.on('click', function() {
1642     myWindow.animate({
1643         to: {
1644             width: (myWindow.getWidth() == 500) ? 700 : 500,
1645             height: (myWindow.getHeight() == 300) ? 400 : 300,
1646         }
1647     });
1648 });
1649 </code></pre>
1650 <p>For performance reasons, by default, the internal layout is only updated when the Window reaches its final <code>"to"</code> size. If dynamic updating of the Window's child
1651 Components is required, then configure the animation with <code>dynamic: true</code> and the two child items will maintain their proportions during the animation.</p>
1652
1653 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>An object containing properties which describe the animation's start and end states, and the timeline of the animation.</p>
1654 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>this</p>
1655 </li></ul></div></div></div><div id="method-applyState" class="member inherited"><a href="Ext.window.MessageBox.html#method-applyState" rel="method-applyState" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-applyState" class="viewSource">view source</a></div><a name="applyState"></a><a name="method-applyState"></a><a href="Ext.window.MessageBox.html#" rel="method-applyState" class="cls expand">applyState</a>(
1656 <span class="pre">Object state</span>)
1657  : void</div><div class="description"><div class="short">Applies the state to the object. This should be overridden in subclasses to do
1658 more complex state operations. By defa...</div><div class="long"><p>Applies the state to the object. This should be overridden in subclasses to do
1659 more complex state operations. By default it applies the state properties onto
1660 the current object.</p>
1661 <h3 class="pa">Parameters</h3><ul><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The state</p>
1662 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1663 </li></ul></div></div></div><div id="method-beforeComponentLayout" class="member inherited"><a href="Ext.window.MessageBox.html#method-beforeComponentLayout" rel="method-beforeComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-beforeComponentLayout" class="viewSource">view source</a></div><a name="beforeComponentLayout"></a><a name="method-beforeComponentLayout"></a><a href="Ext.window.MessageBox.html#" rel="method-beforeComponentLayout" class="cls expand">beforeComponentLayout</a>(
1664 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1665  : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1666 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1667 from being executed.</p>
1668 <h3 class="pa">Parameters</h3><ul><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
1669 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1670 </div></li><li><span class="pre">isSetSize</span> : Boolean<div class="sub-desc"><p>Whether or not the height/width are stored on the component permanently</p>
1671 </div></li><li><span class="pre">layoutOwner</span> : Ext.Component<div class="sub-desc"><p>Component which sent the layout. Only used when isSetSize is false.</p>
1672 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1673 </li></ul></div></div></div><div id="method-beforeLayout" class="member inherited"><a href="Ext.window.MessageBox.html#method-beforeLayout" rel="method-beforeLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-beforeLayout" class="viewSource">view source</a></div><a name="beforeLayout"></a><a name="method-beforeLayout"></a><a href="Ext.window.MessageBox.html#" rel="method-beforeLayout" class="cls expand">beforeLayout</a> : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the containerLayout
1674 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the containerLayout
1675 from being executed.</p>
1676 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1677 </li></ul></div></div></div><div id="method-bubble" class="member inherited"><a href="Ext.window.MessageBox.html#method-bubble" rel="method-bubble" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-bubble" class="viewSource">view source</a></div><a name="bubble"></a><a name="method-bubble"></a><a href="Ext.window.MessageBox.html#" rel="method-bubble" class="cls expand">bubble</a>(
1678 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1679  : Ext.Component</div><div class="description"><div class="short">Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of...</div><div class="long"><p>Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (<i>this</i>) of
1680 function call will be the scope provided or the current component. The arguments to the function
1681 will be the args provided or the current component. If the function returns false at any point,
1682 the bubble is stopped.</p>
1683 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1684 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope of the function (defaults to current node)</p>
1685 </div></li><li><span class="pre">args</span> : Array<div class="sub-desc"><p>(optional) The args to call the function with (default to passing the current component)</p>
1686 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1687 </li></ul></div></div></div><div id="method-capture" class="member inherited"><a href="Ext.window.MessageBox.html#method-capture" rel="method-capture" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-capture" class="viewSource">view source</a></div><a name="capture"></a><a name="method-capture"></a><a href="Ext.window.MessageBox.html#" rel="method-capture" class="cls expand">capture</a>(
1688 <span class="pre">Observable o, Function fn, [Object scope]</span>)
1689  : void</div><div class="description"><div class="short">Starts capture on the specified Observable. All events will be passed
1690 to the supplied function with the event name + ...</div><div class="long"><p>Starts capture on the specified Observable. All events will be passed
1691 to the supplied function with the event name + standard signature of the event
1692 <b>before</b> the event is fired. If the supplied function returns false,
1693 the event will not fire.</p>
1694 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to capture events from.</p>
1695 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call when an event is fired.</p>
1696 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.</p>
1697 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1698 </li></ul></div></div></div><div id="method-cascade" class="member inherited"><a href="Ext.window.MessageBox.html#method-cascade" rel="method-cascade" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-cascade" class="viewSource">view source</a></div><a name="cascade"></a><a name="method-cascade"></a><a href="Ext.window.MessageBox.html#" rel="method-cascade" class="cls expand">cascade</a>(
1699 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1700  : Ext.Container</div><div class="description"><div class="short">Cascades down the component/container heirarchy from this component (passed in the first call), calling the specified...</div><div class="long"><p>Cascades down the component/container heirarchy from this component (passed in the first call), calling the specified function with
1701 each component. The scope (<code>this</code> reference) of the
1702 function call will be the scope provided or the current component. The arguments to the function
1703 will be the args provided or the current component. If the function returns false at any point,
1704 the cascade is stopped on that branch.</p>
1705 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1706 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope of the function (defaults to current component)</p>
1707 </div></li><li><span class="pre">args</span> : Array<div class="sub-desc"><p>(optional) The args to call the function with. The current component always passed as the last argument.</p>
1708 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Container</span>&nbsp; &nbsp;<p>this</p>
1709 </li></ul></div></div></div><div id="method-center" class="member inherited"><a href="Ext.window.MessageBox.html#method-center" rel="method-center" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-center" class="viewSource">view source</a></div><a name="center"></a><a name="method-center"></a><a href="Ext.window.MessageBox.html#" rel="method-center" class="cls expand">center</a> : Component</div><div class="description"><div class="short"><p>Center this Component in its container.</p>
1710 </div><div class="long"><p>Center this Component in its container.</p>
1711 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1712 </li></ul></div></div></div><div id="method-child" class="member inherited"><a href="Ext.window.MessageBox.html#method-child" rel="method-child" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-child" class="viewSource">view source</a></div><a name="child"></a><a name="method-child"></a><a href="Ext.window.MessageBox.html#" rel="method-child" class="cls expand">child</a>(
1713 <span class="pre">String selector</span>)
1714  : void</div><div class="description"><div class="short">Retrieves the first direct child of this container which matches the passed selector.
1715 The passed in selector must com...</div><div class="long"><p>Retrieves the first direct child of this container which matches the passed selector.
1716 The passed in selector must comply with an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector.</p>
1717 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>An <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector</p>
1718 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component</p>
1719 </li></ul></div></div></div><div id="method-clearListeners" class="member inherited"><a href="Ext.window.MessageBox.html#method-clearListeners" rel="method-clearListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-clearListeners" class="viewSource">view source</a></div><a name="clearListeners"></a><a name="method-clearListeners"></a><a href="Ext.window.MessageBox.html#" rel="method-clearListeners" class="cls expand">clearListeners</a> : void</div><div class="description"><div class="short"><p>Removes all listeners for this object including the managed listeners</p>
1720 </div><div class="long"><p>Removes all listeners for this object including the managed listeners</p>
1721 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1722 </li></ul></div></div></div><div id="method-clearManagedListeners" class="member inherited"><a href="Ext.window.MessageBox.html#method-clearManagedListeners" rel="method-clearManagedListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-clearManagedListeners" class="viewSource">view source</a></div><a name="clearManagedListeners"></a><a name="method-clearManagedListeners"></a><a href="Ext.window.MessageBox.html#" rel="method-clearManagedListeners" class="cls expand">clearManagedListeners</a> : void</div><div class="description"><div class="short"><p>Removes all managed listeners for this object.</p>
1723 </div><div class="long"><p>Removes all managed listeners for this object.</p>
1724 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1725 </li></ul></div></div></div><div id="method-cloneConfig" class="member inherited"><a href="Ext.window.MessageBox.html#method-cloneConfig" rel="method-cloneConfig" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-cloneConfig" class="viewSource">view source</a></div><a name="cloneConfig"></a><a name="method-cloneConfig"></a><a href="Ext.window.MessageBox.html#" rel="method-cloneConfig" class="cls expand">cloneConfig</a>(
1726 <span class="pre">Object overrides</span>)
1727  : Ext.Component</div><div class="description"><div class="short"><p>Clone the current component using the original config values passed into this instance by default.</p>
1728 </div><div class="long"><p>Clone the current component using the original config values passed into this instance by default.</p>
1729 <h3 class="pa">Parameters</h3><ul><li><span class="pre">overrides</span> : Object<div class="sub-desc"><p>A new config containing any properties to override in the cloned version.
1730 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</p>
1731 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>clone The cloned copy of this component</p>
1732 </li></ul></div></div></div><div id="method-close" class="member inherited"><a href="Ext.window.MessageBox.html#method-close" rel="method-close" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-close" class="viewSource">view source</a></div><a name="close"></a><a name="method-close"></a><a href="Ext.window.MessageBox.html#" rel="method-close" class="cls expand">close</a> : void</div><div class="description"><div class="short">Closes the Panel. By default, this method, removes it from the DOM, destroys
1733 the Panel object and all its descendant ...</div><div class="long"><p>Closes the Panel. By default, this method, removes it from the DOM, <a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">destroy</a>s
1734 the Panel object and all its descendant Components. The <a href="Ext.window.MessageBox.html#beforeclose" rel="Ext.window.MessageBox#beforeclose" class="docClass">beforeclose</a>
1735 event is fired before the close happens and will cancel the close action if it returns false.<p>
1736 <p><b>Note:</b> This method is not affected by the <a href="Ext.window.MessageBox.html#closeAction" rel="Ext.window.MessageBox#closeAction" class="docClass">closeAction</a> setting which
1737 only affects the action triggered when clicking the <a href="Ext.window.MessageBox.html#closable" rel="Ext.window.MessageBox#closable" class="docClass">'close' tool in the header</a>.
1738 To hide the Panel without destroying it, call <a href="Ext.window.MessageBox.html#hide" rel="Ext.window.MessageBox#hide" class="docClass">hide</a>.</p>
1739
1740 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1741 </li></ul></div></div></div><div id="method-collapse" class="member inherited"><a href="Ext.window.MessageBox.html#method-collapse" rel="method-collapse" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-collapse" class="viewSource">view source</a></div><a name="collapse"></a><a name="method-collapse"></a><a href="Ext.window.MessageBox.html#" rel="method-collapse" class="cls expand">collapse</a>(
1742 <span class="pre">Number direction, Boolean animate, Object internal</span>)
1743  : Ext.panel.Panel</div><div class="description"><div class="short">Collapses the panel body so that the body becomes hidden. Docked Components parallel to the
1744 border towards which the ...</div><div class="long"><p>Collapses the panel body so that the body becomes hidden. Docked Components parallel to the
1745 border towards which the collapse takes place will remain visible.  Fires the <a href="Ext.window.MessageBox.html#beforecollapse" rel="Ext.window.MessageBox#beforecollapse" class="docClass">beforecollapse</a> event which will
1746 cancel the collapse action if it returns false.</p>
1747 <h3 class="pa">Parameters</h3><ul><li><span class="pre">direction</span> : Number<div class="sub-desc"><p>. The direction to collapse towards. Must be one of<ul>
1748 <li>Ext.Component.DIRECTION_TOP</li>
1749 <li>Ext.Component.DIRECTION_RIGHT</li>
1750 <li>Ext.Component.DIRECTION_BOTTOM</li>
1751 <li>Ext.Component.DIRECTION_LEFT</li></ul></p>
1752 </div></li><li><span class="pre">animate</span> : Boolean<div class="sub-desc"><p>True to animate the transition, else false (defaults to the value of the
1753 <a href="Ext.window.MessageBox.html#animCollapse" rel="Ext.window.MessageBox#animCollapse" class="docClass">animCollapse</a> panel config)</p>
1754 </div></li><li><span class="pre">internal</span> : Object<div class="sub-desc">
1755 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.panel.Panel</span>&nbsp; &nbsp;<p>this</p>
1756 </li></ul></div></div></div><div id="method-confirm" class="member ni"><a href="Ext.window.MessageBox.html#method-confirm" rel="method-confirm" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-method-confirm" class="viewSource">view source</a></div><a name="confirm"></a><a name="method-confirm"></a><a href="Ext.window.MessageBox.html#" rel="method-confirm" class="cls expand">confirm</a>(
1757 <span class="pre">String title, String msg, [Function fn], [Object scope]</span>)
1758  : Ext.window.MessageBox</div><div class="description"><div class="short">Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm).
1759 If a callback funct...</div><div class="long"><p>Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm).
1760 If a callback function is passed it will be called after the user clicks either button,
1761 and the id of the button that was clicked will be passed as the only parameter to the callback
1762 (could also be the top-right close button).</p>
1763 <h3 class="pa">Parameters</h3><ul><li><span class="pre">title</span> : String<div class="sub-desc"><p>The title bar text</p>
1764 </div></li><li><span class="pre">msg</span> : String<div class="sub-desc"><p>The message box body text</p>
1765 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>(optional) The callback function invoked after the message box is closed</p>
1766 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to the browser wnidow.</p>
1767 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.MessageBox</span>&nbsp; &nbsp;<p>this</p>
1768 </li></ul></div></div></div><div id="method-destroy" class="member inherited"><a href="Ext.window.MessageBox.html#method-destroy" rel="method-destroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-destroy" class="viewSource">view source</a></div><a name="destroy"></a><a name="method-destroy"></a><a href="Ext.window.MessageBox.html#" rel="method-destroy" class="cls expand">destroy</a> : void</div><div class="description"><div class="short"><p>Destroys this stateful object.</p>
1769 </div><div class="long"><p>Destroys this stateful object.</p>
1770 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1771 </li></ul></div></div></div><div id="method-disable" class="member inherited"><a href="Ext.window.MessageBox.html#method-disable" rel="method-disable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-disable" class="viewSource">view source</a></div><a name="disable"></a><a name="method-disable"></a><a href="Ext.window.MessageBox.html#" rel="method-disable" class="cls expand">disable</a>(
1772 <span class="pre">Boolean silent</span>)
1773  : void</div><div class="description"><div class="short"><p>Disable the component.</p>
1774 </div><div class="long"><p>Disable the component.</p>
1775 <h3 class="pa">Parameters</h3><ul><li><span class="pre">silent</span> : Boolean<div class="sub-desc"><p>Passing true, will supress the 'disable' event from being fired.</p>
1776 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1777 </li></ul></div></div></div><div id="method-doAutoRender" class="member inherited"><a href="Ext.window.MessageBox.html#method-doAutoRender" rel="method-doAutoRender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-doAutoRender" class="viewSource">view source</a></div><a name="doAutoRender"></a><a name="method-doAutoRender"></a><a href="Ext.window.MessageBox.html#" rel="method-doAutoRender" class="cls expand">doAutoRender</a> : void</div><div class="description"><div class="short">Handles autoRender.
1778 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them wit...</div><div class="long"><p>Handles autoRender.
1779 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them within that
1780 ownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body</p>
1781 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1782 </li></ul></div></div></div><div id="method-doComponentLayout" class="member inherited"><a href="Ext.window.MessageBox.html#method-doComponentLayout" rel="method-doComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-doComponentLayout" class="viewSource">view source</a></div><a name="doComponentLayout"></a><a name="method-doComponentLayout"></a><a href="Ext.window.MessageBox.html#" rel="method-doComponentLayout" class="cls expand">doComponentLayout</a>(
1783 <span class="pre">Object width, Object height, Object isSetSize, Object ownerCt</span>)
1784  : Ext.container.Container</div><div class="description"><div class="short">This method needs to be called whenever you change something on this component that requires the Component's
1785 layout t...</div><div class="long"><p>This method needs to be called whenever you change something on this component that requires the Component's
1786 layout to be recalculated.</p>
1787 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Object<div class="sub-desc">
1788 </div></li><li><span class="pre">height</span> : Object<div class="sub-desc">
1789 </div></li><li><span class="pre">isSetSize</span> : Object<div class="sub-desc">
1790 </div></li><li><span class="pre">ownerCt</span> : Object<div class="sub-desc">
1791 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1792 </li></ul></div></div></div><div id="method-doConstrain" class="member inherited"><a href="Ext.window.MessageBox.html#method-doConstrain" rel="method-doConstrain" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-doConstrain" class="viewSource">view source</a></div><a name="doConstrain"></a><a name="method-doConstrain"></a><a href="Ext.window.MessageBox.html#" rel="method-doConstrain" class="cls expand">doConstrain</a>(
1793 <span class="pre">Mixed constrainTo</span>)
1794  : void</div><div class="description"><div class="short">Moves this floating Component into a constrain region.
1795
1796
1797 By default, this Component is constrained to be within the c...</div><div class="long"><p>Moves this floating Component into a constrain region.</p>
1798
1799
1800 <p>By default, this Component is constrained to be within the container it was added to, or the element
1801 it was rendered to.</p>
1802
1803
1804 <p>An alternative constraint may be passed.</p>
1805
1806 <h3 class="pa">Parameters</h3><ul><li><span class="pre">constrainTo</span> : Mixed<div class="sub-desc"><p>Optional. The Element or <a href="Ext.util.Region.html" rel="Ext.util.Region" class="docClass">Region</a> into which this Component is to be constrained.</p>
1807 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1808 </li></ul></div></div></div><div id="method-doLayout" class="member inherited"><a href="Ext.window.MessageBox.html#method-doLayout" rel="method-doLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-doLayout" class="viewSource">view source</a></div><a name="doLayout"></a><a name="method-doLayout"></a><a href="Ext.window.MessageBox.html#" rel="method-doLayout" class="cls expand">doLayout</a> : Ext.container.Container</div><div class="description"><div class="short">Manually force this container's layout to be recalculated.  The framwork uses this internally to refresh layouts
1809 form...</div><div class="long"><p>Manually force this container's layout to be recalculated.  The framwork uses this internally to refresh layouts
1810 form most cases.</p>
1811 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1812 </li></ul></div></div></div><div id="method-down" class="member inherited"><a href="Ext.window.MessageBox.html#method-down" rel="method-down" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-down" class="viewSource">view source</a></div><a name="down"></a><a name="method-down"></a><a href="Ext.window.MessageBox.html#" rel="method-down" class="cls expand">down</a>(
1813 <span class="pre">String selector</span>)
1814  : void</div><div class="description"><div class="short">Retrieves the first descendant of this container which matches the passed selector.
1815 The passed in selector must compl...</div><div class="long"><p>Retrieves the first descendant of this container which matches the passed selector.
1816 The passed in selector must comply with an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector.</p>
1817 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>An <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector</p>
1818 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component</p>
1819 </li></ul></div></div></div><div id="method-enable" class="member inherited"><a href="Ext.window.MessageBox.html#method-enable" rel="method-enable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-enable" class="viewSource">view source</a></div><a name="enable"></a><a name="method-enable"></a><a href="Ext.window.MessageBox.html#" rel="method-enable" class="cls expand">enable</a>(
1820 <span class="pre">Boolean silent</span>)
1821  : void</div><div class="description"><div class="short"><p>Enable the component</p>
1822 </div><div class="long"><p>Enable the component</p>
1823 <h3 class="pa">Parameters</h3><ul><li><span class="pre">silent</span> : Boolean<div class="sub-desc"><p>Passing false will supress the 'enable' event from being fired.</p>
1824 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1825 </li></ul></div></div></div><div id="method-enableBubble" class="member inherited"><a href="Ext.window.MessageBox.html#method-enableBubble" rel="method-enableBubble" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-enableBubble" class="viewSource">view source</a></div><a name="enableBubble"></a><a name="method-enableBubble"></a><a href="Ext.window.MessageBox.html#" rel="method-enableBubble" class="cls expand">enableBubble</a>(
1826 <span class="pre">String/Array events</span>)
1827  : void</div><div class="description"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
1828 this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
1829 <code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
1830
1831
1832 <p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href="Ext.Component.html#getBubbleTarget" rel="Ext.Component#getBubbleTarget" class="docClass">Ext.Component.getBubbleTarget</a>. The default
1833 implementation in <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> returns the Component's immediate owner. But if a known target is required, this can be overridden to
1834 access the required target more quickly.</p>
1835
1836
1837 <p>Example:</p>
1838
1839
1840 <pre><code>Ext.override(Ext.form.field.Base, {
1841 //  Add functionality to Field&#39;s initComponent to enable the change event to bubble
1842 initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {
1843     this.enableBubble('change');
1844 }),
1845
1846 //  We know that we want Field&#39;s events to bubble directly to the FormPanel.
1847 getBubbleTarget : function() {
1848     if (!this.formPanel) {
1849         this.formPanel = this.findParentByType('form');
1850     }
1851     return this.formPanel;
1852 }
1853 });
1854
1855 var myForm = new Ext.formPanel({
1856 title: 'User Details',
1857 items: [{
1858     ...
1859 }],
1860 listeners: {
1861     change: function() {
1862         // Title goes red if form has been modified.
1863         myForm.header.setStyle('color', 'red');
1864     }
1865 }
1866 });
1867 </code></pre>
1868
1869 <h3 class="pa">Parameters</h3><ul><li><span class="pre">events</span> : String/Array<div class="sub-desc"><p>The event name to bubble, or an Array of event names.</p>
1870 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1871 </li></ul></div></div></div><div id="method-expand" class="member inherited"><a href="Ext.window.MessageBox.html#method-expand" rel="method-expand" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-expand" class="viewSource">view source</a></div><a name="expand"></a><a name="method-expand"></a><a href="Ext.window.MessageBox.html#" rel="method-expand" class="cls expand">expand</a>(
1872 <span class="pre">Boolean animate</span>)
1873  : Ext.panel.Panel</div><div class="description"><div class="short">Expands the panel body so that it becomes visible.  Fires the beforeexpand event which will
1874 cancel the expand action ...</div><div class="long"><p>Expands the panel body so that it becomes visible.  Fires the <a href="Ext.window.MessageBox.html#beforeexpand" rel="Ext.window.MessageBox#beforeexpand" class="docClass">beforeexpand</a> event which will
1875 cancel the expand action if it returns false.</p>
1876 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animate</span> : Boolean<div class="sub-desc"><p>True to animate the transition, else false (defaults to the value of the
1877 <a href="Ext.window.MessageBox.html#animCollapse" rel="Ext.window.MessageBox#animCollapse" class="docClass">animCollapse</a> panel config)</p>
1878 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.panel.Panel</span>&nbsp; &nbsp;<p>this</p>
1879 </li></ul></div></div></div><div id="method-findLayoutController" class="member inherited"><a href="Ext.window.MessageBox.html#method-findLayoutController" rel="method-findLayoutController" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-findLayoutController" class="viewSource">view source</a></div><a name="findLayoutController"></a><a name="method-findLayoutController"></a><a href="Ext.window.MessageBox.html#" rel="method-findLayoutController" class="cls expand">findLayoutController</a> : void</div><div class="description"><div class="short">This method finds the topmost active layout who's processing will eventually determine the size and position of this
1880 ...</div><div class="long"><p>This method finds the topmost active layout who's processing will eventually determine the size and position of this
1881 Component.<p>
1882 <p>This method is useful when dynamically adding Components into Containers, and some processing must take place after the
1883 final sizing and positioning of the Component has been performed.</p>
1884
1885 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1886 </li></ul></div></div></div><div id="method-findParentBy" class="member inherited"><a href="Ext.window.MessageBox.html#method-findParentBy" rel="method-findParentBy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-findParentBy" class="viewSource">view source</a></div><a name="findParentBy"></a><a name="method-findParentBy"></a><a href="Ext.window.MessageBox.html#" rel="method-findParentBy" class="cls expand">findParentBy</a>(
1887 <span class="pre">Function fn</span>)
1888  : Ext.container.Container</div><div class="description"><div class="short">Find a container above this component at any level by a custom function. If the passed function returns
1889 true, the con...</div><div class="long"><p>Find a container above this component at any level by a custom function. If the passed function returns
1890 true, the container will be returned.</p>
1891 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The custom function to call with the arguments (container, this component).</p>
1892 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>The first Container for which the custom function returns true</p>
1893 </li></ul></div></div></div><div id="method-findParentByType" class="member inherited"><a href="Ext.window.MessageBox.html#method-findParentByType" rel="method-findParentByType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-findParentByType" class="viewSource">view source</a></div><a name="findParentByType"></a><a name="method-findParentByType"></a><a href="Ext.window.MessageBox.html#" rel="method-findParentByType" class="cls expand">findParentByType</a>(
1894 <span class="pre">String/Class xtype</span>)
1895  : Ext.container.Container</div><div class="description"><div class="short"><p>Find a container above this component at any level by xtype or class</p>
1896
1897
1898 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1899
1900 </div><div class="long"><p>Find a container above this component at any level by xtype or class</p>
1901
1902
1903 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1904
1905 <h3 class="pa">Parameters</h3><ul><li><span class="pre">xtype</span> : String/Class<div class="sub-desc"><p>The xtype string for a component, or the class of the component directly</p>
1906 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>The first Container which matches the given xtype or class</p>
1907 </li></ul></div></div></div><div id="method-fireEvent" class="member inherited"><a href="Ext.window.MessageBox.html#method-fireEvent" rel="method-fireEvent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-fireEvent" class="viewSource">view source</a></div><a name="fireEvent"></a><a name="method-fireEvent"></a><a href="Ext.window.MessageBox.html#" rel="method-fireEvent" class="cls expand">fireEvent</a>(
1908 <span class="pre">String eventName, Object... args</span>)
1909  : Boolean</div><div class="description"><div class="short">Fires the specified event with the passed parameters (minus the event name).
1910
1911
1912 An event may be set to bubble up an Ob...</div><div class="long"><p>Fires the specified event with the passed parameters (minus the event name).</p>
1913
1914
1915 <p>An event may be set to bubble up an Observable parent hierarchy (See <a href="Ext.Component.html#getBubbleTarget" rel="Ext.Component#getBubbleTarget" class="docClass">Ext.Component.getBubbleTarget</a>)
1916 by calling <a href="Ext.window.MessageBox.html#enableBubble" rel="Ext.window.MessageBox#enableBubble" class="docClass">enableBubble</a>.</p>
1917
1918 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to fire.</p>
1919 </div></li><li><span class="pre">args</span> : Object...<div class="sub-desc"><p>Variable number of parameters are passed to handlers.</p>
1920 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>returns false if any of the handlers return false otherwise it returns true.</p>
1921 </li></ul></div></div></div><div id="method-focus" class="member inherited"><a href="Ext.window.MessageBox.html#method-focus" rel="method-focus" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-focus" class="viewSource">view source</a></div><a name="focus"></a><a name="method-focus"></a><a href="Ext.window.MessageBox.html#" rel="method-focus" class="cls expand">focus</a>(
1922 <span class="pre">[Boolean selectText], [Boolean/Number delay]</span>)
1923  : Ext.Component</div><div class="description"><div class="short"><p>Try to focus this component.</p>
1924 </div><div class="long"><p>Try to focus this component.</p>
1925 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selectText</span> : Boolean<div class="sub-desc"><p>(optional) If applicable, true to also select the text in this component</p>
1926 </div></li><li><span class="pre">delay</span> : Boolean/Number<div class="sub-desc"><p>(optional) Delay the focus this number of milliseconds (true for 10 milliseconds).</p>
1927 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1928 </li></ul></div></div></div><div id="method-getActiveAnimation" class="member inherited"><a href="Ext.window.MessageBox.html#method-getActiveAnimation" rel="method-getActiveAnimation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-getActiveAnimation" class="viewSource">view source</a></div><a name="getActiveAnimation"></a><a name="method-getActiveAnimation"></a><a href="Ext.window.MessageBox.html#" rel="method-getActiveAnimation" class="cls expand">getActiveAnimation</a> : Mixed</div><div class="description"><div class="short"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1929 </div><div class="long"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1930 <h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>anim if element has active effects, else false</p>
1931 </li></ul></div></div></div><div id="method-getBox" class="member inherited"><a href="Ext.window.MessageBox.html#method-getBox" rel="method-getBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getBox" class="viewSource">view source</a></div><a name="getBox"></a><a name="method-getBox"></a><a href="Ext.window.MessageBox.html#" rel="method-getBox" class="cls expand">getBox</a>(
1932 <span class="pre">[Boolean local]</span>)
1933  : Object</div><div class="description"><div class="short"><p>Gets the current box measurements of the component's underlying element.</p>
1934 </div><div class="long"><p>Gets the current box measurements of the component's underlying element.</p>
1935 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</p>
1936 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>box An object in the format {x, y, width, height}</p>
1937 </li></ul></div></div></div><div id="method-getBubbleTarget" class="member inherited"><a href="Ext.window.MessageBox.html#method-getBubbleTarget" rel="method-getBubbleTarget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getBubbleTarget" class="viewSource">view source</a></div><a name="getBubbleTarget"></a><a name="method-getBubbleTarget"></a><a href="Ext.window.MessageBox.html#" rel="method-getBubbleTarget" class="cls expand">getBubbleTarget</a> : Ext.container.Container</div><div class="description"><div class="short"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1938 </div><div class="long"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1939 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>the Container which owns this Component.</p>
1940 </li></ul></div></div></div><div id="method-getChildByElement" class="member inherited"><a href="Ext.window.MessageBox.html#method-getChildByElement" rel="method-getChildByElement" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.Container.html" class="definedIn docClass">Ext.container.Container</a><br/><a href="../source/Container.html#Ext-container.Container-method-getChildByElement" class="viewSource">view source</a></div><a name="getChildByElement"></a><a name="method-getChildByElement"></a><a href="Ext.window.MessageBox.html#" rel="method-getChildByElement" class="cls expand">getChildByElement</a>(
1941 <span class="pre">Object el</span>)
1942  : Component</div><div class="description"><div class="short"><p>Return the immediate child Component in which the passed element is located.</p>
1943 </div><div class="long"><p>Return the immediate child Component in which the passed element is located.</p>
1944 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Object<div class="sub-desc"><p>The element to test.</p>
1945 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>The child item which contains the passed element.</p>
1946 </li></ul></div></div></div><div id="method-getComponent" class="member inherited"><a href="Ext.window.MessageBox.html#method-getComponent" rel="method-getComponent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-getComponent" class="viewSource">view source</a></div><a name="getComponent"></a><a name="method-getComponent"></a><a href="Ext.window.MessageBox.html#" rel="method-getComponent" class="cls expand">getComponent</a>(
1947 <span class="pre">String/Number comp</span>)
1948  : Ext.Component</div><div class="description"><div class="short">Attempts a default component lookup (see Ext.container.Container.getComponent). If the component is not found in the ...</div><div class="long"><p>Attempts a default component lookup (see <a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">Ext.container.Container.getComponent</a>). If the component is not found in the normal
1949 items, the dockedItems are searched and the matched component (if any) returned (see {@loink #getDockedComponent}). Note that docked
1950 items will only be matched by component id or itemId -- if you pass a numeric index only non-docked child components will be searched.</p>
1951 <h3 class="pa">Parameters</h3><ul><li><span class="pre">comp</span> : String/Number<div class="sub-desc"><p>The component id, itemId or position to find</p>
1952 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>The component (if found)</p>
1953 </li></ul></div></div></div><div id="method-getDockedComponent" class="member inherited"><a href="Ext.window.MessageBox.html#method-getDockedComponent" rel="method-getDockedComponent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-getDockedComponent" class="viewSource">view source</a></div><a name="getDockedComponent"></a><a name="method-getDockedComponent"></a><a href="Ext.window.MessageBox.html#" rel="method-getDockedComponent" class="cls expand">getDockedComponent</a>(
1954 <span class="pre">String/Number comp</span>)
1955  : Ext.Component</div><div class="description"><div class="short"><p>Finds a docked component by id, itemId or position. Also see <a href="Ext.window.MessageBox.html#getDockedItems" rel="Ext.window.MessageBox#getDockedItems" class="docClass">getDockedItems</a></p>
1956 </div><div class="long"><p>Finds a docked component by id, itemId or position. Also see <a href="Ext.window.MessageBox.html#getDockedItems" rel="Ext.window.MessageBox#getDockedItems" class="docClass">getDockedItems</a></p>
1957 <h3 class="pa">Parameters</h3><ul><li><span class="pre">comp</span> : String/Number<div class="sub-desc"><p>The id, itemId or position of the docked component (see <a href="Ext.window.MessageBox.html#getComponent" rel="Ext.window.MessageBox#getComponent" class="docClass">getComponent</a> for details)</p>
1958 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>The docked component (if found)</p>
1959 </li></ul></div></div></div><div id="method-getDockedItems" class="member inherited"><a href="Ext.window.MessageBox.html#method-getDockedItems" rel="method-getDockedItems" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-getDockedItems" class="viewSource">view source</a></div><a name="getDockedItems"></a><a name="method-getDockedItems"></a><a href="Ext.window.MessageBox.html#" rel="method-getDockedItems" class="cls expand">getDockedItems</a>(
1960 <span class="pre">String cqSelector</span>)
1961  : Array</div><div class="description"><div class="short"><p>Retrieve an array of all currently docked Components.</p>
1962 </div><div class="long"><p>Retrieve an array of all currently docked Components.</p>
1963 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cqSelector</span> : String<div class="sub-desc"><p>A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector string to filter the returned items.</p>
1964 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>An array of components.</p>
1965 </li></ul></div></div></div><div id="method-getEl" class="member inherited"><a href="Ext.window.MessageBox.html#method-getEl" rel="method-getEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getEl" class="viewSource">view source</a></div><a name="getEl"></a><a name="method-getEl"></a><a href="Ext.window.MessageBox.html#" rel="method-getEl" class="cls expand">getEl</a> : void</div><div class="description"><div class="short"><p>Retrieves the top level element representing this component.</p>
1966 </div><div class="long"><p>Retrieves the top level element representing this component.</p>
1967 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1968 </li></ul></div></div></div><div id="method-getFocusEl" class="member inherited"><a href="Ext.window.MessageBox.html#method-getFocusEl" rel="method-getFocusEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-method-getFocusEl" class="viewSource">view source</a></div><a name="getFocusEl"></a><a name="method-getFocusEl"></a><a href="Ext.window.MessageBox.html#" rel="method-getFocusEl" class="cls expand">getFocusEl</a> : void</div><div class="description"><div class="short">Gets the configured default focus item.  If a defaultFocus is set, it will receive focus, otherwise the
1969 Container its...</div><div class="long"><p>Gets the configured default focus item.  If a <a href="Ext.window.MessageBox.html#defaultFocus" rel="Ext.window.MessageBox#defaultFocus" class="docClass">defaultFocus</a> is set, it will receive focus, otherwise the
1970 Container itself will receive focus.</p>
1971 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1972 </li></ul></div></div></div><div id="method-getHeight" class="member inherited"><a href="Ext.window.MessageBox.html#method-getHeight" rel="method-getHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getHeight" class="viewSource">view source</a></div><a name="getHeight"></a><a name="method-getHeight"></a><a href="Ext.window.MessageBox.html#" rel="method-getHeight" class="cls expand">getHeight</a> : Number</div><div class="description"><div class="short"><p>Gets the current height of the component's underlying element.</p>
1973 </div><div class="long"><p>Gets the current height of the component's underlying element.</p>
1974 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1975 </li></ul></div></div></div><div id="method-getId" class="member inherited"><a href="Ext.window.MessageBox.html#method-getId" rel="method-getId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getId" class="viewSource">view source</a></div><a name="getId"></a><a name="method-getId"></a><a href="Ext.window.MessageBox.html#" rel="method-getId" class="cls expand">getId</a> : void</div><div class="description"><div class="short"><p>Retrieves the id of this component.
1976 Will autogenerate an id if one has not already been set.</p>
1977 </div><div class="long"><p>Retrieves the id of this component.
1978 Will autogenerate an id if one has not already been set.</p>
1979 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1980 </li></ul></div></div></div><div id="method-getInsertPosition" class="member inherited"><a href="Ext.window.MessageBox.html#method-getInsertPosition" rel="method-getInsertPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getInsertPosition" class="viewSource">view source</a></div><a name="getInsertPosition"></a><a name="method-getInsertPosition"></a><a href="Ext.window.MessageBox.html#" rel="method-getInsertPosition" class="cls expand">getInsertPosition</a>(
1981 <span class="pre">String/Number/Element/HTMLElement position</span>)
1982  : HTMLElement</div><div class="description"><div class="short">This function takes the position argument passed to onRender and returns a
1983 DOM element that you can use in the insert...</div><div class="long"><p>This function takes the position argument passed to onRender and returns a
1984 DOM element that you can use in the insertBefore.</p>
1985 <h3 class="pa">Parameters</h3><ul><li><span class="pre">position</span> : String/Number/Element/HTMLElement<div class="sub-desc"><p>Index, element id or element you want
1986 to put this component before.</p>
1987 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement</span>&nbsp; &nbsp;<p>DOM element that you can use in the insertBefore</p>
1988 </li></ul></div></div></div><div id="method-getLayout" class="member inherited"><a href="Ext.window.MessageBox.html#method-getLayout" rel="method-getLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-getLayout" class="viewSource">view source</a></div><a name="getLayout"></a><a name="method-getLayout"></a><a href="Ext.window.MessageBox.html#" rel="method-getLayout" class="cls expand">getLayout</a> : Ext.layout.container.AbstractContainer</div><div class="description"><div class="short">Returns the layout instance currently associated with this Container.
1989 If a layout has not been instantiated yet, that...</div><div class="long"><p>Returns the <a href="Ext.layout.container.AbstractContainer.html" rel="Ext.layout.container.AbstractContainer" class="docClass">layout</a> instance currently associated with this Container.
1990 If a layout has not been instantiated yet, that is done first</p>
1991 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.layout.container.AbstractContainer</span>&nbsp; &nbsp;<p>The layout</p>
1992 </li></ul></div></div></div><div id="method-getLoader" class="member inherited"><a href="Ext.window.MessageBox.html#method-getLoader" rel="method-getLoader" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getLoader" class="viewSource">view source</a></div><a name="getLoader"></a><a name="method-getLoader"></a><a href="Ext.window.MessageBox.html#" rel="method-getLoader" class="cls expand">getLoader</a> : Ext.ComponentLoader</div><div class="description"><div class="short"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
1993 </div><div class="long"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
1994 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.ComponentLoader</span>&nbsp; &nbsp;<p>The loader instance, null if it doesn't exist.</p>
1995 </li></ul></div></div></div><div id="method-getPlugin" class="member inherited"><a href="Ext.window.MessageBox.html#method-getPlugin" rel="method-getPlugin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getPlugin" class="viewSource">view source</a></div><a name="getPlugin"></a><a name="method-getPlugin"></a><a href="Ext.window.MessageBox.html#" rel="method-getPlugin" class="cls expand">getPlugin</a>(
1996 <span class="pre">Object pluginId</span>)
1997  : Ext.AbstractPlugin</div><div class="description"><div class="short"><p>Retrieves a plugin by its pluginId which has been bound to this
1998 component.</p>
1999 </div><div class="long"><p>Retrieves a plugin by its pluginId which has been bound to this
2000 component.</p>
2001 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pluginId</span> : Object<div class="sub-desc">
2002 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.AbstractPlugin</span>&nbsp; &nbsp;<p>pluginInstance</p>
2003 </li></ul></div></div></div><div id="method-getPosition" class="member inherited"><a href="Ext.window.MessageBox.html#method-getPosition" rel="method-getPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getPosition" class="viewSource">view source</a></div><a name="getPosition"></a><a name="method-getPosition"></a><a href="Ext.window.MessageBox.html#" rel="method-getPosition" class="cls expand">getPosition</a>(
2004 <span class="pre">[Boolean local]</span>)
2005  : Array</div><div class="description"><div class="short"><p>Gets the current XY position of the component's underlying element.</p>
2006 </div><div class="long"><p>Gets the current XY position of the component's underlying element.</p>
2007 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</p>
2008 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The XY position of the element (e.g., [100, 200])</p>
2009 </li></ul></div></div></div><div id="method-getSize" class="member inherited"><a href="Ext.window.MessageBox.html#method-getSize" rel="method-getSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getSize" class="viewSource">view source</a></div><a name="getSize"></a><a name="method-getSize"></a><a href="Ext.window.MessageBox.html#" rel="method-getSize" class="cls expand">getSize</a> : Object</div><div class="description"><div class="short"><p>Gets the current size of the component's underlying element.</p>
2010 </div><div class="long"><p>Gets the current size of the component's underlying element.</p>
2011 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>An object containing the element's size {width: (element width), height: (element height)}</p>
2012 </li></ul></div></div></div><div id="method-getState" class="member inherited"><a href="Ext.window.MessageBox.html#method-getState" rel="method-getState" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-getState" class="viewSource">view source</a></div><a name="getState"></a><a name="method-getState"></a><a href="Ext.window.MessageBox.html#" rel="method-getState" class="cls expand">getState</a> : Object</div><div class="description"><div class="short">Gets the current state of the object. By default this function returns null,
2013 it should be overridden in subclasses to...</div><div class="long"><p>Gets the current state of the object. By default this function returns null,
2014 it should be overridden in subclasses to implement methods for getting the state.</p>
2015 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The current state</p>
2016 </li></ul></div></div></div><div id="method-getStateId" class="member inherited"><a href="Ext.window.MessageBox.html#method-getStateId" rel="method-getStateId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-getStateId" class="viewSource">view source</a></div><a name="getStateId"></a><a name="method-getStateId"></a><a href="Ext.window.MessageBox.html#" rel="method-getStateId" class="cls expand">getStateId</a> : String</div><div class="description"><div class="short"><p>Gets the state id for this object.</p>
2017 </div><div class="long"><p>Gets the state id for this object.</p>
2018 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The state id, null if not found.</p>
2019 </li></ul></div></div></div><div id="method-getWidth" class="member inherited"><a href="Ext.window.MessageBox.html#method-getWidth" rel="method-getWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getWidth" class="viewSource">view source</a></div><a name="getWidth"></a><a name="method-getWidth"></a><a href="Ext.window.MessageBox.html#" rel="method-getWidth" class="cls expand">getWidth</a> : Number</div><div class="description"><div class="short"><p>Gets the current width of the component's underlying element.</p>
2020 </div><div class="long"><p>Gets the current width of the component's underlying element.</p>
2021 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
2022 </li></ul></div></div></div><div id="method-getXType" class="member inherited"><a href="Ext.window.MessageBox.html#method-getXType" rel="method-getXType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getXType" class="viewSource">view source</a></div><a name="getXType"></a><a name="method-getXType"></a><a href="Ext.window.MessageBox.html#" rel="method-getXType" class="cls expand">getXType</a> : String</div><div class="description"><div class="short">Gets the xtype for this component as registered with Ext.ComponentManager. For a list of all
2023 available xtypes, see th...</div><div class="long"><p>Gets the xtype for this component as registered with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a>. For a list of all
2024 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header. Example usage:</p>
2025
2026 <pre><code>var t = new Ext.form.field.Text();
2027 alert(t.getXType());  // alerts 'textfield'
2028 </code></pre>
2029
2030 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype</p>
2031 </li></ul></div></div></div><div id="method-getXTypes" class="member inherited"><a href="Ext.window.MessageBox.html#method-getXTypes" rel="method-getXTypes" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getXTypes" class="viewSource">view source</a></div><a name="getXTypes"></a><a name="method-getXTypes"></a><a href="Ext.window.MessageBox.html#" rel="method-getXTypes" class="cls expand">getXTypes</a> : String</div><div class="description"><div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
2032 available xtypes, see the Ext...</div><div class="long"><p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
2033 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
2034
2035
2036 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
2037 to participate in determination of inherited xtypes.</b></p>
2038
2039
2040 <p>Example usage:</p>
2041
2042
2043 <pre><code>var t = new Ext.form.field.Text();
2044 alert(t.getXTypes());  // alerts 'component/field/textfield'
2045 </code></pre>
2046
2047 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype hierarchy string</p>
2048 </li></ul></div></div></div><div id="method-hasListener" class="member inherited"><a href="Ext.window.MessageBox.html#method-hasListener" rel="method-hasListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-hasListener" class="viewSource">view source</a></div><a name="hasListener"></a><a name="method-hasListener"></a><a href="Ext.window.MessageBox.html#" rel="method-hasListener" class="cls expand">hasListener</a>(
2049 <span class="pre">String eventName</span>)
2050  : Boolean</div><div class="description"><div class="short"><p>Checks to see if this object has any listeners for a specified event</p>
2051 </div><div class="long"><p>Checks to see if this object has any listeners for a specified event</p>
2052 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to check for</p>
2053 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the event is being listened for, else false</p>
2054 </li></ul></div></div></div><div id="method-hasUICls" class="member inherited"><a href="Ext.window.MessageBox.html#method-hasUICls" rel="method-hasUICls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-hasUICls" class="viewSource">view source</a></div><a name="hasUICls"></a><a name="method-hasUICls"></a><a href="Ext.window.MessageBox.html#" rel="method-hasUICls" class="cls expand">hasUICls</a>(
2055 <span class="pre">String cls</span>)
2056  : void</div><div class="description"><div class="short"><p>Checks if there is currently a specified uiCls</p>
2057 </div><div class="long"><p>Checks if there is currently a specified uiCls</p>
2058 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The cls to check</p>
2059 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2060 </li></ul></div></div></div><div id="method-hide" class="member inherited"><a href="Ext.window.MessageBox.html#method-hide" rel="method-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="method-hide"></a><a href="Ext.window.MessageBox.html#" rel="method-hide" class="cls expand">hide</a>(
2061 <span class="pre">String/Element/Component animateTarget, [Function callback], [Object scope]</span>)
2062  : Ext.Component</div><div class="description"><div class="short"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.window.MessageBox.html#hideMode" rel="Ext.window.MessageBox#hideMode" class="docClass">hideMode</a>.</p>
2063 </div><div class="long"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.window.MessageBox.html#hideMode" rel="Ext.window.MessageBox#hideMode" class="docClass">hideMode</a>.</p>
2064 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animateTarget</span> : String/Element/Component<div class="sub-desc"><p>Optional, and <b>only valid for <a href="Ext.window.MessageBox.html#floating" rel="Ext.window.MessageBox#floating" class="docClass">floating</a> Components such as
2065 <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s or <a href="Ext.tip.ToolTip.html" rel="Ext.tip.ToolTip" class="docClass">ToolTip</a>s, or regular Components which have been configured
2066 with <code>floating: true</code>.</b>.
2067 The target to which the Component should animate while hiding (defaults to null with no animation)</p>
2068 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) A callback function to call after the Component is hidden.</p>
2069 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Component.</p>
2070 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2071 </li></ul></div></div></div><div id="method-insert" class="member inherited"><a href="Ext.window.MessageBox.html#method-insert" rel="method-insert" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-insert" class="viewSource">view source</a></div><a name="insert"></a><a name="method-insert"></a><a href="Ext.window.MessageBox.html#" rel="method-insert" class="cls expand">insert</a>(
2072 <span class="pre">Number index, Ext.Component component</span>)
2073  : Ext.Component</div><div class="description"><div class="short">Inserts a Component into this Container at a specified index. Fires the
2074 beforeadd event before inserting, then fires ...</div><div class="long"><p>Inserts a Component into this Container at a specified index. Fires the
2075 <a href="Ext.window.MessageBox.html#beforeadd" rel="Ext.window.MessageBox#beforeadd" class="docClass">beforeadd</a> event before inserting, then fires the <a href="Ext.window.MessageBox.html#add" rel="Ext.window.MessageBox#add" class="docClass">add</a> event after the
2076 Component has been inserted.</p>
2077 <h3 class="pa">Parameters</h3><ul><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index at which the Component will be inserted
2078 into the Container's items collection</p>
2079 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The child Component to insert.<br><br>
2080 <a href="Ext.html" rel="Ext" class="docClass">Ext</a> uses lazy rendering, and will only render the inserted Component should
2081 it become necessary.<br><br>
2082 A Component config object may be passed in order to avoid the overhead of
2083 constructing a real Component object if lazy rendering might mean that the
2084 inserted Component will not be rendered immediately. To take advantage of
2085 this 'lazy instantiation', set the <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">Ext.Component.xtype</a> config
2086 property to the registered type of the Component wanted.<br><br>
2087 For a list of all available xtypes, see <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>.</p>
2088 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>component The Component (or config object) that was
2089 inserted with the Container's default config values applied.</p>
2090 </li></ul></div></div></div><div id="method-insertDocked" class="member inherited"><a href="Ext.window.MessageBox.html#method-insertDocked" rel="method-insertDocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-insertDocked" class="viewSource">view source</a></div><a name="insertDocked"></a><a name="method-insertDocked"></a><a href="Ext.window.MessageBox.html#" rel="method-insertDocked" class="cls expand">insertDocked</a>(
2091 <span class="pre">Number pos, Object/Array component</span>)
2092  : void</div><div class="description"><div class="short"><p>Inserts docked item(s) to the panel at the indicated position.</p>
2093 </div><div class="long"><p>Inserts docked item(s) to the panel at the indicated position.</p>
2094 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>The index at which the Component will be inserted</p>
2095 </div></li><li><span class="pre">component</span> : Object/Array<div class="sub-desc"><p>. The Component or array of components to add. The components
2096 must include a 'dock' paramater on each component to indicate where it should be docked ('top', 'right',
2097 'bottom', 'left').</p>
2098 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2099 </li></ul></div></div></div><div id="method-is" class="member inherited"><a href="Ext.window.MessageBox.html#method-is" rel="method-is" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-is" class="viewSource">view source</a></div><a name="is"></a><a name="method-is"></a><a href="Ext.window.MessageBox.html#" rel="method-is" class="cls expand">is</a>(
2100 <span class="pre">String selector</span>)
2101  : Boolean</div><div class="description"><div class="short"><p>Tests whether this Component matches the selector string.</p>
2102 </div><div class="long"><p>Tests whether this Component matches the selector string.</p>
2103 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The selector string to test against.</p>
2104 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this Component matches the selector.</p>
2105 </li></ul></div></div></div><div id="method-isDescendantOf" class="member inherited"><a href="Ext.window.MessageBox.html#method-isDescendantOf" rel="method-isDescendantOf" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDescendantOf" class="viewSource">view source</a></div><a name="isDescendantOf"></a><a name="method-isDescendantOf"></a><a href="Ext.window.MessageBox.html#" rel="method-isDescendantOf" class="cls expand">isDescendantOf</a>(
2106 <span class="pre">Ext.Container container</span>)
2107  : Boolean</div><div class="description"><div class="short"><p>Determines whether this component is the descendant of a particular container.</p>
2108 </div><div class="long"><p>Determines whether this component is the descendant of a particular container.</p>
2109 <h3 class="pa">Parameters</h3><ul><li><span class="pre">container</span> : Ext.Container<div class="sub-desc">
2110 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>isDescendant</p>
2111 </li></ul></div></div></div><div id="method-isDisabled" class="member inherited"><a href="Ext.window.MessageBox.html#method-isDisabled" rel="method-isDisabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDisabled" class="viewSource">view source</a></div><a name="isDisabled"></a><a name="method-isDisabled"></a><a href="Ext.window.MessageBox.html#" rel="method-isDisabled" class="cls expand">isDisabled</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is currently disabled.</p>
2112 </div><div class="long"><p>Method to determine whether this Component is currently disabled.</p>
2113 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the disabled state of this Component.</p>
2114 </li></ul></div></div></div><div id="method-isDraggable" class="member inherited"><a href="Ext.window.MessageBox.html#method-isDraggable" rel="method-isDraggable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDraggable" class="viewSource">view source</a></div><a name="isDraggable"></a><a name="method-isDraggable"></a><a href="Ext.window.MessageBox.html#" rel="method-isDraggable" class="cls expand">isDraggable</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is draggable.</p>
2115 </div><div class="long"><p>Method to determine whether this Component is draggable.</p>
2116 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the draggable state of this component.</p>
2117 </li></ul></div></div></div><div id="method-isDroppable" class="member inherited"><a href="Ext.window.MessageBox.html#method-isDroppable" rel="method-isDroppable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDroppable" class="viewSource">view source</a></div><a name="isDroppable"></a><a name="method-isDroppable"></a><a href="Ext.window.MessageBox.html#" rel="method-isDroppable" class="cls expand">isDroppable</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is droppable.</p>
2118 </div><div class="long"><p>Method to determine whether this Component is droppable.</p>
2119 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the droppable state of this component.</p>
2120 </li></ul></div></div></div><div id="method-isFloating" class="member inherited"><a href="Ext.window.MessageBox.html#method-isFloating" rel="method-isFloating" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isFloating" class="viewSource">view source</a></div><a name="isFloating"></a><a name="method-isFloating"></a><a href="Ext.window.MessageBox.html#" rel="method-isFloating" class="cls expand">isFloating</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is floating.</p>
2121 </div><div class="long"><p>Method to determine whether this Component is floating.</p>
2122 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the floating state of this component.</p>
2123 </li></ul></div></div></div><div id="method-isHidden" class="member inherited"><a href="Ext.window.MessageBox.html#method-isHidden" rel="method-isHidden" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isHidden" class="viewSource">view source</a></div><a name="isHidden"></a><a name="method-isHidden"></a><a href="Ext.window.MessageBox.html#" rel="method-isHidden" class="cls expand">isHidden</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is currently set to hidden.</p>
2124 </div><div class="long"><p>Method to determine whether this Component is currently set to hidden.</p>
2125 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the hidden state of this Component.</p>
2126 </li></ul></div></div></div><div id="method-isVisible" class="member inherited"><a href="Ext.window.MessageBox.html#method-isVisible" rel="method-isVisible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isVisible" class="viewSource">view source</a></div><a name="isVisible"></a><a name="method-isVisible"></a><a href="Ext.window.MessageBox.html#" rel="method-isVisible" class="cls expand">isVisible</a>(
2127 <span class="pre">Boolean deep</span>)
2128  : Boolean</div><div class="description"><div class="short"><p>Returns true if this component is visible.</p>
2129 </div><div class="long"><p>Returns true if this component is visible.</p>
2130 <h3 class="pa">Parameters</h3><ul><li><span class="pre">deep</span> : Boolean<div class="sub-desc"><p>. <p>Optional. Pass <code>true</code> to interrogate the visibility status of all
2131 parent Containers to determine whether this Component is truly visible to the user.</p></p>
2132
2133 <p>Generally, to determine whether a Component is hidden, the no argument form is needed. For example
2134 when creating dynamically laid out UIs in a hidden Container before showing them.</p>
2135
2136 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this component is visible, false otherwise.</p>
2137 </li></ul></div></div></div><div id="method-isXType" class="member inherited"><a href="Ext.window.MessageBox.html#method-isXType" rel="method-isXType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isXType" class="viewSource">view source</a></div><a name="isXType"></a><a name="method-isXType"></a><a href="Ext.window.MessageBox.html#" rel="method-isXType" class="cls expand">isXType</a>(
2138 <span class="pre">String xtype, [Boolean shallow]</span>)
2139  : Boolean</div><div class="description"><div class="short">Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
2140 from th...</div><div class="long"><p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
2141 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
2142
2143
2144 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
2145 to participate in determination of inherited xtypes.</b></p>
2146
2147
2148 <p>For a list of all available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
2149
2150
2151 <p>Example usage:</p>
2152
2153
2154 <pre><code>var t = new Ext.form.field.Text();
2155 var isText = t.isXType('textfield');        // true
2156 var isBoxSubclass = t.isXType('field');       // true, descended from <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">Ext.form.field.Base</a>
2157 var isBoxInstance = t.isXType('field', true); // false, not a direct <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">Ext.form.field.Base</a> instance
2158 </code></pre>
2159
2160 <h3 class="pa">Parameters</h3><ul><li><span class="pre">xtype</span> : String<div class="sub-desc"><p>The xtype to check for this Component</p>
2161 </div></li><li><span class="pre">shallow</span> : Boolean<div class="sub-desc"><p>(optional) False to check whether this Component is descended from the xtype (this is
2162 the default), or true to check whether this Component is directly of the specified xtype.</p>
2163 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this component descends from the specified xtype, false otherwise.</p>
2164 </li></ul></div></div></div><div id="method-maximize" class="member inherited"><a href="Ext.window.MessageBox.html#method-maximize" rel="method-maximize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-method-maximize" class="viewSource">view source</a></div><a name="maximize"></a><a name="method-maximize"></a><a href="Ext.window.MessageBox.html#" rel="method-maximize" class="cls expand">maximize</a> : Ext.window.Window</div><div class="description"><div class="short">Fits the window within its current container and automatically replaces
2165 the 'maximize' tool button with the 'restore'...</div><div class="long"><p>Fits the window within its current container and automatically replaces
2166 the <a href="Ext.window.MessageBox.html#maximizable" rel="Ext.window.MessageBox#maximizable" class="docClass">'maximize' tool button</a> with the 'restore' tool button.
2167 Also see <a href="Ext.window.MessageBox.html#toggleMaximize" rel="Ext.window.MessageBox#toggleMaximize" class="docClass">toggleMaximize</a>.</p>
2168 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.Window</span>&nbsp; &nbsp;<p>this</p>
2169 </li></ul></div></div></div><div id="method-minimize" class="member inherited"><a href="Ext.window.MessageBox.html#method-minimize" rel="method-minimize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-method-minimize" class="viewSource">view source</a></div><a name="minimize"></a><a name="method-minimize"></a><a href="Ext.window.MessageBox.html#" rel="method-minimize" class="cls expand">minimize</a> : Ext.window.Window</div><div class="description"><div class="short">Placeholder method for minimizing the window.  By default, this method simply fires the minimize event
2170 since the beha...</div><div class="long"><p>Placeholder method for minimizing the window.  By default, this method simply fires the <a href="Ext.window.MessageBox.html#minimize" rel="Ext.window.MessageBox#minimize" class="docClass">minimize</a> event
2171 since the behavior of minimizing a window is application-specific.  To implement custom minimize behavior,
2172 either the minimize event can be handled or this method can be overridden.</p>
2173 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.Window</span>&nbsp; &nbsp;<p>this</p>
2174 </li></ul></div></div></div><div id="method-move" class="member inherited"><a href="Ext.window.MessageBox.html#method-move" rel="method-move" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-move" class="viewSource">view source</a></div><a name="move"></a><a name="method-move"></a><a href="Ext.window.MessageBox.html#" rel="method-move" class="cls expand">move</a>(
2175 <span class="pre">Number fromIdx, Number toIdx</span>)
2176  : Ext.Component</div><div class="description"><div class="short"><p>Moves a Component within the Container</p>
2177 </div><div class="long"><p>Moves a Component within the Container</p>
2178 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fromIdx</span> : Number<div class="sub-desc"><p>The index the Component you wish to move is currently at.</p>
2179 </div></li><li><span class="pre">toIdx</span> : Number<div class="sub-desc"><p>The new index for the Component.</p>
2180 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>component The Component (or config object) that was moved.</p>
2181 </li></ul></div></div></div><div id="method-nextNode" class="member inherited"><a href="Ext.window.MessageBox.html#method-nextNode" rel="method-nextNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-nextNode" class="viewSource">view source</a></div><a name="nextNode"></a><a name="method-nextNode"></a><a href="Ext.window.MessageBox.html#" rel="method-nextNode" class="cls expand">nextNode</a>(
2182 <span class="pre">String selector, Object includeSelf</span>)
2183  : void</div><div class="description"><div class="short">Returns the next node in the Component tree in tree traversal order.
2184
2185
2186 Note that this is not limited to siblings, and...</div><div class="long"><p>Returns the next node in the Component tree in tree traversal order.</p>
2187
2188
2189 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
2190 walk the tree to attempt to find a match. Contrast with <a href="Ext.window.MessageBox.html#pnextSibling" rel="Ext.window.MessageBox#pnextSibling" class="docClass">pnextSibling</a>.</p>
2191
2192 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the following nodes.</p>
2193 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
2194 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The next node (or the next node which matches the selector). Returns null if there is no matching node.</p>
2195 </li></ul></div></div></div><div id="method-nextSibling" class="member inherited"><a href="Ext.window.MessageBox.html#method-nextSibling" rel="method-nextSibling" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-nextSibling" class="viewSource">view source</a></div><a name="nextSibling"></a><a name="method-nextSibling"></a><a href="Ext.window.MessageBox.html#" rel="method-nextSibling" class="cls expand">nextSibling</a>(
2196 <span class="pre">String selector</span>)
2197  : void</div><div class="description"><div class="short">Returns the next sibling of this Component.
2198
2199
2200 Optionally selects the next sibling which matches the passed ComponentQ...</div><div class="long"><p>Returns the next sibling of this Component.</p>
2201
2202
2203 <p>Optionally selects the next sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
2204
2205
2206 <p>May also be refered to as <code><b>next()</b></code></p>
2207
2208
2209 <p>Note that this is limited to siblings, and if no siblings of the item match, <code>null</code> is returned. Contrast with <a href="Ext.window.MessageBox.html#nextNode" rel="Ext.window.MessageBox#nextNode" class="docClass">nextNode</a></p>
2210
2211 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the following items.</p>
2212 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The next sibling (or the next sibling which matches the selector). Returns null if there is no matching sibling.</p>
2213 </li></ul></div></div></div><div id="method-observe" class="member inherited"><a href="Ext.window.MessageBox.html#method-observe" rel="method-observe" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-observe" class="viewSource">view source</a></div><a name="observe"></a><a name="method-observe"></a><a href="Ext.window.MessageBox.html#" rel="method-observe" class="cls expand">observe</a>(
2214 <span class="pre">Function c, Object listeners</span>)
2215  : void</div><div class="description"><div class="short">Sets observability on the passed class constructor.
2216
2217 This makes any event fired on any instance of the passed class a...</div><div class="long"><p>Sets observability on the passed class constructor.</p>
2218
2219 <p>This makes any event fired on any instance of the passed class also fire a single event through
2220 the <strong>class</strong> allowing for central handling of events on many instances at once.</p>
2221
2222 <p>Usage:</p>
2223
2224 <pre><code>Ext.util.Observable.observe(Ext.data.Connection);
2225 Ext.data.Connection.on('beforerequest', function(con, options) {
2226     console.log('Ajax request made to ' + options.url);
2227 });
2228 </code></pre>
2229 <h3 class="pa">Parameters</h3><ul><li><span class="pre">c</span> : Function<div class="sub-desc"><p>The class constructor to make observable.</p>
2230 </div></li><li><span class="pre">listeners</span> : Object<div class="sub-desc"><p>An object containing a series of listeners to add. See <a href="Ext.window.MessageBox.html#addListener" rel="Ext.window.MessageBox#addListener" class="docClass">addListener</a>.</p>
2231 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2232 </li></ul></div></div></div><div id="method-on" class="member inherited"><a href="Ext.window.MessageBox.html#method-on" rel="method-on" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-on" class="viewSource">view source</a></div><a name="on"></a><a name="method-on"></a><a href="Ext.window.MessageBox.html#" rel="method-on" class="cls expand">on</a>(
2233 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
2234  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object (shorthand for <a href="Ext.window.MessageBox.html#addListener" rel="Ext.window.MessageBox#addListener" class="docClass">addListener</a>.)</p>
2235 </div><div class="long"><p>Appends an event handler to this object (shorthand for <a href="Ext.window.MessageBox.html#addListener" rel="Ext.window.MessageBox#addListener" class="docClass">addListener</a>.)</p>
2236 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event to listen for</p>
2237 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes</p>
2238 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
2239 <b>If omitted, defaults to the object which fired the event.</b></p>
2240 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.</p>
2241 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2242 </li></ul></div></div></div><div id="method-previousNode" class="member inherited"><a href="Ext.window.MessageBox.html#method-previousNode" rel="method-previousNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-previousNode" class="viewSource">view source</a></div><a name="previousNode"></a><a name="method-previousNode"></a><a href="Ext.window.MessageBox.html#" rel="method-previousNode" class="cls expand">previousNode</a>(
2243 <span class="pre">String selector, Object includeSelf</span>)
2244  : void</div><div class="description"><div class="short">Returns the previous node in the Component tree in tree traversal order.
2245
2246
2247 Note that this is not limited to siblings,...</div><div class="long"><p>Returns the previous node in the Component tree in tree traversal order.</p>
2248
2249
2250 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
2251 walk the tree in reverse order to attempt to find a match. Contrast with <a href="Ext.window.MessageBox.html#previousSibling" rel="Ext.window.MessageBox#previousSibling" class="docClass">previousSibling</a>.</p>
2252
2253 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the preceding nodes.</p>
2254 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
2255 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The previous node (or the previous node which matches the selector). Returns null if there is no matching node.</p>
2256 </li></ul></div></div></div><div id="method-previousSibling" class="member inherited"><a href="Ext.window.MessageBox.html#method-previousSibling" rel="method-previousSibling" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-previousSibling" class="viewSource">view source</a></div><a name="previousSibling"></a><a name="method-previousSibling"></a><a href="Ext.window.MessageBox.html#" rel="method-previousSibling" class="cls expand">previousSibling</a>(
2257 <span class="pre">String selector</span>)
2258  : void</div><div class="description"><div class="short">Returns the previous sibling of this Component.
2259
2260
2261 Optionally selects the previous sibling which matches the passed Co...</div><div class="long"><p>Returns the previous sibling of this Component.</p>
2262
2263
2264 <p>Optionally selects the previous sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
2265
2266
2267 <p>May also be refered to as <code><b>prev()</b></code></p>
2268
2269
2270 <p>Note that this is limited to siblings, and if no siblings of the item match, <code>null</code> is returned. Contrast with <a href="Ext.window.MessageBox.html#previousNode" rel="Ext.window.MessageBox#previousNode" class="docClass">previousNode</a></p>
2271
2272 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the preceding items.</p>
2273 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The previous sibling (or the previous sibling which matches the selector). Returns null if there is no matching sibling.</p>
2274 </li></ul></div></div></div><div id="method-progress" class="member ni"><a href="Ext.window.MessageBox.html#method-progress" rel="method-progress" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-method-progress" class="viewSource">view source</a></div><a name="progress"></a><a name="method-progress"></a><a href="Ext.window.MessageBox.html#" rel="method-progress" class="cls expand">progress</a>(
2275 <span class="pre">String title, String msg, [String progressText]</span>)
2276  : Ext.window.MessageBox</div><div class="description"><div class="short">Displays a message box with a progress bar.  This message box has no buttons and is not closeable by
2277 the user.  You a...</div><div class="long"><p>Displays a message box with a progress bar.  This message box has no buttons and is not closeable by
2278 the user.  You are responsible for updating the progress bar as needed via <a href="Ext.window.MessageBox.html#updateProgress" rel="Ext.window.MessageBox#updateProgress" class="docClass">updateProgress</a>
2279 and closing the message box when the process is complete.</p>
2280 <h3 class="pa">Parameters</h3><ul><li><span class="pre">title</span> : String<div class="sub-desc"><p>The title bar text</p>
2281 </div></li><li><span class="pre">msg</span> : String<div class="sub-desc"><p>The message box body text</p>
2282 </div></li><li><span class="pre">progressText</span> : String<div class="sub-desc"><p>(optional) The text to display inside the progress bar (defaults to '')</p>
2283 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.MessageBox</span>&nbsp; &nbsp;<p>this</p>
2284 </li></ul></div></div></div><div id="method-prompt" class="member ni"><a href="Ext.window.MessageBox.html#method-prompt" rel="method-prompt" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-method-prompt" class="viewSource">view source</a></div><a name="prompt"></a><a name="method-prompt"></a><a href="Ext.window.MessageBox.html#" rel="method-prompt" class="cls expand">prompt</a>(
2285 <span class="pre">String title, String msg, [Function fn], [Object scope], [Boolean/Number multiline], [String value]</span>)
2286  : Ext.window.MessageBox</div><div class="description"><div class="short">Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's p...</div><div class="long"><p>Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt).
2287 The prompt can be a single-line or multi-line textbox.  If a callback function is passed it will be called after the user
2288 clicks either button, and the id of the button that was clicked (could also be the top-right
2289 close button) and the text that was entered will be passed as the two parameters to the callback.</p>
2290 <h3 class="pa">Parameters</h3><ul><li><span class="pre">title</span> : String<div class="sub-desc"><p>The title bar text</p>
2291 </div></li><li><span class="pre">msg</span> : String<div class="sub-desc"><p>The message box body text</p>
2292 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>(optional) The callback function invoked after the message box is closed</p>
2293 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to the browser wnidow.</p>
2294 </div></li><li><span class="pre">multiline</span> : Boolean/Number<div class="sub-desc"><p>(optional) True to create a multiline textbox using the defaultTextHeight
2295 property, or the height in pixels to create the textbox (defaults to false / single-line)</p>
2296 </div></li><li><span class="pre">value</span> : String<div class="sub-desc"><p>(optional) Default value of the text input element (defaults to '')</p>
2297 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.MessageBox</span>&nbsp; &nbsp;<p>this</p>
2298 </li></ul></div></div></div><div id="method-query" class="member inherited"><a href="Ext.window.MessageBox.html#method-query" rel="method-query" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-query" class="viewSource">view source</a></div><a name="query"></a><a name="method-query"></a><a href="Ext.window.MessageBox.html#" rel="method-query" class="cls expand">query</a>(
2299 <span class="pre">String selector</span>)
2300  : Array</div><div class="description"><div class="short">Retrieves all descendant components which match the passed selector.
2301 Executes an Ext.ComponentQuery.query using this ...</div><div class="long"><p>Retrieves all descendant components which match the passed selector.
2302 Executes an Ext.ComponentQuery.query using this container as its root.</p>
2303 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Selector complying to an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector</p>
2304 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>Ext.Component's which matched the selector</p>
2305 </li></ul></div></div></div><div id="method-relayEvents" class="member inherited"><a href="Ext.window.MessageBox.html#method-relayEvents" rel="method-relayEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-relayEvents" class="viewSource">view source</a></div><a name="relayEvents"></a><a name="method-relayEvents"></a><a href="Ext.window.MessageBox.html#" rel="method-relayEvents" class="cls expand">relayEvents</a>(
2306 <span class="pre">Object origin, Array events, Object prefix</span>)
2307  : void</div><div class="description"><div class="short"><p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>
2308 </div><div class="long"><p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>
2309 <h3 class="pa">Parameters</h3><ul><li><span class="pre">origin</span> : Object<div class="sub-desc"><p>The Observable whose events this object is to relay.</p>
2310 </div></li><li><span class="pre">events</span> : Array<div class="sub-desc"><p>Array of event names to relay.</p>
2311 </div></li><li><span class="pre">prefix</span> : Object<div class="sub-desc">
2312 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2313 </li></ul></div></div></div><div id="method-releaseCapture" class="member inherited"><a href="Ext.window.MessageBox.html#method-releaseCapture" rel="method-releaseCapture" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-releaseCapture" class="viewSource">view source</a></div><a name="releaseCapture"></a><a name="method-releaseCapture"></a><a href="Ext.window.MessageBox.html#" rel="method-releaseCapture" class="cls expand">releaseCapture</a>(
2314 <span class="pre">Observable o</span>)
2315  : void</div><div class="description"><div class="short"><p>Removes <b>all</b> added captures from the Observable.</p>
2316 </div><div class="long"><p>Removes <b>all</b> added captures from the Observable.</p>
2317 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to release</p>
2318 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2319 </li></ul></div></div></div><div id="method-remove" class="member inherited"><a href="Ext.window.MessageBox.html#method-remove" rel="method-remove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-remove" class="viewSource">view source</a></div><a name="remove"></a><a name="method-remove"></a><a href="Ext.window.MessageBox.html#" rel="method-remove" class="cls expand">remove</a>(
2320 <span class="pre">Component/String component, [Boolean autoDestroy]</span>)
2321  : Ext.Component</div><div class="description"><div class="short">Removes a component from this container.  Fires the beforeremove event before removing, then fires
2322 the remove event a...</div><div class="long"><p>Removes a component from this container.  Fires the <a href="Ext.window.MessageBox.html#beforeremove" rel="Ext.window.MessageBox#beforeremove" class="docClass">beforeremove</a> event before removing, then fires
2323 the <a href="Ext.window.MessageBox.html#remove" rel="Ext.window.MessageBox#remove" class="docClass">remove</a> event after the component has been removed.</p>
2324 <h3 class="pa">Parameters</h3><ul><li><span class="pre">component</span> : Component/String<div class="sub-desc"><p>The component reference or id to remove.</p>
2325 </div></li><li><span class="pre">autoDestroy</span> : Boolean<div class="sub-desc"><p>(optional) True to automatically invoke the removed Component's <a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">Ext.Component.destroy</a> function.
2326 Defaults to the value of this Container's <a href="Ext.window.MessageBox.html#autoDestroy" rel="Ext.window.MessageBox#autoDestroy" class="docClass">autoDestroy</a> config.</p>
2327 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>component The Component that was removed.</p>
2328 </li></ul></div></div></div><div id="method-removeAll" class="member inherited"><a href="Ext.window.MessageBox.html#method-removeAll" rel="method-removeAll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-removeAll" class="viewSource">view source</a></div><a name="removeAll"></a><a name="method-removeAll"></a><a href="Ext.window.MessageBox.html#" rel="method-removeAll" class="cls expand">removeAll</a>(
2329 <span class="pre">[Boolean autoDestroy]</span>)
2330  : Array</div><div class="description"><div class="short"><p>Removes all components from this container.</p>
2331 </div><div class="long"><p>Removes all components from this container.</p>
2332 <h3 class="pa">Parameters</h3><ul><li><span class="pre">autoDestroy</span> : Boolean<div class="sub-desc"><p>(optional) True to automatically invoke the removed Component's <a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">Ext.Component.destroy</a> function.
2333 Defaults to the value of this Container's <a href="Ext.window.MessageBox.html#autoDestroy" rel="Ext.window.MessageBox#autoDestroy" class="docClass">autoDestroy</a> config.</p>
2334 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>Array of the destroyed components</p>
2335 </li></ul></div></div></div><div id="method-removeCls" class="member inherited"><a href="Ext.window.MessageBox.html#method-removeCls" rel="method-removeCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-removeCls" class="viewSource">view source</a></div><a name="removeCls"></a><a name="method-removeCls"></a><a href="Ext.window.MessageBox.html#" rel="method-removeCls" class="cls expand">removeCls</a>(
2336 <span class="pre">Object className</span>)
2337  : Ext.Component</div><div class="description"><div class="short"><p>Removes a CSS class from the top level element representing this component.</p>
2338 </div><div class="long"><p>Removes a CSS class from the top level element representing this component.</p>
2339 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : Object<div class="sub-desc">
2340 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
2341 </li></ul></div></div></div><div id="method-removeClsWithUI" class="member inherited"><a href="Ext.window.MessageBox.html#method-removeClsWithUI" rel="method-removeClsWithUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-removeClsWithUI" class="viewSource">view source</a></div><a name="removeClsWithUI"></a><a name="method-removeClsWithUI"></a><a href="Ext.window.MessageBox.html#" rel="method-removeClsWithUI" class="cls expand">removeClsWithUI</a>(
2342 <span class="pre">String/Array cls</span>)
2343  : void</div><div class="description"><div class="short">Removes a cls to the uiCls array, which will also call removeUIClsToElement and removes
2344 it from all elements of this ...</div><div class="long"><p>Removes a cls to the uiCls array, which will also call <a href="Ext.window.MessageBox.html#removeUIClsToElement" rel="Ext.window.MessageBox#removeUIClsToElement" class="docClass">removeUIClsToElement</a> and removes
2345 it from all elements of this component.</p>
2346 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String/Array<div class="sub-desc"><p>A string or an array of strings to remove to the uiCls</p>
2347 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2348 </li></ul></div></div></div><div id="method-removeDocked" class="member inherited"><a href="Ext.window.MessageBox.html#method-removeDocked" rel="method-removeDocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-removeDocked" class="viewSource">view source</a></div><a name="removeDocked"></a><a name="method-removeDocked"></a><a href="Ext.window.MessageBox.html#" rel="method-removeDocked" class="cls expand">removeDocked</a>(
2349 <span class="pre">Ext.Component item, [Boolean autoDestroy]</span>)
2350  : void</div><div class="description"><div class="short"><p>Removes the docked item from the panel.</p>
2351 </div><div class="long"><p>Removes the docked item from the panel.</p>
2352 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Ext.Component<div class="sub-desc"><p>. The Component to remove.</p>
2353 </div></li><li><span class="pre">autoDestroy</span> : Boolean<div class="sub-desc"><p>(optional) Destroy the component after removal.</p>
2354 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2355 </li></ul></div></div></div><div id="method-removeListener" class="member inherited"><a href="Ext.window.MessageBox.html#method-removeListener" rel="method-removeListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-removeListener" class="viewSource">view source</a></div><a name="removeListener"></a><a name="method-removeListener"></a><a href="Ext.window.MessageBox.html#" rel="method-removeListener" class="cls expand">removeListener</a>(
2356 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2357  : void</div><div class="description"><div class="short"><p>Removes an event handler.</p>
2358 </div><div class="long"><p>Removes an event handler.</p>
2359 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event the handler was associated with.</p>
2360 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The handler to remove. <b>This must be a reference to the function passed into the <a href="Ext.window.MessageBox.html#addListener" rel="Ext.window.MessageBox#addListener" class="docClass">addListener</a> call.</b></p>
2361 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2362 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2363 </li></ul></div></div></div><div id="method-removeManagedListener" class="member inherited"><a href="Ext.window.MessageBox.html#method-removeManagedListener" rel="method-removeManagedListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-removeManagedListener" class="viewSource">view source</a></div><a name="removeManagedListener"></a><a name="method-removeManagedListener"></a><a href="Ext.window.MessageBox.html#" rel="method-removeManagedListener" class="cls expand">removeManagedListener</a>(
2364 <span class="pre">Observable|Element item, Object|String ename, Function fn, Object scope</span>)
2365  : void</div><div class="description"><div class="short"><p>Removes listeners that were added by the <a href="Ext.window.MessageBox.html#mon" rel="Ext.window.MessageBox#mon" class="docClass">mon</a> method.</p>
2366 </div><div class="long"><p>Removes listeners that were added by the <a href="Ext.window.MessageBox.html#mon" rel="Ext.window.MessageBox#mon" class="docClass">mon</a> method.</p>
2367 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Observable|Element<div class="sub-desc"><p>The item from which to remove a listener/listeners.</p>
2368 </div></li><li><span class="pre">ename</span> : Object|String<div class="sub-desc"><p>The event name, or an object containing event name properties.</p>
2369 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
2370 is the handler function.</p>
2371 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
2372 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
2373 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2374 </li></ul></div></div></div><div id="method-restore" class="member inherited"><a href="Ext.window.MessageBox.html#method-restore" rel="method-restore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-method-restore" class="viewSource">view source</a></div><a name="restore"></a><a name="method-restore"></a><a href="Ext.window.MessageBox.html#" rel="method-restore" class="cls expand">restore</a> : Ext.window.Window</div><div class="description"><div class="short">Restores a maximized  window back to its original
2375 size and position prior to being maximized and also replaces
2376 the 'r...</div><div class="long"><p>Restores a <a href="Ext.window.MessageBox.html#maximizable" rel="Ext.window.MessageBox#maximizable" class="docClass">maximized</a>  window back to its original
2377 size and position prior to being maximized and also replaces
2378 the 'restore' tool button with the 'maximize' tool button.
2379 Also see <a href="Ext.window.MessageBox.html#toggleMaximize" rel="Ext.window.MessageBox#toggleMaximize" class="docClass">toggleMaximize</a>.</p>
2380 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.Window</span>&nbsp; &nbsp;<p>this</p>
2381 </li></ul></div></div></div><div id="method-resumeEvents" class="member inherited"><a href="Ext.window.MessageBox.html#method-resumeEvents" rel="method-resumeEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-resumeEvents" class="viewSource">view source</a></div><a name="resumeEvents"></a><a name="method-resumeEvents"></a><a href="Ext.window.MessageBox.html#" rel="method-resumeEvents" class="cls expand">resumeEvents</a> : void</div><div class="description"><div class="short">Resume firing events. (see suspendEvents)
2382 If events were suspended using the queueSuspended parameter, then all
2383 event...</div><div class="long"><p>Resume firing events. (see <a href="Ext.window.MessageBox.html#suspendEvents" rel="Ext.window.MessageBox#suspendEvents" class="docClass">suspendEvents</a>)
2384 If events were suspended using the <code><b>queueSuspended</b></code> parameter, then all
2385 events fired during event suspension will be sent to any listeners now.</p>
2386 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2387 </li></ul></div></div></div><div id="method-sequenceFx" class="member inherited"><a href="Ext.window.MessageBox.html#method-sequenceFx" rel="method-sequenceFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-sequenceFx" class="viewSource">view source</a></div><a name="sequenceFx"></a><a name="method-sequenceFx"></a><a href="Ext.window.MessageBox.html#" rel="method-sequenceFx" class="cls expand">sequenceFx</a> : Ext.core.Element</div><div class="description"><div class="short">Ensures that all effects queued after sequenceFx is called on this object are
2388 run in sequence.  This is the opposite ...</div><div class="long"><p>Ensures that all effects queued after sequenceFx is called on this object are
2389 run in sequence.  This is the opposite of <a href="Ext.window.MessageBox.html#syncFx" rel="Ext.window.MessageBox#syncFx" class="docClass">syncFx</a>.</p>
2390 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2391 </li></ul></div></div></div><div id="method-setActive" class="member inherited"><a href="Ext.window.MessageBox.html#method-setActive" rel="method-setActive" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-setActive" class="viewSource">view source</a></div><a name="setActive"></a><a name="method-setActive"></a><a href="Ext.window.MessageBox.html#" rel="method-setActive" class="cls expand">setActive</a>(
2392 <span class="pre">Boolean active, Component newActive</span>)
2393  : void</div><div class="description"><div class="short">This method is called internally by Ext.ZIndexManager to signal that a floating
2394 Component has either been moved to th...</div><div class="long"><p>This method is called internally by <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">Ext.ZIndexManager</a> to signal that a floating
2395 Component has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.</p>
2396
2397
2398 <p>If a <i>Window</i> is superceded by another Window, deactivating it hides its shadow.</p>
2399
2400
2401 <p>This method also fires the <a href="Ext.window.MessageBox.html#activate" rel="Ext.window.MessageBox#activate" class="docClass">activate</a> or <a href="Ext.window.MessageBox.html#deactivate" rel="Ext.window.MessageBox#deactivate" class="docClass">deactivate</a> event depending on which action occurred.</p>
2402
2403 <h3 class="pa">Parameters</h3><ul><li><span class="pre">active</span> : Boolean<div class="sub-desc"><p>True to activate the Component, false to deactivate it (defaults to false)</p>
2404 </div></li><li><span class="pre">newActive</span> : Component<div class="sub-desc"><p>The newly active Component which is taking over topmost zIndex position.</p>
2405 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2406 </li></ul></div></div></div><div id="method-setAutoScroll" class="member inherited"><a href="Ext.window.MessageBox.html#method-setAutoScroll" rel="method-setAutoScroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setAutoScroll" class="viewSource">view source</a></div><a name="setAutoScroll"></a><a name="method-setAutoScroll"></a><a href="Ext.window.MessageBox.html#" rel="method-setAutoScroll" class="cls expand">setAutoScroll</a>(
2407 <span class="pre">Boolean scroll</span>)
2408  : Ext.Component</div><div class="description"><div class="short"><p>Sets the overflow on the content element of the component.</p>
2409 </div><div class="long"><p>Sets the overflow on the content element of the component.</p>
2410 <h3 class="pa">Parameters</h3><ul><li><span class="pre">scroll</span> : Boolean<div class="sub-desc"><p>True to allow the Component to auto scroll.</p>
2411 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2412 </li></ul></div></div></div><div id="method-setDisabled" class="member inherited"><a href="Ext.window.MessageBox.html#method-setDisabled" rel="method-setDisabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setDisabled" class="viewSource">view source</a></div><a name="setDisabled"></a><a name="method-setDisabled"></a><a href="Ext.window.MessageBox.html#" rel="method-setDisabled" class="cls expand">setDisabled</a>(
2413 <span class="pre">Boolean disabled</span>)
2414  : void</div><div class="description"><div class="short"><p>Enable or disable the component.</p>
2415 </div><div class="long"><p>Enable or disable the component.</p>
2416 <h3 class="pa">Parameters</h3><ul><li><span class="pre">disabled</span> : Boolean<div class="sub-desc">
2417 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2418 </li></ul></div></div></div><div id="method-setDocked" class="member inherited"><a href="Ext.window.MessageBox.html#method-setDocked" rel="method-setDocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setDocked" class="viewSource">view source</a></div><a name="setDocked"></a><a name="method-setDocked"></a><a href="Ext.window.MessageBox.html#" rel="method-setDocked" class="cls expand">setDocked</a>(
2419 <span class="pre">Object dock, Object layoutParent</span>)
2420  : Component</div><div class="description"><div class="short">Sets the dock position of this component in its parent panel. Note that
2421 this only has effect if this item is part of ...</div><div class="long"><p>Sets the dock position of this component in its parent panel. Note that
2422 this only has effect if this item is part of the dockedItems collection
2423 of a parent that has a DockLayout (note that any Panel has a DockLayout
2424 by default)</p>
2425 <h3 class="pa">Parameters</h3><ul><li><span class="pre">dock</span> : Object<div class="sub-desc">
2426 </div></li><li><span class="pre">layoutParent</span> : Object<div class="sub-desc">
2427 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2428 </li></ul></div></div></div><div id="method-setHeight" class="member inherited"><a href="Ext.window.MessageBox.html#method-setHeight" rel="method-setHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setHeight" class="viewSource">view source</a></div><a name="setHeight"></a><a name="method-setHeight"></a><a href="Ext.window.MessageBox.html#" rel="method-setHeight" class="cls expand">setHeight</a>(
2429 <span class="pre">Number height</span>)
2430  : Ext.Component</div><div class="description"><div class="short"><p>Sets the height of the component.  This method fires the <a href="Ext.window.MessageBox.html#resize" rel="Ext.window.MessageBox#resize" class="docClass">resize</a> event.</p>
2431 </div><div class="long"><p>Sets the height of the component.  This method fires the <a href="Ext.window.MessageBox.html#resize" rel="Ext.window.MessageBox#resize" class="docClass">resize</a> event.</p>
2432 <h3 class="pa">Parameters</h3><ul><li><span class="pre">height</span> : Number<div class="sub-desc"><p>The new height to set. This may be one of:<div class="mdetail-params"><ul>
2433 <li>A Number specifying the new height in the <a href="Ext.window.MessageBox.html#getEl" rel="Ext.window.MessageBox#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2434 <li>A String used to set the CSS height style.</li>
2435 <li><i>undefined</i> to leave the height unchanged.</li>
2436 </ul></div></p>
2437 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2438 </li></ul></div></div></div><div id="method-setIcon" class="member ni"><a href="Ext.window.MessageBox.html#method-setIcon" rel="method-setIcon" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-method-setIcon" class="viewSource">view source</a></div><a name="setIcon"></a><a name="method-setIcon"></a><a href="Ext.window.MessageBox.html#" rel="method-setIcon" class="cls expand">setIcon</a>(
2439 <span class="pre">String icon</span>)
2440  : Ext.window.MessageBox</div><div class="description"><div class="short">Adds the specified icon to the dialog.  By default, the class 'ext-mb-icon' is applied for default
2441 styling, and the c...</div><div class="long"><p>Adds the specified icon to the dialog.  By default, the class 'ext-mb-icon' is applied for default
2442 styling, and the class passed in is expected to supply the background image url. Pass in empty string ('')
2443 to clear any existing icon. This method must be called before the MessageBox is shown.
2444 The following built-in icon classes are supported, but you can also pass in a custom class name:</p>
2445
2446 <pre>Ext.window.MessageBox.INFO
2447 Ext.window.MessageBox.WARNING
2448 Ext.window.MessageBox.QUESTION
2449 Ext.window.MessageBox.ERROR
2450 </pre>
2451
2452 <h3 class="pa">Parameters</h3><ul><li><span class="pre">icon</span> : String<div class="sub-desc"><p>A CSS classname specifying the icon's background image url, or empty string to clear the icon</p>
2453 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.MessageBox</span>&nbsp; &nbsp;<p>this</p>
2454 </li></ul></div></div></div><div id="method-setIconCls" class="member inherited"><a href="Ext.window.MessageBox.html#method-setIconCls" rel="method-setIconCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-setIconCls" class="viewSource">view source</a></div><a name="setIconCls"></a><a name="method-setIconCls"></a><a href="Ext.window.MessageBox.html#" rel="method-setIconCls" class="cls expand">setIconCls</a>(
2455 <span class="pre">String newIconCls</span>)
2456  : void</div><div class="description"><div class="short"><p>Set the iconCls for the panel&#39;s header. See <a href="Ext.panel.Header.html#iconCls" rel="Ext.panel.Header#iconCls" class="docClass">Ext.panel.Header.iconCls</a>.</p>
2457 </div><div class="long"><p>Set the iconCls for the panel&#39;s header. See <a href="Ext.panel.Header.html#iconCls" rel="Ext.panel.Header#iconCls" class="docClass">Ext.panel.Header.iconCls</a>.</p>
2458 <h3 class="pa">Parameters</h3><ul><li><span class="pre">newIconCls</span> : String<div class="sub-desc">
2459 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2460 </li></ul></div></div></div><div id="method-setLoading" class="member inherited"><a href="Ext.window.MessageBox.html#method-setLoading" rel="method-setLoading" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setLoading" class="viewSource">view source</a></div><a name="setLoading"></a><a name="method-setLoading"></a><a href="Ext.window.MessageBox.html#" rel="method-setLoading" class="cls expand">setLoading</a>(
2461 <span class="pre">Boolean/Object/String load, Boolean targetEl</span>)
2462  : Ext.LoadMask</div><div class="description"><div class="short"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
2463 </div><div class="long"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
2464 <h3 class="pa">Parameters</h3><ul><li><span class="pre">load</span> : Boolean/Object/String<div class="sub-desc"><p>True to show the default LoadMask, a config object
2465 that will be passed to the LoadMask constructor, or a message String to show. False to
2466 hide the current LoadMask.</p>
2467 </div></li><li><span class="pre">targetEl</span> : Boolean<div class="sub-desc"><p>True to mask the targetEl of this Component instead of the this.el.
2468 For example, setting this to true on a Panel will cause only the body to be masked. (defaults to false)</p>
2469 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.LoadMask</span>&nbsp; &nbsp;<p>The LoadMask instance that has just been shown.</p>
2470 </li></ul></div></div></div><div id="method-setPagePosition" class="member inherited"><a href="Ext.window.MessageBox.html#method-setPagePosition" rel="method-setPagePosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setPagePosition" class="viewSource">view source</a></div><a name="setPagePosition"></a><a name="method-setPagePosition"></a><a href="Ext.window.MessageBox.html#" rel="method-setPagePosition" class="cls expand">setPagePosition</a>(
2471 <span class="pre">Number x, Number y, Mixed animate</span>)
2472  : Ext.Component</div><div class="description"><div class="short">Sets the page XY position of the component.  To set the left and top instead, use setPosition.
2473 This method fires the ...</div><div class="long"><p>Sets the page XY position of the component.  To set the left and top instead, use <a href="Ext.window.MessageBox.html#setPosition" rel="Ext.window.MessageBox#setPosition" class="docClass">setPosition</a>.
2474 This method fires the <a href="Ext.window.MessageBox.html#move" rel="Ext.window.MessageBox#move" class="docClass">move</a> event.</p>
2475 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2476 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2477 </div></li><li><span class="pre">animate</span> : Mixed<div class="sub-desc"><p>If passed, the Component is <i>animated</i> into its new position. If this parameter
2478 is a number, it is used as the animation duration in milliseconds.</p>
2479 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2480 </li></ul></div></div></div><div id="method-setPosition" class="member inherited"><a href="Ext.window.MessageBox.html#method-setPosition" rel="method-setPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setPosition" class="viewSource">view source</a></div><a name="setPosition"></a><a name="method-setPosition"></a><a href="Ext.window.MessageBox.html#" rel="method-setPosition" class="cls expand">setPosition</a>(
2481 <span class="pre">Number left, Number top, Mixed animate</span>)
2482  : Ext.Component</div><div class="description"><div class="short">Sets the left and top of the component.  To set the page XY position instead, use setPagePosition.
2483 This method fires ...</div><div class="long"><p>Sets the left and top of the component.  To set the page XY position instead, use <a href="Ext.window.MessageBox.html#setPagePosition" rel="Ext.window.MessageBox#setPagePosition" class="docClass">setPagePosition</a>.
2484 This method fires the <a href="Ext.window.MessageBox.html#move" rel="Ext.window.MessageBox#move" class="docClass">move</a> event.</p>
2485 <h3 class="pa">Parameters</h3><ul><li><span class="pre">left</span> : Number<div class="sub-desc"><p>The new left</p>
2486 </div></li><li><span class="pre">top</span> : Number<div class="sub-desc"><p>The new top</p>
2487 </div></li><li><span class="pre">animate</span> : Mixed<div class="sub-desc"><p>If true, the Component is <i>animated</i> into its new position. You may also pass an animation configuration.</p>
2488 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2489 </li></ul></div></div></div><div id="method-setSize" class="member inherited"><a href="Ext.window.MessageBox.html#method-setSize" rel="method-setSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setSize" class="viewSource">view source</a></div><a name="setSize"></a><a name="method-setSize"></a><a href="Ext.window.MessageBox.html#" rel="method-setSize" class="cls expand">setSize</a>(
2490 <span class="pre">Mixed width, Mixed height</span>)
2491  : Ext.Component</div><div class="description"><div class="short">Sets the width and height of this Component. This method fires the resize event. This method can accept
2492 either width ...</div><div class="long"><p>Sets the width and height of this Component. This method fires the <a href="Ext.window.MessageBox.html#resize" rel="Ext.window.MessageBox#resize" class="docClass">resize</a> event. This method can accept
2493 either width and height as separate arguments, or you can pass a size object like <code>{width:10, height:20}</code>.</p>
2494 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Mixed<div class="sub-desc"><p>The new width to set. This may be one of:<div class="mdetail-params"><ul>
2495 <li>A Number specifying the new width in the <a href="Ext.window.MessageBox.html#getEl" rel="Ext.window.MessageBox#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2496 <li>A String used to set the CSS width style.</li>
2497 <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
2498 <li><code>undefined</code> to leave the width unchanged.</li>
2499 </ul></div></p>
2500 </div></li><li><span class="pre">height</span> : Mixed<div class="sub-desc"><p>The new height to set (not required if a size object is passed as the first arg).
2501 This may be one of:<div class="mdetail-params"><ul>
2502 <li>A Number specifying the new height in the <a href="Ext.window.MessageBox.html#getEl" rel="Ext.window.MessageBox#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2503 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
2504 <li><code>undefined</code> to leave the height unchanged.</li>
2505 </ul></div></p>
2506 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2507 </li></ul></div></div></div><div id="method-setTitle" class="member inherited"><a href="Ext.window.MessageBox.html#method-setTitle" rel="method-setTitle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-setTitle" class="viewSource">view source</a></div><a name="setTitle"></a><a name="method-setTitle"></a><a href="Ext.window.MessageBox.html#" rel="method-setTitle" class="cls expand">setTitle</a>(
2508 <span class="pre">String newTitle</span>)
2509  : void</div><div class="description"><div class="short"><p>Set a title for the panel&#39;s header. See <a href="Ext.panel.Header.html#title" rel="Ext.panel.Header#title" class="docClass">Ext.panel.Header.title</a>.</p>
2510 </div><div class="long"><p>Set a title for the panel&#39;s header. See <a href="Ext.panel.Header.html#title" rel="Ext.panel.Header#title" class="docClass">Ext.panel.Header.title</a>.</p>
2511 <h3 class="pa">Parameters</h3><ul><li><span class="pre">newTitle</span> : String<div class="sub-desc">
2512 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2513 </li></ul></div></div></div><div id="method-setUI" class="member inherited"><a href="Ext.window.MessageBox.html#method-setUI" rel="method-setUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setUI" class="viewSource">view source</a></div><a name="setUI"></a><a name="method-setUI"></a><a href="Ext.window.MessageBox.html#" rel="method-setUI" class="cls expand">setUI</a>(
2514 <span class="pre">String ui</span>)
2515  : void</div><div class="description"><div class="short">Sets the UI for the component. This will remove any existing UIs on the component. It will also
2516 loop through any uiCl...</div><div class="long"><p>Sets the UI for the component. This will remove any existing UIs on the component. It will also
2517 loop through any uiCls set on the component and rename them so they include the new UI</p>
2518 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ui</span> : String<div class="sub-desc"><p>The new UI for the component</p>
2519 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2520 </li></ul></div></div></div><div id="method-setVisible" class="member inherited"><a href="Ext.window.MessageBox.html#method-setVisible" rel="method-setVisible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setVisible" class="viewSource">view source</a></div><a name="setVisible"></a><a name="method-setVisible"></a><a href="Ext.window.MessageBox.html#" rel="method-setVisible" class="cls expand">setVisible</a>(
2521 <span class="pre">Boolean visible</span>)
2522  : Ext.Component</div><div class="description"><div class="short"><p>Convenience function to hide or show this component by boolean.</p>
2523 </div><div class="long"><p>Convenience function to hide or show this component by boolean.</p>
2524 <h3 class="pa">Parameters</h3><ul><li><span class="pre">visible</span> : Boolean<div class="sub-desc"><p>True to show, false to hide</p>
2525 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2526 </li></ul></div></div></div><div id="method-setWidth" class="member inherited"><a href="Ext.window.MessageBox.html#method-setWidth" rel="method-setWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setWidth" class="viewSource">view source</a></div><a name="setWidth"></a><a name="method-setWidth"></a><a href="Ext.window.MessageBox.html#" rel="method-setWidth" class="cls expand">setWidth</a>(
2527 <span class="pre">Number width</span>)
2528  : Ext.Component</div><div class="description"><div class="short"><p>Sets the width of the component.  This method fires the <a href="Ext.window.MessageBox.html#resize" rel="Ext.window.MessageBox#resize" class="docClass">resize</a> event.</p>
2529 </div><div class="long"><p>Sets the width of the component.  This method fires the <a href="Ext.window.MessageBox.html#resize" rel="Ext.window.MessageBox#resize" class="docClass">resize</a> event.</p>
2530 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Number<div class="sub-desc"><p>The new width to setThis may be one of:<div class="mdetail-params"><ul>
2531 <li>A Number specifying the new width in the <a href="Ext.window.MessageBox.html#getEl" rel="Ext.window.MessageBox#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2532 <li>A String used to set the CSS width style.</li>
2533 </ul></div></p>
2534 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2535 </li></ul></div></div></div><div id="method-show" class="member ni"><a href="Ext.window.MessageBox.html#method-show" rel="method-show" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-method-show" class="viewSource">view source</a></div><a name="show"></a><a name="method-show"></a><a href="Ext.window.MessageBox.html#" rel="method-show" class="cls expand">show</a>(
2536 <span class="pre">Object config</span>)
2537  : Ext.window.MessageBox</div><div class="description"><div class="short">Displays a new message box, or reinitializes an existing message box, based on the config options
2538 passed in. All disp...</div><div class="long"><p>Displays a new message box, or reinitializes an existing message box, based on the config options
2539 passed in. All display functions (e.g. prompt, alert, etc.) on MessageBox call this function internally,
2540 although those calls are basic shortcuts and do not support all of the config options allowed here.</p>
2541 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The following config options are supported: <ul>
2542 <li><b>animateTarget</b> : String/Element<div class="sub-desc">An id or Element from which the message box should animate as it
2543 opens and closes (defaults to undefined)</div></li>
2544 <li><b>buttons</b> : Number<div class="sub-desc">A bitwise button specifier consisting of the sum of any of the following constants:<ul>
2545 <li>Ext.window.MessageBox.OK</li>
2546 <li>Ext.window.MessageBox.YES</li>
2547 <li>Ext.window.MessageBox.NO</li>
2548 <li>Ext.window.MessageBox.CANCEL</li>
2549 </ul>Or false to not show any buttons (defaults to false)</div></li>
2550 <li><b>closable</b> : Boolean<div class="sub-desc">False to hide the top-right close button (defaults to true). Note that
2551 progress and wait dialogs will ignore this property and always hide the close button as they can only
2552 be closed programmatically.</div></li>
2553 <li><b>cls</b> : String<div class="sub-desc">A custom CSS class to apply to the message box's container element</div></li>
2554 <li><b>defaultTextHeight</b> : Number<div class="sub-desc">The default height in pixels of the message box's multiline textarea
2555 if displayed (defaults to 75)</div></li>
2556 <li><b>fn</b> : Function<div class="sub-desc">A callback function which is called when the dialog is dismissed either
2557 by clicking on the configured buttons, or on the dialog close button, or by pressing
2558 the return button to enter input.</p>
2559
2560 <p>Progress and wait dialogs will ignore this option since they do not respond to user
2561 actions and can only be closed programmatically, so any required function should be called
2562 by the same code after it closes the dialog. Parameters passed:<ul>
2563 <li><b>buttonId</b> : String<div class="sub-desc">The ID of the button pressed, one of:<div class="sub-desc"><ul>
2564 <li><tt>ok</tt></li>
2565 <li><tt>yes</tt></li>
2566 <li><tt>no</tt></li>
2567 <li><tt>cancel</tt></li>
2568 </ul></div></div></li>
2569 <li><b>text</b> : String<div class="sub-desc">Value of the input field if either <tt><a href="Ext.window.MessageBox.html#show-option-prompt" ext:member="show-option-prompt" ext:cls="Ext.window.MessageBox">prompt</a></tt>
2570 or <tt><a href="Ext.window.MessageBox.html#show-option-multiline" ext:member="show-option-multiline" ext:cls="Ext.window.MessageBox">multiline</a></tt> is true</div></li>
2571 <li><b>opt</b> : Object<div class="sub-desc">The config object passed to show.</div></li>
2572 </ul></p>
2573
2574
2575 <p></div></li>
2576 <li><b>scope</b> : Object<div class="sub-desc">The scope (<code>this</code> reference) in which the function will be executed.</div></li>
2577 <li><b>icon</b> : String<div class="sub-desc">A CSS class that provides a background image to be used as the body icon for the
2578 dialog (e.g. Ext.window.MessageBox.WARNING or 'custom-class') (defaults to '')</div></li>
2579 <li><b>iconCls</b> : String<div class="sub-desc">The standard <a href="Ext.window.Window.html#iconCls" rel="Ext.window.Window#iconCls" class="docClass">Ext.window.Window.iconCls</a> to
2580 add an optional header icon (defaults to '')</div></li>
2581 <li><b>maxWidth</b> : Number<div class="sub-desc">The maximum width in pixels of the message box (defaults to 600)</div></li>
2582 <li><b>minWidth</b> : Number<div class="sub-desc">The minimum width in pixels of the message box (defaults to 100)</div></li>
2583 <li><b>modal</b> : Boolean<div class="sub-desc">False to allow user interaction with the page while the message box is
2584 displayed (defaults to true)</div></li>
2585 <li><b>msg</b> : String<div class="sub-desc">A string that will replace the existing message box body text (defaults to the
2586 XHTML-compliant non-breaking space character '&amp;#160;')</div></li>
2587 <li><a id="show-option-multiline"></a><b>multiline</b> : Boolean<div class="sub-desc">
2588 True to prompt the user to enter multi-line text (defaults to false)</div></li>
2589 <li><b>progress</b> : Boolean<div class="sub-desc">True to display a progress bar (defaults to false)</div></li>
2590 <li><b>progressText</b> : String<div class="sub-desc">The text to display inside the progress bar if progress = true (defaults to '')</div></li>
2591 <li><a id="show-option-prompt"></a><b>prompt</b> : Boolean<div class="sub-desc">True to prompt the user to enter single-line text (defaults to false)</div></li>
2592 <li><b>proxyDrag</b> : Boolean<div class="sub-desc">True to display a lightweight proxy while dragging (defaults to false)</div></li>
2593 <li><b>title</b> : String<div class="sub-desc">The title text</div></li>
2594 <li><b>value</b> : String<div class="sub-desc">The string value to set into the active textbox element if displayed</div></li>
2595 <li><b>wait</b> : Boolean<div class="sub-desc">True to display a progress bar (defaults to false)</div></li>
2596 <li><b>waitConfig</b> : Object<div class="sub-desc">A <a href="Ext.ProgressBar.html#waitConfig" rel="Ext.ProgressBar#waitConfig" class="docClass">Ext.ProgressBar.waitConfig</a> object (applies only if wait = true)</div></li>
2597 <li><b>width</b> : Number<div class="sub-desc">The width of the dialog in pixels</div></li>
2598 </ul>
2599 Example usage:</p>
2600
2601 <pre><code>Ext.Msg.show({
2602 title: 'Address',
2603 msg: 'Please enter your address:',
2604 width: 300,
2605 buttons: Ext.window.MessageBox.OKCANCEL,
2606 multiline: true,
2607 fn: saveAddress,
2608 animateTarget: 'addAddressBtn',
2609 icon: Ext.window.MessageBox.INFO
2610 });
2611 </code></pre>
2612
2613 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.MessageBox</span>&nbsp; &nbsp;<p>this</p>
2614 </li></ul></div></div></div><div id="method-stopAnimation" class="member inherited"><a href="Ext.window.MessageBox.html#method-stopAnimation" rel="method-stopAnimation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-stopAnimation" class="viewSource">view source</a></div><a name="stopAnimation"></a><a name="method-stopAnimation"></a><a href="Ext.window.MessageBox.html#" rel="method-stopAnimation" class="cls expand">stopAnimation</a> : Ext.core.Element</div><div class="description"><div class="short">@deprecated 4.0 Replaced by stopAnimation
2615 Stops any running effects and clears this object's internal effects queue i...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.window.MessageBox.html#stopAnimation" rel="Ext.window.MessageBox#stopAnimation" class="docClass">stopAnimation</a>
2616 Stops any running effects and clears this object's internal effects queue if it contains
2617 any additional effects that haven't started yet.</p>
2618 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2619 </li></ul></div></div></div><div id="method-suspendEvents" class="member inherited"><a href="Ext.window.MessageBox.html#method-suspendEvents" rel="method-suspendEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-suspendEvents" class="viewSource">view source</a></div><a name="suspendEvents"></a><a name="method-suspendEvents"></a><a href="Ext.window.MessageBox.html#" rel="method-suspendEvents" class="cls expand">suspendEvents</a>(
2620 <span class="pre">Boolean queueSuspended</span>)
2621  : void</div><div class="description"><div class="short"><p>Suspend the firing of all events. (see <a href="Ext.window.MessageBox.html#resumeEvents" rel="Ext.window.MessageBox#resumeEvents" class="docClass">resumeEvents</a>)</p>
2622 </div><div class="long"><p>Suspend the firing of all events. (see <a href="Ext.window.MessageBox.html#resumeEvents" rel="Ext.window.MessageBox#resumeEvents" class="docClass">resumeEvents</a>)</p>
2623 <h3 class="pa">Parameters</h3><ul><li><span class="pre">queueSuspended</span> : Boolean<div class="sub-desc"><p>Pass as true to queue up suspended events to be fired
2624 after the <a href="Ext.window.MessageBox.html#resumeEvents" rel="Ext.window.MessageBox#resumeEvents" class="docClass">resumeEvents</a> call instead of discarding all suspended events;</p>
2625 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2626 </li></ul></div></div></div><div id="method-syncFx" class="member inherited"><a href="Ext.window.MessageBox.html#method-syncFx" rel="method-syncFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-syncFx" class="viewSource">view source</a></div><a name="syncFx"></a><a name="method-syncFx"></a><a href="Ext.window.MessageBox.html#" rel="method-syncFx" class="cls expand">syncFx</a> : Ext.core.Element</div><div class="description"><div class="short">Ensures that all effects queued after syncFx is called on this object are
2627 run concurrently.  This is the opposite of ...</div><div class="long"><p>Ensures that all effects queued after syncFx is called on this object are
2628 run concurrently.  This is the opposite of <a href="Ext.window.MessageBox.html#sequenceFx" rel="Ext.window.MessageBox#sequenceFx" class="docClass">sequenceFx</a>.</p>
2629 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2630 </li></ul></div></div></div><div id="method-toBack" class="member inherited"><a href="Ext.window.MessageBox.html#method-toBack" rel="method-toBack" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-toBack" class="viewSource">view source</a></div><a name="toBack"></a><a name="method-toBack"></a><a href="Ext.window.MessageBox.html#" rel="method-toBack" class="cls expand">toBack</a> : Component</div><div class="description"><div class="short"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
2631 </div><div class="long"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
2632 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2633 </li></ul></div></div></div><div id="method-toFront" class="member inherited"><a href="Ext.window.MessageBox.html#method-toFront" rel="method-toFront" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-toFront" class="viewSource">view source</a></div><a name="toFront"></a><a name="method-toFront"></a><a href="Ext.window.MessageBox.html#" rel="method-toFront" class="cls expand">toFront</a>(
2634 <span class="pre">[Boolean preventFocus]</span>)
2635  : Component</div><div class="description"><div class="short">Brings this floating Component to the front of any other visible, floating Components managed by the same ZIndexManag...</div><div class="long"><p>Brings this floating Component to the front of any other visible, floating Components managed by the same <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a></p>
2636
2637
2638 <p>If this Component is modal, inserts the modal mask just below this Component in the z-index stack.</p>
2639
2640 <h3 class="pa">Parameters</h3><ul><li><span class="pre">preventFocus</span> : Boolean<div class="sub-desc"><p>(optional) Specify <code>true</code> to prevent the Component from being focused.</p>
2641 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2642 </li></ul></div></div></div><div id="method-toggleCollapse" class="member inherited"><a href="Ext.window.MessageBox.html#method-toggleCollapse" rel="method-toggleCollapse" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-toggleCollapse" class="viewSource">view source</a></div><a name="toggleCollapse"></a><a name="method-toggleCollapse"></a><a href="Ext.window.MessageBox.html#" rel="method-toggleCollapse" class="cls expand">toggleCollapse</a> : Ext.panel.Panel</div><div class="description"><div class="short"><p>Shortcut for performing an <a href="Ext.window.MessageBox.html#expand" rel="Ext.window.MessageBox#expand" class="docClass">expand</a> or <a href="Ext.window.MessageBox.html#collapse" rel="Ext.window.MessageBox#collapse" class="docClass">collapse</a> based on the current state of the panel.</p>
2643 </div><div class="long"><p>Shortcut for performing an <a href="Ext.window.MessageBox.html#expand" rel="Ext.window.MessageBox#expand" class="docClass">expand</a> or <a href="Ext.window.MessageBox.html#collapse" rel="Ext.window.MessageBox#collapse" class="docClass">collapse</a> based on the current state of the panel.</p>
2644 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.panel.Panel</span>&nbsp; &nbsp;<p>this</p>
2645 </li></ul></div></div></div><div id="method-toggleMaximize" class="member inherited"><a href="Ext.window.MessageBox.html#method-toggleMaximize" rel="method-toggleMaximize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-method-toggleMaximize" class="viewSource">view source</a></div><a name="toggleMaximize"></a><a name="method-toggleMaximize"></a><a href="Ext.window.MessageBox.html#" rel="method-toggleMaximize" class="cls expand">toggleMaximize</a> : Ext.window.Window</div><div class="description"><div class="short"><p>A shortcut method for toggling between <a href="Ext.window.MessageBox.html#maximize" rel="Ext.window.MessageBox#maximize" class="docClass">maximize</a> and <a href="Ext.window.MessageBox.html#restore" rel="Ext.window.MessageBox#restore" class="docClass">restore</a> based on the current maximized
2646 state of the window.</p>
2647 </div><div class="long"><p>A shortcut method for toggling between <a href="Ext.window.MessageBox.html#maximize" rel="Ext.window.MessageBox#maximize" class="docClass">maximize</a> and <a href="Ext.window.MessageBox.html#restore" rel="Ext.window.MessageBox#restore" class="docClass">restore</a> based on the current maximized
2648 state of the window.</p>
2649 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.Window</span>&nbsp; &nbsp;<p>this</p>
2650 </li></ul></div></div></div><div id="method-un" class="member inherited"><a href="Ext.window.MessageBox.html#method-un" rel="method-un" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-un" class="viewSource">view source</a></div><a name="un"></a><a name="method-un"></a><a href="Ext.window.MessageBox.html#" rel="method-un" class="cls expand">un</a>(
2651 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2652  : void</div><div class="description"><div class="short"><p>Removes an event handler (shorthand for <a href="Ext.window.MessageBox.html#removeListener" rel="Ext.window.MessageBox#removeListener" class="docClass">removeListener</a>.)</p>
2653 </div><div class="long"><p>Removes an event handler (shorthand for <a href="Ext.window.MessageBox.html#removeListener" rel="Ext.window.MessageBox#removeListener" class="docClass">removeListener</a>.)</p>
2654 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event the handler was associated with.</p>
2655 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The handler to remove. <b>This must be a reference to the function passed into the <a href="Ext.window.MessageBox.html#addListener" rel="Ext.window.MessageBox#addListener" class="docClass">addListener</a> call.</b></p>
2656 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2657 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2658 </li></ul></div></div></div><div id="method-up" class="member inherited"><a href="Ext.window.MessageBox.html#method-up" rel="method-up" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-up" class="viewSource">view source</a></div><a name="up"></a><a name="method-up"></a><a href="Ext.window.MessageBox.html#" rel="method-up" class="cls expand">up</a>(
2659 <span class="pre">String selector</span>)
2660  : Container</div><div class="description"><div class="short">Walks up the ownerCt axis looking for an ancestor Container which matches
2661 the passed simple selector.
2662
2663
2664 Example:
2665 var ...</div><div class="long"><p>Walks up the <code>ownerCt</code> axis looking for an ancestor Container which matches
2666 the passed simple selector.</p>
2667
2668
2669 <p>Example:
2670 <pre><code>var owningTabPanel = grid.up('tabpanel');
2671 </code></pre>
2672
2673 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. The simple selector to test.</p>
2674 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Container</span>&nbsp; &nbsp;<p>The matching ancestor Container (or <code>undefined</code> if no match was found).</p>
2675 </li></ul></div></div></div><div id="method-update" class="member inherited"><a href="Ext.window.MessageBox.html#method-update" rel="method-update" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-update" class="viewSource">view source</a></div><a name="update"></a><a name="method-update"></a><a href="Ext.window.MessageBox.html#" rel="method-update" class="cls expand">update</a>(
2676 <span class="pre">Mixed htmlOrData, [Boolean loadScripts], [Function callback]</span>)
2677  : void</div><div class="description"><div class="short"><p>Update the content area of a component.</p>
2678 </div><div class="long"><p>Update the content area of a component.</p>
2679 <h3 class="pa">Parameters</h3><ul><li><span class="pre">htmlOrData</span> : Mixed<div class="sub-desc"><p>If this component has been configured with a template via the tpl config
2680 then it will use this argument as data to populate the template.
2681 If this component was not configured with a template, the components
2682 content area will be updated via <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> update</p>
2683 </div></li><li><span class="pre">loadScripts</span> : Boolean<div class="sub-desc"><p>(optional) Only legitimate when using the html configuration. Defaults to false</p>
2684 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) Only legitimate when using the html configuration. Callback to execute when scripts have finished loading</p>
2685 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2686 </li></ul></div></div></div><div id="method-updateBox" class="member inherited"><a href="Ext.window.MessageBox.html#method-updateBox" rel="method-updateBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-updateBox" class="viewSource">view source</a></div><a name="updateBox"></a><a name="method-updateBox"></a><a href="Ext.window.MessageBox.html#" rel="method-updateBox" class="cls expand">updateBox</a>(
2687 <span class="pre">Object box</span>)
2688  : Ext.Component</div><div class="description"><div class="short"><p>Sets the current box measurements of the component's underlying element.</p>
2689 </div><div class="long"><p>Sets the current box measurements of the component's underlying element.</p>
2690 <h3 class="pa">Parameters</h3><ul><li><span class="pre">box</span> : Object<div class="sub-desc"><p>An object in the format {x, y, width, height}</p>
2691 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2692 </li></ul></div></div></div><div id="method-updateProgress" class="member ni"><a href="Ext.window.MessageBox.html#method-updateProgress" rel="method-updateProgress" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-method-updateProgress" class="viewSource">view source</a></div><a name="updateProgress"></a><a name="method-updateProgress"></a><a href="Ext.window.MessageBox.html#" rel="method-updateProgress" class="cls expand">updateProgress</a>(
2693 <span class="pre">Number value, String progressText, String msg</span>)
2694  : Ext.window.MessageBox</div><div class="description"><div class="short">Updates a progress-style message box's text and progress bar. Only relevant on message boxes
2695 initiated via progress o...</div><div class="long"><p>Updates a progress-style message box's text and progress bar. Only relevant on message boxes
2696 initiated via <a href="Ext.window.MessageBox.html#progress" rel="Ext.window.MessageBox#progress" class="docClass">progress</a> or <a href="Ext.window.MessageBox.html#wait" rel="Ext.window.MessageBox#wait" class="docClass">wait</a>,
2697 or by calling <a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a> with progress: true.</p>
2698 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Number<div class="sub-desc"><p>Any number between 0 and 1 (e.g., .5, defaults to 0)</p>
2699 </div></li><li><span class="pre">progressText</span> : String<div class="sub-desc"><p>The progress text to display inside the progress bar (defaults to '')</p>
2700 </div></li><li><span class="pre">msg</span> : String<div class="sub-desc"><p>The message box's body text is replaced with the specified string (defaults to undefined
2701 so that any existing body text will not get overwritten by default unless a new value is passed in)</p>
2702 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.MessageBox</span>&nbsp; &nbsp;<p>this</p>
2703 </li></ul></div></div></div><div id="method-wait" class="member ni"><a href="Ext.window.MessageBox.html#method-wait" rel="method-wait" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.MessageBox.html" class="definedIn docClass">Ext.window.MessageBox</a><br/><a href="../source/MessageBox.html#Ext-window.MessageBox-method-wait" class="viewSource">view source</a></div><a name="wait"></a><a name="method-wait"></a><a href="Ext.window.MessageBox.html#" rel="method-wait" class="cls expand">wait</a>(
2704 <span class="pre">String msg, [String title], [Object config]</span>)
2705  : Ext.window.MessageBox</div><div class="description"><div class="short">Displays a message box with an infinitely auto-updating progress bar.  This can be used to block user
2706 interaction whi...</div><div class="long"><p>Displays a message box with an infinitely auto-updating progress bar.  This can be used to block user
2707 interaction while waiting for a long-running process to complete that does not have defined intervals.
2708 You are responsible for closing the message box when the process is complete.</p>
2709 <h3 class="pa">Parameters</h3><ul><li><span class="pre">msg</span> : String<div class="sub-desc"><p>The message box body text</p>
2710 </div></li><li><span class="pre">title</span> : String<div class="sub-desc"><p>(optional) The title bar text</p>
2711 </div></li><li><span class="pre">config</span> : Object<div class="sub-desc"><p>(optional) A <a href="Ext.ProgressBar.html#waitConfig" rel="Ext.ProgressBar#waitConfig" class="docClass">Ext.ProgressBar.waitConfig</a> object</p>
2712 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.window.MessageBox</span>&nbsp; &nbsp;<p>this</p>
2713 </li></ul></div></div></div></div><div class="m-events"><a name="events"></a><div class="definedBy">Defined By</div><h3 class="evt p">Events</h3><div id="event-activate" class="member f inherited"><a href="Ext.window.MessageBox.html#event-activate" rel="event-activate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-event-activate" class="viewSource">view source</a></div><a name="activate"></a><a name="event-activate"></a><a href="Ext.window.MessageBox.html#" rel="event-activate" class="cls expand">activate</a>(
2714 <span class="pre">Ext.window.Window this</span>)
2715 </div><div class="description"><div class="short"><p>Fires after the window has been visually activated via <a href="Ext.window.MessageBox.html#setActive" rel="Ext.window.MessageBox#setActive" class="docClass">setActive</a>.</p>
2716 </div><div class="long"><p>Fires after the window has been visually activated via <a href="Ext.window.MessageBox.html#setActive" rel="Ext.window.MessageBox#setActive" class="docClass">setActive</a>.</p>
2717 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.window.Window<div class="sub-desc">
2718 </div></li></ul></div></div></div><div id="event-add" class="member inherited"><a href="Ext.window.MessageBox.html#event-add" rel="event-add" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-add" class="viewSource">view source</a></div><a name="add"></a><a name="event-add"></a><a href="Ext.window.MessageBox.html#" rel="event-add" class="cls expand">add</a>(
2719 <span class="pre">Ext.container.Container this, Ext.Component component, Number index</span>)
2720 </div><div class="description"><div class="short"><p>@bubbles
2721 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.</p>
2722 </div><div class="long"><p>@bubbles
2723 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.</p>
2724 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2725 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component that was added</p>
2726 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index at which the component was added to the container's items collection</p>
2727 </div></li></ul></div></div></div><div id="event-added" class="member inherited"><a href="Ext.window.MessageBox.html#event-added" rel="event-added" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-added" class="viewSource">view source</a></div><a name="added"></a><a name="event-added"></a><a href="Ext.window.MessageBox.html#" rel="event-added" class="cls expand">added</a>(
2728 <span class="pre">Ext.Component this, Ext.container.Container container, Number pos</span>)
2729 </div><div class="description"><div class="short"><p>Fires after a Component had been added to a Container.</p>
2730 </div><div class="long"><p>Fires after a Component had been added to a Container.</p>
2731 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2732 </div></li><li><span class="pre">container</span> : Ext.container.Container<div class="sub-desc"><p>Parent Container</p>
2733 </div></li><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>position of Component</p>
2734 </div></li></ul></div></div></div><div id="event-afterlayout" class="member inherited"><a href="Ext.window.MessageBox.html#event-afterlayout" rel="event-afterlayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-afterlayout" class="viewSource">view source</a></div><a name="afterlayout"></a><a name="event-afterlayout"></a><a href="Ext.window.MessageBox.html#" rel="event-afterlayout" class="cls expand">afterlayout</a>(
2735 <span class="pre">Ext.container.Container this, ContainerLayout layout</span>)
2736 </div><div class="description"><div class="short"><p>Fires when the components in this container are arranged by the associated layout manager.</p>
2737 </div><div class="long"><p>Fires when the components in this container are arranged by the associated layout manager.</p>
2738 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2739 </div></li><li><span class="pre">layout</span> : ContainerLayout<div class="sub-desc"><p>The ContainerLayout implementation for this container</p>
2740 </div></li></ul></div></div></div><div id="event-afterrender" class="member inherited"><a href="Ext.window.MessageBox.html#event-afterrender" rel="event-afterrender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-afterrender" class="viewSource">view source</a></div><a name="afterrender"></a><a name="event-afterrender"></a><a href="Ext.window.MessageBox.html#" rel="event-afterrender" class="cls expand">afterrender</a>(
2741 <span class="pre">Ext.Component this</span>)
2742 </div><div class="description"><div class="short">Fires after the component rendering is finished.
2743
2744
2745 The afterrender event is fired after this Component has been rende...</div><div class="long"><p>Fires after the component rendering is finished.</p>
2746
2747
2748 <p>The afterrender event is fired after this Component has been <a href="Ext.window.MessageBox.html#rendered" rel="Ext.window.MessageBox#rendered" class="docClass">rendered</a>, been postprocesed
2749 by any afterRender method defined for the Component.</p>
2750
2751 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2752 </div></li></ul></div></div></div><div id="event-beforeactivate" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforeactivate" rel="event-beforeactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforeactivate" class="viewSource">view source</a></div><a name="beforeactivate"></a><a name="event-beforeactivate"></a><a href="Ext.window.MessageBox.html#" rel="event-beforeactivate" class="cls expand">beforeactivate</a>(
2753 <span class="pre">Ext.Component this</span>)
2754 </div><div class="description"><div class="short">Fires before a Component has been visually activated.
2755 Returning false from an event listener can prevent the activate...</div><div class="long"><p>Fires before a Component has been visually activated.
2756 Returning false from an event listener can prevent the activate
2757 from occurring.</p>
2758 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2759 </div></li></ul></div></div></div><div id="event-beforeadd" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforeadd" rel="event-beforeadd" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-beforeadd" class="viewSource">view source</a></div><a name="beforeadd"></a><a name="event-beforeadd"></a><a href="Ext.window.MessageBox.html#" rel="event-beforeadd" class="cls expand">beforeadd</a>(
2760 <span class="pre">Ext.container.Container this, Ext.Component component, Number index</span>)
2761 </div><div class="description"><div class="short"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.
2762 A handler can return false to cancel the add.</p>
2763 </div><div class="long"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.
2764 A handler can return false to cancel the add.</p>
2765 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2766 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component being added</p>
2767 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index at which the component will be added to the container's items collection</p>
2768 </div></li></ul></div></div></div><div id="event-beforecardswitch" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforecardswitch" rel="event-beforecardswitch" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-beforecardswitch" class="viewSource">view source</a></div><a name="beforecardswitch"></a><a name="event-beforecardswitch"></a><a href="Ext.window.MessageBox.html#" rel="event-beforecardswitch" class="cls expand">beforecardswitch</a>(
2769 <span class="pre">Ext.container.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated</span>)
2770 </div><div class="description"><div class="short">Fires before this container switches the active card. This event
2771 is only available if this container uses a CardLayou...</div><div class="long"><p>Fires before this container switches the active card. This event
2772 is only available if this container uses a CardLayout. Note that
2773 TabPanel and Carousel both get a CardLayout by default, so both
2774 will have this event.
2775 A handler can return false to cancel the card switch.</p>
2776 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2777 </div></li><li><span class="pre">newCard</span> : Ext.Component<div class="sub-desc"><p>The card that will be switched to</p>
2778 </div></li><li><span class="pre">oldCard</span> : Ext.Component<div class="sub-desc"><p>The card that will be switched from</p>
2779 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index of the card that will be switched to</p>
2780 </div></li><li><span class="pre">animated</span> : Boolean<div class="sub-desc"><p>True if this cardswitch will be animated</p>
2781 </div></li></ul></div></div></div><div id="event-beforedeactivate" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforedeactivate" rel="event-beforedeactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforedeactivate" class="viewSource">view source</a></div><a name="beforedeactivate"></a><a name="event-beforedeactivate"></a><a href="Ext.window.MessageBox.html#" rel="event-beforedeactivate" class="cls expand">beforedeactivate</a>(
2782 <span class="pre">Ext.Component this</span>)
2783 </div><div class="description"><div class="short">Fires before a Component has been visually deactivated.
2784 Returning false from an event listener can prevent the deacti...</div><div class="long"><p>Fires before a Component has been visually deactivated.
2785 Returning false from an event listener can prevent the deactivate
2786 from occurring.</p>
2787 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2788 </div></li></ul></div></div></div><div id="event-beforedestroy" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforedestroy" rel="event-beforedestroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforedestroy" class="viewSource">view source</a></div><a name="beforedestroy"></a><a name="event-beforedestroy"></a><a href="Ext.window.MessageBox.html#" rel="event-beforedestroy" class="cls expand">beforedestroy</a>(
2789 <span class="pre">Ext.Component this</span>)
2790 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.window.MessageBox.html#destroy" rel="Ext.window.MessageBox#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.window.MessageBox.html#destroy" rel="Ext.window.MessageBox#destroy" class="docClass">destroy</a>.</p>
2791 </div><div class="long"><p>Fires before the component is <a href="Ext.window.MessageBox.html#destroy" rel="Ext.window.MessageBox#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.window.MessageBox.html#destroy" rel="Ext.window.MessageBox#destroy" class="docClass">destroy</a>.</p>
2792 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2793 </div></li></ul></div></div></div><div id="event-beforehide" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforehide" rel="event-beforehide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforehide" class="viewSource">view source</a></div><a name="beforehide"></a><a name="event-beforehide"></a><a href="Ext.window.MessageBox.html#" rel="event-beforehide" class="cls expand">beforehide</a>(
2794 <span class="pre">Ext.Component this</span>)
2795 </div><div class="description"><div class="short"><p>Fires before the component is hidden when calling the <a href="Ext.window.MessageBox.html#hide" rel="Ext.window.MessageBox#hide" class="docClass">hide</a> method.
2796 Return false from an event handler to stop the hide.</p>
2797 </div><div class="long"><p>Fires before the component is hidden when calling the <a href="Ext.window.MessageBox.html#hide" rel="Ext.window.MessageBox#hide" class="docClass">hide</a> method.
2798 Return false from an event handler to stop the hide.</p>
2799 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2800 </div></li></ul></div></div></div><div id="event-beforeremove" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforeremove" rel="event-beforeremove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-beforeremove" class="viewSource">view source</a></div><a name="beforeremove"></a><a name="event-beforeremove"></a><a href="Ext.window.MessageBox.html#" rel="event-beforeremove" class="cls expand">beforeremove</a>(
2801 <span class="pre">Ext.container.Container this, Ext.Component component</span>)
2802 </div><div class="description"><div class="short"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.  A handler can return
2803 false to cancel the remove.</p>
2804 </div><div class="long"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.  A handler can return
2805 false to cancel the remove.</p>
2806 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2807 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component being removed</p>
2808 </div></li></ul></div></div></div><div id="event-beforerender" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforerender" rel="event-beforerender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforerender" class="viewSource">view source</a></div><a name="beforerender"></a><a name="event-beforerender"></a><a href="Ext.window.MessageBox.html#" rel="event-beforerender" class="cls expand">beforerender</a>(
2809 <span class="pre">Ext.Component this</span>)
2810 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.window.MessageBox.html#rendered" rel="Ext.window.MessageBox#rendered" class="docClass">rendered</a>. Return false from an
2811 event handler to stop the <a href="Ext.window.MessageBox.html#render" rel="Ext.window.MessageBox#render" class="docClass">render</a>.</p>
2812 </div><div class="long"><p>Fires before the component is <a href="Ext.window.MessageBox.html#rendered" rel="Ext.window.MessageBox#rendered" class="docClass">rendered</a>. Return false from an
2813 event handler to stop the <a href="Ext.window.MessageBox.html#render" rel="Ext.window.MessageBox#render" class="docClass">render</a>.</p>
2814 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2815 </div></li></ul></div></div></div><div id="event-beforeshow" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforeshow" rel="event-beforeshow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforeshow" class="viewSource">view source</a></div><a name="beforeshow"></a><a name="event-beforeshow"></a><a href="Ext.window.MessageBox.html#" rel="event-beforeshow" class="cls expand">beforeshow</a>(
2816 <span class="pre">Ext.Component this</span>)
2817 </div><div class="description"><div class="short"><p>Fires before the component is shown when calling the <a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a> method.
2818 Return false from an event handler to stop the show.</p>
2819 </div><div class="long"><p>Fires before the component is shown when calling the <a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a> method.
2820 Return false from an event handler to stop the show.</p>
2821 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2822 </div></li></ul></div></div></div><div id="event-beforestaterestore" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforestaterestore" rel="event-beforestaterestore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-beforestaterestore" class="viewSource">view source</a></div><a name="beforestaterestore"></a><a name="event-beforestaterestore"></a><a href="Ext.window.MessageBox.html#" rel="event-beforestaterestore" class="cls expand">beforestaterestore</a>(
2823 <span class="pre">Ext.state.Stateful this, Object state</span>)
2824 </div><div class="description"><div class="short"><p>Fires before the state of the object is restored. Return false from an event handler to stop the restore.</p>
2825 </div><div class="long"><p>Fires before the state of the object is restored. Return false from an event handler to stop the restore.</p>
2826 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2827 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values returned from the StateProvider. If this
2828 event is not vetoed, then the state object is passed to <b><tt>applyState</tt></b>. By default,
2829 that simply copies property values into this object. The method maybe overriden to
2830 provide custom state restoration.</p>
2831 </div></li></ul></div></div></div><div id="event-beforestatesave" class="member inherited"><a href="Ext.window.MessageBox.html#event-beforestatesave" rel="event-beforestatesave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-beforestatesave" class="viewSource">view source</a></div><a name="beforestatesave"></a><a name="event-beforestatesave"></a><a href="Ext.window.MessageBox.html#" rel="event-beforestatesave" class="cls expand">beforestatesave</a>(
2832 <span class="pre">Ext.state.Stateful this, Object state</span>)
2833 </div><div class="description"><div class="short"><p>Fires before the state of the object is saved to the configured state provider. Return false to stop the save.</p>
2834 </div><div class="long"><p>Fires before the state of the object is saved to the configured state provider. Return false to stop the save.</p>
2835 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2836 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2837 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2838 developer to return whetever representation of state is required, by default, <a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="docClass">Ext.state.Stateful</a>
2839 has a null implementation.</p>
2840 </div></li></ul></div></div></div><div id="event-bodyresize" class="member inherited"><a href="Ext.window.MessageBox.html#event-bodyresize" rel="event-bodyresize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-event-bodyresize" class="viewSource">view source</a></div><a name="bodyresize"></a><a name="event-bodyresize"></a><a href="Ext.window.MessageBox.html#" rel="event-bodyresize" class="cls expand">bodyresize</a>(
2841 <span class="pre">Ext.panel.Panel p, Number width, Number height</span>)
2842 </div><div class="description"><div class="short"><p>Fires after the Panel has been resized.</p>
2843 </div><div class="long"><p>Fires after the Panel has been resized.</p>
2844 <h3 class="pa">Parameters</h3><ul><li><span class="pre">p</span> : Ext.panel.Panel<div class="sub-desc"><p>the Panel which has been resized.</p>
2845 </div></li><li><span class="pre">width</span> : Number<div class="sub-desc"><p>The Panel body's new width.</p>
2846 </div></li><li><span class="pre">height</span> : Number<div class="sub-desc"><p>The Panel body's new height.</p>
2847 </div></li></ul></div></div></div><div id="event-cardswitch" class="member inherited"><a href="Ext.window.MessageBox.html#event-cardswitch" rel="event-cardswitch" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-cardswitch" class="viewSource">view source</a></div><a name="cardswitch"></a><a name="event-cardswitch"></a><a href="Ext.window.MessageBox.html#" rel="event-cardswitch" class="cls expand">cardswitch</a>(
2848 <span class="pre">Ext.container.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated</span>)
2849 </div><div class="description"><div class="short">Fires after this container switches the active card. If the card
2850 is switched using an animation, this event will fire...</div><div class="long"><p>Fires after this container switches the active card. If the card
2851 is switched using an animation, this event will fire after the
2852 animation has finished. This event is only available if this container
2853 uses a CardLayout. Note that TabPanel and Carousel both get a CardLayout
2854 by default, so both will have this event.</p>
2855 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2856 </div></li><li><span class="pre">newCard</span> : Ext.Component<div class="sub-desc"><p>The card that has been switched to</p>
2857 </div></li><li><span class="pre">oldCard</span> : Ext.Component<div class="sub-desc"><p>The card that has been switched from</p>
2858 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index of the card that has been switched to</p>
2859 </div></li><li><span class="pre">animated</span> : Boolean<div class="sub-desc"><p>True if this cardswitch was animated</p>
2860 </div></li></ul></div></div></div><div id="event-deactivate" class="member inherited"><a href="Ext.window.MessageBox.html#event-deactivate" rel="event-deactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-event-deactivate" class="viewSource">view source</a></div><a name="deactivate"></a><a name="event-deactivate"></a><a href="Ext.window.MessageBox.html#" rel="event-deactivate" class="cls expand">deactivate</a>(
2861 <span class="pre">Ext.window.Window this</span>)
2862 </div><div class="description"><div class="short"><p>Fires after the window has been visually deactivated via <a href="Ext.window.MessageBox.html#setActive" rel="Ext.window.MessageBox#setActive" class="docClass">setActive</a>.</p>
2863 </div><div class="long"><p>Fires after the window has been visually deactivated via <a href="Ext.window.MessageBox.html#setActive" rel="Ext.window.MessageBox#setActive" class="docClass">setActive</a>.</p>
2864 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.window.Window<div class="sub-desc">
2865 </div></li></ul></div></div></div><div id="event-destroy" class="member inherited"><a href="Ext.window.MessageBox.html#event-destroy" rel="event-destroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-destroy" class="viewSource">view source</a></div><a name="destroy"></a><a name="event-destroy"></a><a href="Ext.window.MessageBox.html#" rel="event-destroy" class="cls expand">destroy</a>(
2866 <span class="pre">Ext.Component this</span>)
2867 </div><div class="description"><div class="short"><p>Fires after the component is <a href="Ext.window.MessageBox.html#destroy" rel="Ext.window.MessageBox#destroy" class="docClass">destroy</a>ed.</p>
2868 </div><div class="long"><p>Fires after the component is <a href="Ext.window.MessageBox.html#destroy" rel="Ext.window.MessageBox#destroy" class="docClass">destroy</a>ed.</p>
2869 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2870 </div></li></ul></div></div></div><div id="event-disable" class="member inherited"><a href="Ext.window.MessageBox.html#event-disable" rel="event-disable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-disable" class="viewSource">view source</a></div><a name="disable"></a><a name="event-disable"></a><a href="Ext.window.MessageBox.html#" rel="event-disable" class="cls expand">disable</a>(
2871 <span class="pre">Ext.Component this</span>)
2872 </div><div class="description"><div class="short"><p>Fires after the component is disabled.</p>
2873 </div><div class="long"><p>Fires after the component is disabled.</p>
2874 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2875 </div></li></ul></div></div></div><div id="event-enable" class="member inherited"><a href="Ext.window.MessageBox.html#event-enable" rel="event-enable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-enable" class="viewSource">view source</a></div><a name="enable"></a><a name="event-enable"></a><a href="Ext.window.MessageBox.html#" rel="event-enable" class="cls expand">enable</a>(
2876 <span class="pre">Ext.Component this</span>)
2877 </div><div class="description"><div class="short"><p>Fires after the component is enabled.</p>
2878 </div><div class="long"><p>Fires after the component is enabled.</p>
2879 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2880 </div></li></ul></div></div></div><div id="event-hide" class="member inherited"><a href="Ext.window.MessageBox.html#event-hide" rel="event-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="event-hide"></a><a href="Ext.window.MessageBox.html#" rel="event-hide" class="cls expand">hide</a>(
2881 <span class="pre">Ext.Component this</span>)
2882 </div><div class="description"><div class="short"><p>Fires after the component is hidden.
2883 Fires after the component is hidden when calling the <a href="Ext.window.MessageBox.html#hide" rel="Ext.window.MessageBox#hide" class="docClass">hide</a> method.</p>
2884 </div><div class="long"><p>Fires after the component is hidden.
2885 Fires after the component is hidden when calling the <a href="Ext.window.MessageBox.html#hide" rel="Ext.window.MessageBox#hide" class="docClass">hide</a> method.</p>
2886 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2887 </div></li></ul></div></div></div><div id="event-iconchange" class="member inherited"><a href="Ext.window.MessageBox.html#event-iconchange" rel="event-iconchange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-event-iconchange" class="viewSource">view source</a></div><a name="iconchange"></a><a name="event-iconchange"></a><a href="Ext.window.MessageBox.html#" rel="event-iconchange" class="cls expand">iconchange</a>(
2888 <span class="pre">Ext.panel.Panel p, String newIconCls, String oldIconCls</span>)
2889 </div><div class="description"><div class="short"><p>Fires after the Panel iconCls has been set or changed.</p>
2890 </div><div class="long"><p>Fires after the Panel iconCls has been set or changed.</p>
2891 <h3 class="pa">Parameters</h3><ul><li><span class="pre">p</span> : Ext.panel.Panel<div class="sub-desc"><p>the Panel which has been resized.</p>
2892 </div></li><li><span class="pre">newIconCls</span> : String<div class="sub-desc"><p>The new iconCls.</p>
2893 </div></li><li><span class="pre">oldIconCls</span> : String<div class="sub-desc"><p>The previous panel iconCls.</p>
2894 </div></li></ul></div></div></div><div id="event-maximize" class="member inherited"><a href="Ext.window.MessageBox.html#event-maximize" rel="event-maximize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-event-maximize" class="viewSource">view source</a></div><a name="maximize"></a><a name="event-maximize"></a><a href="Ext.window.MessageBox.html#" rel="event-maximize" class="cls expand">maximize</a>(
2895 <span class="pre">Ext.window.Window this</span>)
2896 </div><div class="description"><div class="short"><p>Fires after the window has been maximized.</p>
2897 </div><div class="long"><p>Fires after the window has been maximized.</p>
2898 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.window.Window<div class="sub-desc">
2899 </div></li></ul></div></div></div><div id="event-minimize" class="member inherited"><a href="Ext.window.MessageBox.html#event-minimize" rel="event-minimize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-event-minimize" class="viewSource">view source</a></div><a name="minimize"></a><a name="event-minimize"></a><a href="Ext.window.MessageBox.html#" rel="event-minimize" class="cls expand">minimize</a>(
2900 <span class="pre">Ext.window.Window this</span>)
2901 </div><div class="description"><div class="short"><p>Fires after the window has been minimized.</p>
2902 </div><div class="long"><p>Fires after the window has been minimized.</p>
2903 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.window.Window<div class="sub-desc">
2904 </div></li></ul></div></div></div><div id="event-move" class="member inherited"><a href="Ext.window.MessageBox.html#event-move" rel="event-move" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-move" class="viewSource">view source</a></div><a name="move"></a><a name="event-move"></a><a href="Ext.window.MessageBox.html#" rel="event-move" class="cls expand">move</a>(
2905 <span class="pre">Ext.Component this, Number x, Number y</span>)
2906 </div><div class="description"><div class="short"><p>Fires after the component is moved.</p>
2907 </div><div class="long"><p>Fires after the component is moved.</p>
2908 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2909 </div></li><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2910 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2911 </div></li></ul></div></div></div><div id="event-remove" class="member inherited"><a href="Ext.window.MessageBox.html#event-remove" rel="event-remove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-remove" class="viewSource">view source</a></div><a name="remove"></a><a name="event-remove"></a><a href="Ext.window.MessageBox.html#" rel="event-remove" class="cls expand">remove</a>(
2912 <span class="pre">Ext.container.Container this, Ext.Component component</span>)
2913 </div><div class="description"><div class="short"><p>@bubbles
2914 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.</p>
2915 </div><div class="long"><p>@bubbles
2916 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.</p>
2917 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2918 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component that was removed</p>
2919 </div></li></ul></div></div></div><div id="event-removed" class="member inherited"><a href="Ext.window.MessageBox.html#event-removed" rel="event-removed" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-removed" class="viewSource">view source</a></div><a name="removed"></a><a name="event-removed"></a><a href="Ext.window.MessageBox.html#" rel="event-removed" class="cls expand">removed</a>(
2920 <span class="pre">Ext.Component this, Ext.container.Container ownerCt</span>)
2921 </div><div class="description"><div class="short"><p>Fires when a component is removed from an Ext.container.Container</p>
2922 </div><div class="long"><p>Fires when a component is removed from an Ext.container.Container</p>
2923 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2924 </div></li><li><span class="pre">ownerCt</span> : Ext.container.Container<div class="sub-desc"><p>Container which holds the component</p>
2925 </div></li></ul></div></div></div><div id="event-render" class="member inherited"><a href="Ext.window.MessageBox.html#event-render" rel="event-render" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-render" class="viewSource">view source</a></div><a name="render"></a><a name="event-render"></a><a href="Ext.window.MessageBox.html#" rel="event-render" class="cls expand">render</a>(
2926 <span class="pre">Ext.Component this</span>)
2927 </div><div class="description"><div class="short"><p>Fires after the component markup is <a href="Ext.window.MessageBox.html#rendered" rel="Ext.window.MessageBox#rendered" class="docClass">rendered</a>.</p>
2928 </div><div class="long"><p>Fires after the component markup is <a href="Ext.window.MessageBox.html#rendered" rel="Ext.window.MessageBox#rendered" class="docClass">rendered</a>.</p>
2929 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2930 </div></li></ul></div></div></div><div id="event-resize" class="member inherited"><a href="Ext.window.MessageBox.html#event-resize" rel="event-resize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-event-resize" class="viewSource">view source</a></div><a name="resize"></a><a name="event-resize"></a><a href="Ext.window.MessageBox.html#" rel="event-resize" class="cls expand">resize</a>(
2931 <span class="pre">Ext.window.Window this, Number width, Number height</span>)
2932 </div><div class="description"><div class="short"><p>Fires after the window has been resized.</p>
2933 </div><div class="long"><p>Fires after the window has been resized.</p>
2934 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.window.Window<div class="sub-desc">
2935 </div></li><li><span class="pre">width</span> : Number<div class="sub-desc"><p>The window's new width</p>
2936 </div></li><li><span class="pre">height</span> : Number<div class="sub-desc"><p>The window's new height</p>
2937 </div></li></ul></div></div></div><div id="event-restore" class="member inherited"><a href="Ext.window.MessageBox.html#event-restore" rel="event-restore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.window.Window.html" class="definedIn docClass">Ext.window.Window</a><br/><a href="../source/Window.html#Ext-window.Window-event-restore" class="viewSource">view source</a></div><a name="restore"></a><a name="event-restore"></a><a href="Ext.window.MessageBox.html#" rel="event-restore" class="cls expand">restore</a>(
2938 <span class="pre">Ext.window.Window this</span>)
2939 </div><div class="description"><div class="short"><p>Fires after the window has been restored to its original size after being maximized.</p>
2940 </div><div class="long"><p>Fires after the window has been restored to its original size after being maximized.</p>
2941 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.window.Window<div class="sub-desc">
2942 </div></li></ul></div></div></div><div id="event-show" class="member inherited"><a href="Ext.window.MessageBox.html#event-show" rel="event-show" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-show" class="viewSource">view source</a></div><a name="show"></a><a name="event-show"></a><a href="Ext.window.MessageBox.html#" rel="event-show" class="cls expand">show</a>(
2943 <span class="pre">Ext.Component this</span>)
2944 </div><div class="description"><div class="short"><p>Fires after the component is shown when calling the <a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a> method.</p>
2945 </div><div class="long"><p>Fires after the component is shown when calling the <a href="Ext.window.MessageBox.html#show" rel="Ext.window.MessageBox#show" class="docClass">show</a> method.</p>
2946 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2947 </div></li></ul></div></div></div><div id="event-staterestore" class="member inherited"><a href="Ext.window.MessageBox.html#event-staterestore" rel="event-staterestore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-staterestore" class="viewSource">view source</a></div><a name="staterestore"></a><a name="event-staterestore"></a><a href="Ext.window.MessageBox.html#" rel="event-staterestore" class="cls expand">staterestore</a>(
2948 <span class="pre">Ext.state.Stateful this, Object state</span>)
2949 </div><div class="description"><div class="short"><p>Fires after the state of the object is restored.</p>
2950 </div><div class="long"><p>Fires after the state of the object is restored.</p>
2951 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2952 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values returned from the StateProvider. This is passed
2953 to <b><tt>applyState</tt></b>. By default, that simply copies property values into this
2954 object. The method maybe overriden to provide custom state restoration.</p>
2955 </div></li></ul></div></div></div><div id="event-statesave" class="member inherited"><a href="Ext.window.MessageBox.html#event-statesave" rel="event-statesave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-statesave" class="viewSource">view source</a></div><a name="statesave"></a><a name="event-statesave"></a><a href="Ext.window.MessageBox.html#" rel="event-statesave" class="cls expand">statesave</a>(
2956 <span class="pre">Ext.state.Stateful this, Object state</span>)
2957 </div><div class="description"><div class="short"><p>Fires after the state of the object is saved to the configured state provider.</p>
2958 </div><div class="long"><p>Fires after the state of the object is saved to the configured state provider.</p>
2959 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2960 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2961 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2962 developer to return whetever representation of state is required, by default, <a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="docClass">Ext.state.Stateful</a>
2963 has a null implementation.</p>
2964 </div></li></ul></div></div></div><div id="event-titlechange" class="member inherited"><a href="Ext.window.MessageBox.html#event-titlechange" rel="event-titlechange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-event-titlechange" class="viewSource">view source</a></div><a name="titlechange"></a><a name="event-titlechange"></a><a href="Ext.window.MessageBox.html#" rel="event-titlechange" class="cls expand">titlechange</a>(
2965 <span class="pre">Ext.panel.Panel p, String newTitle, String oldTitle</span>)
2966 </div><div class="description"><div class="short"><p>Fires after the Panel title has been set or changed.</p>
2967 </div><div class="long"><p>Fires after the Panel title has been set or changed.</p>
2968 <h3 class="pa">Parameters</h3><ul><li><span class="pre">p</span> : Ext.panel.Panel<div class="sub-desc"><p>the Panel which has been resized.</p>
2969 </div></li><li><span class="pre">newTitle</span> : String<div class="sub-desc"><p>The new title.</p>
2970 </div></li><li><span class="pre">oldTitle</span> : String<div class="sub-desc"><p>The previous panel title.</p>
2971 </div></li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>