Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.tip.ToolTip.html
1 <!DOCTYPE html><html><head><title>Ext.tip.ToolTip | 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.tip.ToolTip',
13         docClass: 'Ext.tip.ToolTip',
14         docReq: 'Ext.tip.ToolTip',
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 = 'ToolTip.html#Ext-tip.ToolTip';
33     clsInfo = {"methods":["ToolTip","add","addClass","addCls","addClsWithUI","addDocked","addEvents","addListener","addManagedListener","addStateEvents","afterComponentLayout","alignTo","animate","applyState","beforeComponentLayout","beforeLayout","bubble","capture","cascade","center","child","clearListeners","clearManagedListeners","cloneConfig","close","collapse","destroy","disable","doAutoRender","doComponentLayout","doConstrain","doLayout","down","enable","enableBubble","expand","findLayoutController","findParentBy","findParentByType","fireEvent","focus","getActiveAnimation","getBox","getBubbleTarget","getChildByElement","getComponent","getDockedComponent","getDockedItems","getEl","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","move","nextNode","nextSibling","observe","on","previousNode","previousSibling","query","relayEvents","releaseCapture","remove","removeAll","removeCls","removeClsWithUI","removeDocked","removeListener","removeManagedListener","resumeEvents","sequenceFx","setActive","setAutoScroll","setDisabled","setDocked","setHeight","setIconCls","setLoading","setPagePosition","setPosition","setSize","setTarget","setTitle","setUI","setVisible","setWidth","show","showAt","showBy","stopAnimation","suspendEvents","syncFx","toBack","toFront","toggleCollapse","un","up","update","updateBox"],"cfgs":["activeItem","anchor","anchorOffset","anchorToTarget","animCollapse","autoDestroy","autoEl","autoHide","autoRender","autoScroll","autoShow","baseCls","bbar","bodyBorder","bodyCls","bodyPadding","bodyStyle","border","bubbleEvents","buttons","closable","closeAction","cls","collapseDirection","collapseFirst","collapseMode","collapsed","collapsedCls","collapsible","componentCls","componentLayout","constrainPosition","contentEl","data","defaultAlign","defaultType","defaults","delegate","disabled","disabledCls","dismissDelay","dockedItems","draggable","fbar","floatable","floating","focusOnToFront","frame","frameHeader","headerPosition","height","hidden","hideCollapseTool","hideDelay","hideMode","html","id","itemId","items","layout","lbar","listeners","loader","maintainFlex","margin","maxHeight","maxWidth","minButtonWidth","minHeight","minWidth","mouseOffset","overCls","padding","placeholder","plugins","preventHeader","rbar","renderSelectors","renderTo","renderTpl","resizable","resizeHandles","saveBuffer","shadow","showDelay","stateEvents","stateId","stateful","style","styleHtmlCls","styleHtmlContent","suspendLayout","target","tbar","titleCollapse","toFrontOnShow","tools","tpl","tplWriteMode","trackMouse","ui","width"],"properties":["dd","draggable","floatParent","frame","frameSize","hasActiveFx","items","maskOnDisable","ownerCt","rendered","stopFx","triggerElement","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","move","remove","removed","render","resize","show","staterestore","statesave","titlechange"],"subclasses":["Ext.tip.QuickTip"]};
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/ToolTip.html#Ext-tip.ToolTip" target="_blank">Ext.tip.ToolTip</a><span>xtype: tooltip</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.tip.Tip.html" rel="Ext.tip.Tip" class="cls docClass">Ext.tip.Tip</a><div class="subclass"><strong>Ext.tip.ToolTip</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>ToolTip is a <a href="Ext.tip.Tip.html" rel="Ext.tip.Tip" class="docClass">Ext.tip.Tip</a> implementation that handles the common case of displaying a
38 tooltip when hovering over a certain element or elements on the page. It allows fine-grained
39 control over the tooltip's alignment relative to the target element or mouse, and the timing
40 of when it is automatically shown and hidden.</p>
41
42 <p>This implementation does <strong>not</strong> have a built-in method of automatically populating the tooltip's
43 text based on the target element; you must either configure a fixed <a href="Ext.tip.ToolTip.html#html" rel="Ext.tip.ToolTip#html" class="docClass">html</a> value for each
44 ToolTip instance, or implement custom logic (e.g. in a <a href="Ext.tip.ToolTip.html#beforeshow" rel="Ext.tip.ToolTip#beforeshow" class="docClass">beforeshow</a> event listener) to
45 generate the appropriate tooltip content on the fly. See <a href="Ext.tip.QuickTip.html" rel="Ext.tip.QuickTip" class="docClass">Ext.tip.QuickTip</a> for a more
46 convenient way of automatically populating and configuring a tooltip based on specific DOM
47 attributes of each target element.</p>
48
49 <h2>Basic Example</h2>
50
51 <pre class="prettyprint"><code>var tip = Ext.create('Ext.tip.ToolTip', {
52     target: 'clearButton',
53     html: 'Press this button to clear the form'
54 });
55 </code></pre>
56
57 <p><img class="screenshot" src="../Ext.tip.ToolTip1.png" alt="Basic Ext.tip.ToolTip" /></p>
58
59 <h2>Delegation</h2>
60
61 <p>In addition to attaching a ToolTip to a single element, you can also use delegation to attach
62 one ToolTip to many elements under a common parent. This is more efficient than creating many
63 ToolTip instances. To do this, point the <a href="Ext.tip.ToolTip.html#target" rel="Ext.tip.ToolTip#target" class="docClass">target</a> config to a common ancestor of all the
64 elements, and then set the <a href="Ext.tip.ToolTip.html#delegate" rel="Ext.tip.ToolTip#delegate" class="docClass">delegate</a> config to a CSS selector that will select all the
65 appropriate sub-elements.</p>
66
67 <p>When using delegation, it is likely that you will want to programmatically change the content
68 of the ToolTip based on each delegate element; you can do this by implementing a custom
69 listener for the <a href="Ext.tip.ToolTip.html#beforeshow" rel="Ext.tip.ToolTip#beforeshow" class="docClass">beforeshow</a> event. Example:</p>
70
71 <pre class="prettyprint"><code>var myGrid = Ext.create('Ext.grid.GridPanel', gridConfig);
72 myGrid.on('render', function(grid) {
73     var view = grid.getView();    // Capture the grid's view.
74     grid.tip = Ext.create('Ext.tip.ToolTip', {
75         target: view.el,          // The overall target element.
76         delegate: view.itemSelector, // Each grid row causes its own seperate show and hide.
77         trackMouse: true,         // Moving within the row should not hide the tip.
78         renderTo: Ext.getBody(),  // Render immediately so that tip.body can be referenced prior to the first show.
79         listeners: {              // Change content dynamically depending on which element triggered the show.
80             beforeshow: function updateTipBody(tip) {
81                 tip.update('Over company "' + view.getRecord(tip.triggerElement).get('company') + '"');
82             }
83         }
84     });
85 });
86 </code></pre>
87
88 <p><img class="screenshot" src="../Ext.tip.ToolTip2.png" alt="Ext.tip.ToolTip with delegation" /></p>
89
90 <h2>Alignment</h2>
91
92 <p>The following configuration properties allow control over how the ToolTip is aligned relative to
93 the target element and/or mouse pointer:</p>
94
95 <ul>
96 <li><a href="Ext.tip.ToolTip.html#anchor" rel="Ext.tip.ToolTip#anchor" class="docClass">anchor</a></li>
97 <li><a href="Ext.tip.ToolTip.html#anchorToTarget" rel="Ext.tip.ToolTip#anchorToTarget" class="docClass">anchorToTarget</a></li>
98 <li><a href="Ext.tip.ToolTip.html#anchorOffset" rel="Ext.tip.ToolTip#anchorOffset" class="docClass">anchorOffset</a></li>
99 <li><a href="Ext.tip.ToolTip.html#trackMouse" rel="Ext.tip.ToolTip#trackMouse" class="docClass">trackMouse</a></li>
100 <li><a href="Ext.tip.ToolTip.html#mouseOffset" rel="Ext.tip.ToolTip#mouseOffset" class="docClass">mouseOffset</a></li>
101 </ul>
102
103
104 <h2>Showing/Hiding</h2>
105
106 <p>The following configuration properties allow control over how and when the ToolTip is automatically
107 shown and hidden:</p>
108
109 <ul>
110 <li><a href="Ext.tip.ToolTip.html#autoHide" rel="Ext.tip.ToolTip#autoHide" class="docClass">autoHide</a></li>
111 <li><a href="Ext.tip.ToolTip.html#showDelay" rel="Ext.tip.ToolTip#showDelay" class="docClass">showDelay</a></li>
112 <li><a href="Ext.tip.ToolTip.html#hideDelay" rel="Ext.tip.ToolTip#hideDelay" class="docClass">hideDelay</a></li>
113 <li><a href="Ext.tip.ToolTip.html#dismissDelay" rel="Ext.tip.ToolTip#dismissDelay" class="docClass">dismissDelay</a></li>
114 </ul>
115
116 <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.tip.ToolTip.html#config-baseCls" rel="config-baseCls" class="expand more"><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-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.tip.ToolTip.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 <code>'x-panel'</code>).</p>
117 </div><div class="long"><p>The base CSS class to apply to this panel's element (defaults to <code>'x-panel'</code>).</p>
118 </div></div></div><div id="config-bodyCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
119 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.
120 The following examples are all valid:</p>
121
122 <pre><code>bodyCls: 'foo'
123 bodyCls: 'foo bar'
124 bodyCls: ['foo', 'bar']
125 </code></pre>
126
127 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
128 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
129 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
130 </div></div></div><div id="config-collapsedCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
131 <code>'collapsed'</code>).</p>
132 </div><div class="long"><p>A CSS class to add to the panel&#39;s element after it has been collapsed (defaults to
133 <code>'collapsed'</code>).</p>
134 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
135 via styling.</p>
136 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
137 via styling.</p>
138 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
139 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
140 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
141 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
142 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
143 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
144 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
145 Defaults to 'x-html'</p>
146 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
147 Defaults to 'x-html'</p>
148 </div></div></div><h4 class="cfgGroup">Other Configs</h4><div id="config-activeItem" class="member f inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
149 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
150 container's layout on render.  For example, activeItem: 'item-1' or activeItem: 0 (index 0 = the first
151 item in the container's collection).  activeItem only applies to layout styles that can display
152 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>
153 </div></div></div><div id="config-anchor" class="member ni"><a href="Ext.tip.ToolTip.html#config-anchor" rel="config-anchor" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-anchor" class="viewSource">view source</a></div><a name="anchor"></a><a name="config-anchor"></a><a href="Ext.tip.ToolTip.html#" rel="config-anchor" class="cls expand">anchor</a><span> : String</span></div><div class="description"><div class="short">If specified, indicates that the tip should be anchored to a
154 particular side of the target element or mouse pointer (...</div><div class="long"><p>If specified, indicates that the tip should be anchored to a
155 particular side of the target element or mouse pointer ("top", "right", "bottom",
156 or "left"), with an arrow pointing back at the target or mouse pointer. If
157 <a href="Ext.tip.ToolTip.html#constrainPosition" rel="Ext.tip.ToolTip#constrainPosition" class="docClass">constrainPosition</a> is enabled, this will be used as a preferred value
158 only and may be flipped as needed.</p>
159 </div></div></div><div id="config-anchorOffset" class="member ni"><a href="Ext.tip.ToolTip.html#config-anchorOffset" rel="config-anchorOffset" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-anchorOffset" class="viewSource">view source</a></div><a name="anchorOffset"></a><a name="config-anchorOffset"></a><a href="Ext.tip.ToolTip.html#" rel="config-anchorOffset" class="cls expand">anchorOffset</a><span> : Number</span></div><div class="description"><div class="short">A numeric pixel value used to offset the
160 default position of the anchor arrow (defaults to 0).  When the anchor
161 posit...</div><div class="long"><p>A numeric pixel value used to offset the
162 default position of the anchor arrow (defaults to 0).  When the anchor
163 position is on the top or bottom of the tooltip, <code>anchorOffset</code>
164 will be used as a horizontal offset.  Likewise, when the anchor position
165 is on the left or right side, <code>anchorOffset</code> will be used as
166 a vertical offset.</p>
167 </div></div></div><div id="config-anchorToTarget" class="member ni"><a href="Ext.tip.ToolTip.html#config-anchorToTarget" rel="config-anchorToTarget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-anchorToTarget" class="viewSource">view source</a></div><a name="anchorToTarget"></a><a name="config-anchorToTarget"></a><a href="Ext.tip.ToolTip.html#" rel="config-anchorToTarget" class="cls expand">anchorToTarget</a><span> : Boolean</span></div><div class="description"><div class="short">True to anchor the tooltip to the target
168 element, false to anchor it relative to the mouse coordinates (defaults
169 to t...</div><div class="long"><p>True to anchor the tooltip to the target
170 element, false to anchor it relative to the mouse coordinates (defaults
171 to true).  When <code>anchorToTarget</code> is true, use
172 <code><a href="Ext.tip.ToolTip.html#defaultAlign" rel="Ext.tip.ToolTip#defaultAlign" class="docClass">defaultAlign</a></code> to control tooltip alignment to the
173 target element.  When <code>anchorToTarget</code> is false, use
174 <code><a href="Ext.tip.ToolTip.html#anchorPosition" rel="Ext.tip.ToolTip#anchorPosition" class="docClass">anchorPosition</a></code> instead to control alignment.</p>
175 </div></div></div><div id="config-animCollapse" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
176 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
177 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>).
178 May also be specified as the animation duration in milliseconds.</p>
179 </div></div></div><div id="config-autoDestroy" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
180 destruction mu...</div><div class="long"><p>If true the container will automatically destroy any contained component that is removed from it, else
181 destruction must be handled manually.
182 Defaults to true.</p>
183 </div></div></div><div id="config-autoEl" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
184 encapsulate this Component.
185
186
187 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.tip.ToolTip.html#getEl" rel="Ext.tip.ToolTip#getEl" class="docClass">Element</a> which will
188 encapsulate this Component.</p>
189
190
191 <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>,
192 this defaults to <b><tt>'div'</tt></b>. The more complex Sencha classes use a more complex
193 DOM structure specified by their own <a href="Ext.tip.ToolTip.html#renderTpl" rel="Ext.tip.ToolTip#renderTpl" class="docClass">renderTpl</a>s.</p>
194
195
196 <p>This is intended to allow the developer to create application-specific utility Components encapsulated by
197 different DOM elements. Example usage:</p>
198
199
200 <pre><code>{
201     xtype: 'component',
202     autoEl: {
203         tag: 'img',
204         src: 'http://www.example.com/example.jpg'
205     }
206 }, {
207     xtype: 'component',
208     autoEl: {
209         tag: 'blockquote',
210         html: 'autoEl is cool!'
211     }
212 }, {
213     xtype: 'container',
214     autoEl: 'ul',
215     cls: 'ux-unordered-list',
216     items: {
217         xtype: 'component',
218         autoEl: 'li',
219         html: 'First list item'
220     }
221 }
222 </code></pre>
223
224 </div></div></div><div id="config-autoHide" class="member ni"><a href="Ext.tip.ToolTip.html#config-autoHide" rel="config-autoHide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-autoHide" class="viewSource">view source</a></div><a name="autoHide"></a><a name="config-autoHide"></a><a href="Ext.tip.ToolTip.html#" rel="config-autoHide" class="cls expand">autoHide</a><span> : Boolean</span></div><div class="description"><div class="short">True to automatically hide the tooltip after the
225 mouse exits the target element or after the dismissDelay
226 has expired...</div><div class="long"><p>True to automatically hide the tooltip after the
227 mouse exits the target element or after the <code><a href="Ext.tip.ToolTip.html#dismissDelay" rel="Ext.tip.ToolTip#dismissDelay" class="docClass">dismissDelay</a></code>
228 has expired if set (defaults to true).  If <code><a href="Ext.tip.ToolTip.html#closable" rel="Ext.tip.ToolTip#closable" class="docClass">closable</a> = true</code>
229 a close tool button will be rendered into the tooltip header.</p>
230 </div></div></div><div id="config-autoRender" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
231 of using renderTo in th...</div><div class="long"><p>This config is intended mainly for <a href="Ext.tip.ToolTip.html#floating" rel="Ext.tip.ToolTip#floating" class="docClass">floating</a> Components which may or may not be shown. Instead
232 of using <a href="Ext.tip.ToolTip.html#renderTo" rel="Ext.tip.ToolTip#renderTo" class="docClass">renderTo</a> in the configuration, and rendering upon construction, this allows a Component
233 to render itself upon first <i><a href="Ext.tip.ToolTip.html#show" rel="Ext.tip.ToolTip#show" class="docClass">show</a></i>.</p>
234
235
236 <p>Specify as <code>true</code> to have this Component render to the document body upon first show.</p>
237
238
239 <p>Specify as an element, or the ID of an element to have this Component render to a specific element upon first show.</p>
240
241
242 <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>
243
244 </div></div></div><div id="config-autoScroll" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
245 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
246 necessary, <code>false</code> to clip any overflowing content (defaults to <code>false</code>).</p>
247 </div></div></div><div id="config-autoShow" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
248 This config option may only be used for floating components o...</div><div class="long"><p>True to automatically show the component upon creation.
249 This config option may only be used for <a href="Ext.tip.ToolTip.html#floating" rel="Ext.tip.ToolTip#floating" class="docClass">floating</a> components or components
250 that use <a href="Ext.tip.ToolTip.html#autoRender" rel="Ext.tip.ToolTip#autoRender" class="docClass">autoRender</a>. Defaults to <tt>false</tt>.</p>
251 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.tip.ToolTip.html#config-baseCls" rel="config-baseCls" class="expand more"><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-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.tip.ToolTip.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 <code>'x-panel'</code>).</p>
252 </div><div class="long"><p>The base CSS class to apply to this panel's element (defaults to <code>'x-panel'</code>).</p>
253 </div></div></div><div id="config-bbar" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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'.
254
255 bbar: [
256   { xtype: 'button', text: 'Button 1' }
257 ]
258
259
260 is equivalent to
261
262 do...</div><div class="long"><p>Convenience method. Short for 'Bottom Bar'.</p>
263
264 <pre><code>bbar: [
265   { xtype: 'button', text: 'Button 1' }
266 ]
267 </code></pre>
268
269 <p>is equivalent to</p>
270
271 <pre><code>dockedItems: [{
272     xtype: 'toolbar',
273     dock: 'bottom',
274     items: [
275         { xtype: 'button', text: 'Button 1' }
276     ]
277 }]
278 </code></pre>
279 </div></div></div><div id="config-bodyBorder" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.tip.ToolTip.html#frame" rel="Ext.tip.ToolTip#frame" class="docClass">frame</a> configuration set to <code>true</code>.
280 Defaults to <code>undefined</code>.</p>
281 </div></div></div><div id="config-bodyCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
282 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.
283 The following examples are all valid:</p>
284
285 <pre><code>bodyCls: 'foo'
286 bodyCls: 'foo bar'
287 bodyCls: ['foo', 'bar']
288 </code></pre>
289
290 </div></div></div><div id="config-bodyPadding" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
291 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
292 a number to be applied to all sides, or a normal css string describing padding.
293 Defaults to <code>undefined</code>.</p>
294 </div></div></div><div id="config-bodyStyle" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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,
295 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,
296 an object containing style property name/value pairs or a function that returns such a string or object.
297 For example, these two formats are interpreted to be equivalent:</p>
298
299 <pre><code>bodyStyle: 'background:#ffc; padding:10px;'
300
301 bodyStyle: {
302     background: '#ffc',
303     padding: '10px'
304 }
305 </code></pre>
306
307 </div></div></div><div id="config-border" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
308 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
309 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
310 </div></div></div><div id="config-bubbleEvents" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
311 See Ext.util.Observable.enableBubble....</div><div class="long"><p>An array of events that, when fired, should be bubbled to any parent container.
312 See <a href="Ext.util.Observable.html#enableBubble" rel="Ext.util.Observable#enableBubble" class="docClass">Ext.util.Observable.enableBubble</a>.
313 Defaults to <code>['add', 'remove']</code>.
314
315 </div></div></div><div id="config-buttons" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
316 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
317 synonym for the <a href="Ext.tip.ToolTip.html#fbar" rel="Ext.tip.ToolTip#fbar" class="docClass">fbar</a> config.</p>
318
319 <pre><code>buttons: [
320   { text: 'Button 1' }
321 ]
322 </code></pre>
323
324 <p>is equivalent to</p>
325
326 <pre><code>dockedItems: [{
327     xtype: 'toolbar',
328     dock: 'bottom',
329     defaults: {minWidth: <a href="Ext.tip.ToolTip.html#minButtonWidth" rel="Ext.tip.ToolTip#minButtonWidth" class="docClass">minButtonWidth</a>},
330     items: [
331         { xtype: 'component', flex: 1 },
332         { xtype: 'button', text: 'Button 1' }
333     ]
334 }]
335 </code></pre>
336
337 <p>The <a href="Ext.tip.ToolTip.html#minButtonWidth" rel="Ext.tip.ToolTip#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
338 each of the buttons in the buttons toolbar.</p>
339 </div></div></div><div id="config-closable" class="member inherited"><a href="Ext.tip.ToolTip.html#config-closable" rel="config-closable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.Tip.html" class="definedIn docClass">Ext.tip.Tip</a><br/><a href="../source/Tip3.html#Ext-tip.Tip-cfg-closable" class="viewSource">view source</a></div><a name="closable"></a><a name="config-closable"></a><a href="Ext.tip.ToolTip.html#" rel="config-closable" class="cls expand">closable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to render a close tool button into the tooltip header (defaults to false).</p>
340 </div><div class="long"><p>True to render a close tool button into the tooltip header (defaults to false).</p>
341 </div></div></div><div id="config-closeAction" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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:
342
343 'destroy' : Default
344 remove the window from the DOM and des...</div><div class="long"><p>The action to take when the close header tool is clicked:
345 <div class="mdetail-params"><ul>
346 <li><b><code>'<a href="Ext.tip.ToolTip.html#destroy" rel="Ext.tip.ToolTip#destroy" class="docClass">destroy</a>'</code></b> : <b>Default</b><div class="sub-desc">
347 <a href="Ext.tip.ToolTip.html#destroy" rel="Ext.tip.ToolTip#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>
348 it and all descendant Components. The window will <b>not</b> be available to be
349 redisplayed via the <a href="Ext.tip.ToolTip.html#show" rel="Ext.tip.ToolTip#show" class="docClass">show</a> method.
350 </div></li>
351 <li><b><code>'<a href="Ext.tip.ToolTip.html#hide" rel="Ext.tip.ToolTip#hide" class="docClass">hide</a>'</code></b> : <div class="sub-desc">
352 <a href="Ext.tip.ToolTip.html#hide" rel="Ext.tip.ToolTip#hide" class="docClass">hide</a> the window by setting visibility to hidden and applying negative offsets.
353 The window will be available to be redisplayed via the <a href="Ext.tip.ToolTip.html#show" rel="Ext.tip.ToolTip#show" class="docClass">show</a> method.
354 </div></li>
355 </ul></div>
356 <p><b>Note:</b> This behavior has changed! setting *does* affect the <a href="Ext.tip.ToolTip.html#close" rel="Ext.tip.ToolTip#close" class="docClass">close</a> method
357 which will invoke the approriate closeAction.
358
359 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
360 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
361 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
362 </div></div></div><div id="config-collapseDirection" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
363
364
365 Defaults to the headerPosition
366
367
368 Important: ...</div><div class="long"><p>The direction to collapse the Panel when the toggle button is clicked.</p>
369
370
371 <p>Defaults to the <a href="Ext.tip.ToolTip.html#headerPosition" rel="Ext.tip.ToolTip#headerPosition" class="docClass">headerPosition</a></p>
372
373
374 <p><b>Important: This config is <u>ignored</u> for <a href="Ext.tip.ToolTip.html#collapsible" rel="Ext.tip.ToolTip#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>
375
376
377 <p>Specify as <code>'top'</code>, <code>'bottom'</code>, <code>'left'</code> or <code>'right'</code>.</p>
378
379 </div></div></div><div id="config-collapseFirst" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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)
380 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)
381 any other tools in the panel&#39;s title bar, <code>false</code> to render it last (defaults to <code>true</code>).</p>
382 </div></div></div><div id="config-collapseMode" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
383
384
385 Wh...</div><div class="long"><p><b>Important: this config is only effective for <a href="Ext.tip.ToolTip.html#collapsible" rel="Ext.tip.ToolTip#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>
386
387
388 <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.
389 If the Panel has no header, then a new header (orientated correctly depending on the <a href="Ext.tip.ToolTip.html#collapseDirection" rel="Ext.tip.ToolTip#collapseDirection" class="docClass">collapseDirection</a>) will be inserted to show a the title and a re-expand tool.</p>
390
391
392 <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:
393 <div class="mdetail-params"><ul>
394 <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
395 and to provide a UI with a Tool to allow the user to re-expand the Panel.</div></li>
396 <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>
397 </ul></div></p>
398
399 </div></div></div><div id="config-collapsed" class="member inherited"><a href="Ext.tip.ToolTip.html#config-collapsed" rel="config-collapsed" 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-collapsed" class="viewSource">view source</a></div><a name="collapsed"></a><a name="config-collapsed"></a><a href="Ext.tip.ToolTip.html#" rel="config-collapsed" class="cls expand">collapsed</a><span> : Boolean</span></div><div class="description"><div class="short"><p><code>true</code> to render the panel collapsed, <code>false</code> to render it expanded (defaults to
400 <code>false</code>).</p>
401 </div><div class="long"><p><code>true</code> to render the panel collapsed, <code>false</code> to render it expanded (defaults to
402 <code>false</code>).</p>
403 </div></div></div><div id="config-collapsedCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
404 <code>'collapsed'</code>).</p>
405 </div><div class="long"><p>A CSS class to add to the panel&#39;s element after it has been collapsed (defaults to
406 <code>'collapsed'</code>).</p>
407 </div></div></div><div id="config-collapsible" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
408 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
409 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>
410
411
412 <p>See <a href="Ext.tip.ToolTip.html#collapseMode" rel="Ext.tip.ToolTip#collapseMode" class="docClass">collapseMode</a> and <a href="Ext.tip.ToolTip.html#collapseDirection" rel="Ext.tip.ToolTip#collapseDirection" class="docClass">collapseDirection</a></p>
413 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
414 via styling.</p>
415 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
416 via styling.</p>
417 </div></div></div><div id="config-componentLayout" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
418 the Component's layout manager...</div><div class="long"><p>The sizing and positioning of a Component's internal Elements is the responsibility of
419 the Component's layout manager which sizes a Component's internal structure in response to the Component being sized.</p>
420
421
422 <p>Generally, developers will not use this configuration as all provided Components which need their internal
423 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>
424
425
426 <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
427 which simply sizes the Component's encapsulating element to the height and width specified in the <a href="Ext.tip.ToolTip.html#setSize" rel="Ext.tip.ToolTip#setSize" class="docClass">setSize</a> method.</p>
428
429 </div></div></div><div id="config-constrainPosition" class="member inherited"><a href="Ext.tip.ToolTip.html#config-constrainPosition" rel="config-constrainPosition" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.Tip.html" class="definedIn docClass">Ext.tip.Tip</a><br/><a href="../source/Tip3.html#Ext-tip.Tip-cfg-constrainPosition" class="viewSource">view source</a></div><a name="constrainPosition"></a><a name="config-constrainPosition"></a><a href="Ext.tip.ToolTip.html#" rel="config-constrainPosition" class="cls expand">constrainPosition</a><span> : Boolean</span></div><div class="description"><div class="short"><p>If true, then the tooltip will be automatically constrained to stay within
430 the browser viewport. Defaults to false.</p>
431 </div><div class="long"><p>If true, then the tooltip will be automatically constrained to stay within
432 the browser viewport. Defaults to false.</p>
433 </div></div></div><div id="config-contentEl" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
434 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
435 for this component.</p>
436
437
438 <ul>
439 <li><b>Description</b> :
440 <div class="sub-desc">This config option is used to take an existing HTML element and place it in the layout element
441 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>
442 <li><b>Notes</b> :
443 <div class="sub-desc">The specified HTML element is appended to the layout element of the component <i>after any configured
444 <a href="Ext.tip.ToolTip.html#html" rel="Ext.tip.ToolTip#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.tip.ToolTip.html#render" rel="Ext.tip.ToolTip#render" class="docClass">render</a> event is fired.</div>
445 <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>
446 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>
447 <div class="sub-desc">Add either the <code>x-hidden</code> or the <code>x-hide-display</code> CSS class to
448 prevent a brief flicker of the content before it is rendered to the panel.</div></li>
449 </ul>
450
451 </div></div></div><div id="config-data" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.tip.ToolTip.html#tpl" rel="Ext.tip.ToolTip#tpl" class="docClass">tpl</a></code> to
452 update the content area of the Component.</p>
453 </div><div class="long"><p>The initial set of data to apply to the <code><a href="Ext.tip.ToolTip.html#tpl" rel="Ext.tip.ToolTip#tpl" class="docClass">tpl</a></code> to
454 update the content area of the Component.</p>
455 </div></div></div><div id="config-defaultAlign" class="member inherited"><a href="Ext.tip.ToolTip.html#config-defaultAlign" rel="config-defaultAlign" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.Tip.html" class="definedIn docClass">Ext.tip.Tip</a><br/><a href="../source/Tip3.html#Ext-tip.Tip-cfg-defaultAlign" class="viewSource">view source</a></div><a name="defaultAlign"></a><a name="config-defaultAlign"></a><a href="Ext.tip.ToolTip.html#" rel="config-defaultAlign" class="cls expand">defaultAlign</a><span> : String</span></div><div class="description"><div class="short">Experimental. The default Ext.core.Element.alignTo anchor position value
456 for this tip relative to its element of orig...</div><div class="long"><p><b>Experimental</b>. The default <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a> anchor position value
457 for this tip relative to its element of origin (defaults to "tl-bl?").</p>
458 </div></div></div><div id="config-defaultType" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
459 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
460 a child item is specified as a raw configuration object, rather than as an instantiated Component.</p>
461
462
463 <p>Defaults to <code>'panel'</code>.</p>
464
465 </div></div></div><div id="config-defaults" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
466 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.tip.ToolTip.html#items" rel="Ext.tip.ToolTip#items" class="docClass">items</a>
467 config or via the <a href="Ext.tip.ToolTip.html#add" rel="Ext.tip.ToolTip#add" class="docClass">add</a> or <a href="Ext.tip.ToolTip.html#insert" rel="Ext.tip.ToolTip#insert" class="docClass">insert</a> methods.</p>
468
469
470 <p>If an added item is a config object, and <b>not</b> an instantiated Component, then the default properties are
471 unconditionally applied. If the added item <b>is</b> an instantiated Component, then the default properties are
472 applied conditionally so as not to override existing properties in the item.</p>
473
474
475 <p>If the defaults option is specified as a function, then the function will be called using this Container as the
476 scope (<code>this</code> reference) and passing the added item as the first parameter. Any resulting object
477 from that call is then applied to the item as default properties.</p>
478
479
480 <p>For example, to automatically apply padding to the body of each of a set of
481 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>
482
483
484 <p>Usage:</p>
485
486
487 <pre><code>defaults: {               // defaults are applied to items, not the container
488     autoScroll:true
489 },
490 items: [
491     {
492         xtype: 'panel',   // defaults <b>do not</b> have precedence over
493         id: 'panel1',     // options in config objects, so the defaults
494         autoScroll: false // will not be applied here, panel1 will be autoScroll:false
495     },
496     new Ext.panel.Panel({       // defaults <b>do</b> have precedence over options
497         id: 'panel2',     // options in components, so the defaults
498         autoScroll: false // will be applied here, panel2 will be autoScroll:true.
499     })
500 ]</code></pre>
501
502 </div></div></div><div id="config-delegate" class="member ni"><a href="Ext.tip.ToolTip.html#config-delegate" rel="config-delegate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-delegate" class="viewSource">view source</a></div><a name="delegate"></a><a name="config-delegate"></a><a href="Ext.tip.ToolTip.html#" rel="config-delegate" class="cls expand">delegate</a><span> : String</span></div><div class="description"><div class="short">Optional. A DomQuery
503 selector which allows selection of individual elements within the
504 target element to trigger show...</div><div class="long"><p>Optional. A <a href="Ext.DomQuery.html" rel="Ext.DomQuery" class="docClass">DomQuery</a>
505 selector which allows selection of individual elements within the
506 <code><a href="Ext.tip.ToolTip.html#target" rel="Ext.tip.ToolTip#target" class="docClass">target</a></code> element to trigger showing and hiding the
507 ToolTip as the mouse moves within the target.</p>
508
509
510 <p>When specified, the child element of the target which caused a show
511 event is placed into the <code><a href="Ext.tip.ToolTip.html#triggerElement" rel="Ext.tip.ToolTip#triggerElement" class="docClass">triggerElement</a></code> property
512 before the ToolTip is shown.</p>
513
514
515 <p>This may be useful when a Component has regular, repeating elements
516 in it, each of which need a ToolTip which contains information specific
517 to that element. For example:</p>
518
519
520 <pre><code>var myGrid = Ext.create('Ext.grid.GridPanel', gridConfig);
521 myGrid.on('render', function(grid) {
522     var view = grid.getView();    // Capture the grid's view.
523     grid.tip = Ext.create('Ext.tip.ToolTip', {
524         target: view.el,          // The overall target element.
525         delegate: view.itemSelector, // Each grid row causes its own seperate show and hide.
526         trackMouse: true,         // Moving within the row should not hide the tip.
527         renderTo: Ext.getBody(),  // Render immediately so that tip.body can be referenced prior to the first show.
528         listeners: {              // Change content dynamically depending on which element triggered the show.
529             beforeshow: function(tip) {
530                 tip.update('Over Record ID ' + view.getRecord(tip.triggerElement).id);
531             }
532         }
533     });
534 });
535 </code></pre>
536
537 </div></div></div><div id="config-disabled" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="config-disabled" class="cls expand">disabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
538 </div><div class="long"><p>Defaults to false.</p>
539 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
540 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
541 </div></div></div><div id="config-dismissDelay" class="member ni"><a href="Ext.tip.ToolTip.html#config-dismissDelay" rel="config-dismissDelay" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-dismissDelay" class="viewSource">view source</a></div><a name="dismissDelay"></a><a name="config-dismissDelay"></a><a href="Ext.tip.ToolTip.html#" rel="config-dismissDelay" class="cls expand">dismissDelay</a><span> : Number</span></div><div class="description"><div class="short">Delay in milliseconds before the tooltip
542 automatically hides (defaults to 5000). To disable automatic hiding, set
543 dis...</div><div class="long"><p>Delay in milliseconds before the tooltip
544 automatically hides (defaults to 5000). To disable automatic hiding, set
545 dismissDelay = 0.</p>
546 </div></div></div><div id="config-dockedItems" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
547 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.
548 The docked items can be docked to either the top, right, left or bottom of a panel.
549 This is typically used for things like toolbars or tab bars:</p>
550
551 <pre><code>var panel = new Ext.panel.Panel({
552     dockedItems: [{
553         xtype: 'toolbar',
554         dock: 'top',
555         items: [{
556             text: 'Docked to the top'
557         }]
558     }]
559 });</pre>
560
561
562 <p></code></p>
563 </div></div></div><div id="config-draggable" class="member inherited"><a href="Ext.tip.ToolTip.html#config-draggable" rel="config-draggable" 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-draggable" class="viewSource">view source</a></div><a name="draggable"></a><a name="config-draggable"></a><a href="Ext.tip.ToolTip.html#" rel="config-draggable" class="cls expand">draggable</a><span> : Mixed</span></div><div class="description"><div class="short">Specify as true to make a floating Component draggable using the Component's encapsulating element as the drag handle...</div><div class="long"><p>Specify as true to make a <a href="Ext.tip.ToolTip.html#floating" rel="Ext.tip.ToolTip#floating" class="docClass">floating</a> Component draggable using the Component's encapsulating element as the drag handle.</p>
564
565
566 <p>This may also be specified as a config object for the <a href="Ext.util.ComponentDragger.html" rel="Ext.util.ComponentDragger" class="docClass">ComponentDragger</a> which is instantiated to perform dragging.</p>
567
568
569 <p>For example to create a Component which may only be dragged around using a certain internal element as the drag handle,
570 use the delegate option:</p>
571
572
573 <p><code></p>
574
575 <pre>new Ext.Component({
576     constrain: true,
577     floating:true,
578     style: {
579         backgroundColor: '#fff',
580         border: '1px solid black'
581     },
582     html: '&lt;h1 style="cursor:move"&gt;The title&lt;/h1&gt;&lt;p&gt;The content&lt;/p&gt;',
583     draggable: {
584         delegate: 'h1'
585     }
586 }).show();
587 </pre>
588
589
590 <p></code></p>
591 </div></div></div><div id="config-fbar" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
592
593 fbar: [
594   { type: '...</div><div class="long"><p>Convenience method used for adding items to the bottom right of the panel. Short for Footer Bar.</p>
595
596 <pre><code>fbar: [
597   { type: 'button', text: 'Button 1' }
598 ]
599 </code></pre>
600
601 <p>is equivalent to</p>
602
603 <pre><code>dockedItems: [{
604     xtype: 'toolbar',
605     dock: 'bottom',
606     defaults: {minWidth: <a href="Ext.tip.ToolTip.html#minButtonWidth" rel="Ext.tip.ToolTip#minButtonWidth" class="docClass">minButtonWidth</a>},
607     items: [
608         { xtype: 'component', flex: 1 },
609         { xtype: 'button', text: 'Button 1' }
610     ]
611 }]
612 </code></pre>
613
614 <p>The <a href="Ext.tip.ToolTip.html#minButtonWidth" rel="Ext.tip.ToolTip#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
615 each of the buttons in the fbar.</p>
616 </div></div></div><div id="config-floatable" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
617
618
619 tr...</div><div class="long"><p><b>Important: This config is only effective for <a href="Ext.tip.ToolTip.html#collapsible" rel="Ext.tip.ToolTip#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>
620
621
622 <p><tt>true</tt> to allow clicking a collapsed Panel&#39;s <a href="Ext.tip.ToolTip.html#placeholder" rel="Ext.tip.ToolTip#placeholder" class="docClass">placeholder</a> to display the Panel floated
623 above the layout, <tt>false</tt> to force the user to fully expand a collapsed region by
624 clicking the expand button to see it again (defaults to <tt>true</tt>).</p>
625 </div></div></div><div id="config-floating" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
626
627
628 Components such...</div><div class="long"><p>Specify as true to float the Component outside of the document flow using CSS absolute positioning.</p>
629
630
631 <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
632 by default.</p>
633
634
635 <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
636 <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a></p>
637
638
639 <h3 class="pa">Floating Components as child items of a Container</h3>
640
641
642 <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
643 examining the ownerCt chain.</p>
644
645
646 <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
647 of related floating Components. The ZIndexManager brings a single floating Component to the top of its stack when
648 the Component's <a href="Ext.tip.ToolTip.html#toFront" rel="Ext.tip.ToolTip#toFront" class="docClass">toFront</a> method is called.</p>
649
650
651 <p>The ZIndexManager is found by traversing up the <a href="Ext.tip.ToolTip.html#ownerCt" rel="Ext.tip.ToolTip#ownerCt" class="docClass">ownerCt</a> chain to find an ancestor which itself is floating. This is so that
652 descendant floating Components of floating <i>Containers</i> (Such as a ComboBox dropdown within a Window) can have its zIndex managed relative
653 to any siblings, but always <b>above</b> that floating ancestor Container.</p>
654
655
656 <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>
657
658
659 <p>Floating components <i>do not participate in the Container's layout</i>. Because of this, they are not rendered until you explicitly
660 <a href="Ext.tip.ToolTip.html#show" rel="Ext.tip.ToolTip#show" class="docClass">show</a> them.</p>
661
662
663 <p>After rendering, the ownerCt reference is deleted, and the <a href="Ext.tip.ToolTip.html#floatParent" rel="Ext.tip.ToolTip#floatParent" class="docClass">floatParent</a> property is set to the found floating ancestor Container.
664 If no floating ancestor Container was found the <a href="Ext.tip.ToolTip.html#floatParent" rel="Ext.tip.ToolTip#floatParent" class="docClass">floatParent</a> property will not be set.</p>
665
666 </div></div></div><div id="config-focusOnToFront" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
667 brought to the front. Defaults to ...</div><div class="long"><p>Specifies whether the floated component should be automatically <a href="Ext.tip.ToolTip.html#focus" rel="Ext.tip.ToolTip#focus" class="docClass">focused</a> when it is
668 <a href="Ext.tip.ToolTip.html#toFront" rel="Ext.tip.ToolTip#toFront" class="docClass">brought to the front</a>. Defaults to true.</p>
669 </div></div></div><div id="config-frame" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
670 </div><div class="long"><p>True to apply a frame to the panel.</p>
671 </div></div></div><div id="config-frameHeader" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
672 </div><div class="long"><p>True to apply a frame to the panel panels header (if 'frame' is true).</p>
673 </div></div></div><div id="config-headerPosition" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
674 </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>
675 </div></div></div><div id="config-height" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
676 </div><div class="long"><p>The height of this component in pixels.</p>
677 </div></div></div><div id="config-hidden" class="member inherited"><a href="Ext.tip.ToolTip.html#config-hidden" rel="config-hidden" 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-hidden" class="viewSource">view source</a></div><a name="hidden"></a><a name="config-hidden"></a><a href="Ext.tip.ToolTip.html#" rel="config-hidden" class="cls expand">hidden</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
678 </div><div class="long"><p>Defaults to false.</p>
679 </div></div></div><div id="config-hideCollapseTool" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.tip.ToolTip.html#collapsible" rel="Ext.tip.ToolTip#collapsible" class="docClass">collapsible</a> == true</code>,
680 <code>false</code> to display it (defaults to <code>false</code>).</p>
681 </div><div class="long"><p><code>true</code> to hide the expand/collapse toggle button when <code><a href="Ext.tip.ToolTip.html#collapsible" rel="Ext.tip.ToolTip#collapsible" class="docClass">collapsible</a> == true</code>,
682 <code>false</code> to display it (defaults to <code>false</code>).</p>
683 </div></div></div><div id="config-hideDelay" class="member ni"><a href="Ext.tip.ToolTip.html#config-hideDelay" rel="config-hideDelay" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-hideDelay" class="viewSource">view source</a></div><a name="hideDelay"></a><a name="config-hideDelay"></a><a href="Ext.tip.ToolTip.html#" rel="config-hideDelay" class="cls expand">hideDelay</a><span> : Number</span></div><div class="description"><div class="short">Delay in milliseconds after the mouse exits the
684 target element but before the tooltip actually hides (defaults to 200...</div><div class="long"><p>Delay in milliseconds after the mouse exits the
685 target element but before the tooltip actually hides (defaults to 200).
686 Set to 0 for the tooltip to hide immediately.</p>
687 </div></div></div><div id="config-hideMode" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
688 Values may be
689 'display' : The...</div><div class="long"><p>A String which specifies how this Component's encapsulating DOM element will be hidden.
690 Values may be<div class="mdetail-params"><ul>
691 <li><code>'display'</code> : The Component will be hidden using the <code>display: none</code> style.</li>
692 <li><code>'visibility'</code> : The Component will be hidden using the <code>visibility: hidden</code> style.</li>
693 <li><code>'offsets'</code> : The Component will be hidden by absolutely positioning it out of the visible area of the document. This
694 is useful when a hidden Component must maintain measurable dimensions. Hiding using <code>display</code> results
695 in a Component having zero dimensions.</li></ul></div>
696 Defaults to <code>'display'</code>.</p>
697 </div></div></div><div id="config-html" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
698 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
699 content (defaults to ''). The HTML content is added after the component is rendered,
700 so the document will not contain this HTML at the time the <a href="Ext.tip.ToolTip.html#render" rel="Ext.tip.ToolTip#render" class="docClass">render</a> event is fired.
701 This content is inserted into the body <i>before</i> any configured <a href="Ext.tip.ToolTip.html#contentEl" rel="Ext.tip.ToolTip#contentEl" class="docClass">contentEl</a> is appended.</p>
702 </div></div></div><div id="config-id" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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).
703
704
705 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.tip.ToolTip.html#getId" rel="Ext.tip.ToolTip#getId" class="docClass">auto-assigned id</a>).</p>
706
707
708 <p>It should not be necessary to use this configuration except for singleton objects in your application.
709 Components created with an id may be accessed globally using <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp</a>.</p>
710
711
712 <p>Instead of using assigned ids, use the <a href="Ext.tip.ToolTip.html#itemId" rel="Ext.tip.ToolTip#itemId" class="docClass">itemId</a> config, and <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> which
713 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>
714 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>
715
716
717 <p>Note that this id will also be used as the element id for the containing HTML element
718 that is rendered to the page for this component. This allows you to write id-based CSS
719 rules to style the specific instance of this component uniquely, and also to select
720 sub-elements using this component's id as the parent.</p>
721
722
723 <p><b>Note</b>: to avoid complications imposed by a unique <tt>id</tt> also see <code><a href="Ext.tip.ToolTip.html#itemId" rel="Ext.tip.ToolTip#itemId" class="docClass">itemId</a></code>.</p>
724
725
726 <p><b>Note</b>: to access the container of a Component see <code><a href="Ext.tip.ToolTip.html#ownerCt" rel="Ext.tip.ToolTip#ownerCt" class="docClass">ownerCt</a></code>.</p>
727
728 </div></div></div><div id="config-itemId" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
729 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
730 when no object reference is available.  Instead of using an <code><a href="Ext.tip.ToolTip.html#id" rel="Ext.tip.ToolTip#id" class="docClass">id</a></code> with
731 <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
732 <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
733 <code>itemId</code>'s or <tt><a href="Ext.tip.ToolTip.html#id" rel="Ext.tip.ToolTip#id" class="docClass">id</a></tt>'s. Since <code>itemId</code>'s are an index to the
734 container's internal MixedCollection, the <code>itemId</code> is scoped locally to the container --
735 avoiding potential conflicts with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a> which requires a <b>unique</b>
736 <code><a href="Ext.tip.ToolTip.html#id" rel="Ext.tip.ToolTip#id" class="docClass">id</a></code>.</p>
737
738
739 <pre><code>var c = new Ext.panel.Panel({ //
740     <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 300,
741     <a href="Ext.tip.ToolTip.html#renderTo" rel="Ext.tip.ToolTip#renderTo" class="docClass">renderTo</a>: document.body,
742     <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a>: 'auto',
743     <a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a>: [
744         {
745             itemId: 'p1',
746             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 1',
747             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
748         },
749         {
750             itemId: 'p2',
751             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 2',
752             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
753         }
754     ]
755 })
756 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>
757 p2 = p1.<a href="Ext.tip.ToolTip.html#ownerCt" rel="Ext.tip.ToolTip#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
758 </code></pre>
759
760
761 <p>Also see <tt><a href="Ext.tip.ToolTip.html#id" rel="Ext.tip.ToolTip#id" class="docClass">id</a></tt>, <code><a href="Ext.tip.ToolTip.html#query" rel="Ext.tip.ToolTip#query" class="docClass">query</a></code>, <code><a href="Ext.tip.ToolTip.html#down" rel="Ext.tip.ToolTip#down" class="docClass">down</a></code> and <code><a href="Ext.tip.ToolTip.html#child" rel="Ext.tip.ToolTip#child" class="docClass">child</a></code>.</p>
762
763
764 <p><b>Note</b>: to access the container of an item see <tt><a href="Ext.tip.ToolTip.html#ownerCt" rel="Ext.tip.ToolTip#ownerCt" class="docClass">ownerCt</a></tt>.</p>
765
766 </div></div></div><div id="config-items" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
767
768
769 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>
770
771
772 <p><b>Unless configured with a <a href="Ext.tip.ToolTip.html#layout" rel="Ext.tip.ToolTip#layout" class="docClass">layout</a>, a Container simply renders child Components serially into
773 its encapsulating element and performs no sizing or positioning upon them.</b><p>
774 <p>Example:</p>
775 <pre><code>// specifying a single item
776 items: {...},
777 layout: 'fit',    // The single items is sized to fit
778
779 // specifying multiple items
780 items: [{...}, {...}],
781 layout: 'hbox', // The items are arranged horizontally
782        </code></pre>
783 <p>Each item may be:</p>
784 <ul>
785 <li>A <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></li>
786 <li>A Component configuration object</li>
787 </ul>
788 <p>If a configuration object is specified, the actual type of Component to be
789 instantiated my be indicated by using the <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a> option.</p>
790 <p>Every Component class has its own <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a>.</p>
791 <p>If an <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a> is not explicitly
792 specified, the <a href="Ext.tip.ToolTip.html#defaultType" rel="Ext.tip.ToolTip#defaultType" class="docClass">defaultType</a> for the Container is used, which by default is usually <code>panel</code>.</p>
793 <p><b>Notes</b>:</p>
794 <p>Ext uses lazy rendering. Child Components will only be rendered
795 should it become necessary. Items are automatically laid out when they are first
796 shown (no sizing is done while hidden), or in response to a <a href="Ext.tip.ToolTip.html#doLayout" rel="Ext.tip.ToolTip#doLayout" class="docClass">doLayout</a> call.</p>
797 <p>Do not specify <code><a href="Ext.panel.Panel.html#contentEl" rel="Ext.panel.Panel#contentEl" class="docClass">contentEl</a></code> or 
798 <code><a href="Ext.panel.Panel.html#html" rel="Ext.panel.Panel#html" class="docClass">html</a></code> with <code>items</code>.</p>
799
800 </div></div></div><div id="config-layout" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
801 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
802 positioned, typically a layout manager <b>must</b> be specified through
803 the <code>layout</code> configuration option.</p>
804
805
806 <br><p>The sizing and positioning of child <a href="Ext.tip.ToolTip.html#items" rel="Ext.tip.ToolTip#items" class="docClass">items</a> is the responsibility of
807
808
809 <p>the Container's layout manager which creates and manages the type of layout
810 you have in mind.  For example:</p></p>
811
812 <p>If the <a href="Ext.tip.ToolTip.html#layout" rel="Ext.tip.ToolTip#layout" class="docClass">layout</a> configuration is not explicitly specified for
813 a general purpose container (e.g. Container or Panel) the
814 <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">default layout manager</a> will be used
815 which does nothing but render child components sequentially into the
816 Container (no sizing or positioning will be performed in this situation).</p>
817
818
819 <br><p><b><code>layout</code></b> may be specified as either as an Object or
820
821
822 <p>as a String:</p><div><ul class="mdetail-params"></p>
823
824 <p><li><u>Specify as an Object</u></li></p>
825
826 <div><ul class="mdetail-params">
827 <li>Example usage:</li>
828 <pre><code>layout: {
829     type: 'vbox',
830     align: 'left'
831 }
832        </code></pre>
833
834 <li><code><b>type</b></code></li>
835 <br/><p>The layout type to be used for this container.  If not specified,
836 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>
837 <br/><p>Valid layout <code>type</code> values are:</p>
838 <div class="sub-desc"><ul class="mdetail-params">
839 <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>
840 <li><code><b><a href="Ext.layout.container.Card.html" rel="Ext.layout.container.Card" class="docClass">card</a></b></code></li>
841 <li><code><b><a href="Ext.layout.container.Fit.html" rel="Ext.layout.container.Fit" class="docClass">fit</a></b></code></li>
842 <li><code><b><a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">hbox</a></b></code></li>
843 <li><code><b><a href="Ext.layout.container.VBox.html" rel="Ext.layout.container.VBox" class="docClass">vbox</a></b></code></li>
844 <li><code><b><a href="Ext.layout.container.Anchor.html" rel="Ext.layout.container.Anchor" class="docClass">anchor</a></b></code></li>
845 <li><code><b><a href="Ext.layout.container.Table.html" rel="Ext.layout.container.Table" class="docClass">table</a></b></code></li>
846 </ul></div>
847
848 <li>Layout specific configuration properties</li>
849 <br/><p>Additional layout specific configuration properties may also be
850 specified. For complete details regarding the valid config options for
851 each layout type, see the layout class corresponding to the <code>type</code>
852 specified.</p>
853
854 </ul></div>
855
856
857 <p><li><u>Specify as a String</u></li></p>
858
859 <div><ul class="mdetail-params">
860 <li>Example usage:</li>
861 <pre><code>layout: {
862     type: 'vbox',
863     padding: '5',
864     align: 'left'
865 }
866        </code></pre>
867 <li><code><b>layout</b></code></li>
868 <br/><p>The layout <code>type</code> to be used for this container (see list
869 of valid layout type values above).</p><br/>
870 <br/><p>Additional layout specific configuration properties. For complete
871 details regarding the valid config options for each layout type, see the
872 layout class corresponding to the <code>layout</code> specified.</p>
873 </ul></div>
874
875
876 <p></ul></div></p>
877 </div></div></div><div id="config-lbar" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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).
878
879    lbar: [
880
881  { xtype: 'button', text: 'But...</div><div class="long"><p>Convenience method. Short for 'Left Bar' (left-docked, vertical toolbar).</p>
882
883 <p>   lbar: [</p>
884
885 <pre><code> { xtype: 'button', text: 'Button 1' }
886 </code></pre>
887
888 <p>   ]</p>
889
890 <p>is equivalent to</p>
891
892 <p>   dockedItems: [{</p>
893
894 <pre><code>   xtype: 'toolbar',
895    dock: 'left',
896    items: [
897        { xtype: 'button', text: 'Button 1' }
898    ]
899 </code></pre>
900
901 <p>   }]</p>
902 </div></div></div><div id="config-listeners" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
903 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
904 object during initialization.  This should be a valid listeners config object as specified in the
905 <a href="Ext.tip.ToolTip.html#addListener" rel="Ext.tip.ToolTip#addListener" class="docClass">addListener</a> example for attaching multiple handlers at once.</p></p>
906
907 <br><p><b><u>DOM events from ExtJs <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a></u></b></p>
908
909
910 <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
911
912
913 <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
914 <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
915 events directly from a child element of a Component, we need to specify the <code>element</code> option to
916 identify the Component property to add a DOM listener to:</p>
917
918 <pre><code>new Ext.panel.Panel({
919     width: 400,
920     height: 200,
921     dockedItems: [{
922         xtype: 'toolbar'
923     }],
924     listeners: {
925         click: {
926             element: 'el', //bind to the underlying el property on the panel
927             fn: function(){ console.log('click el'); }
928         },
929         dblclick: {
930             element: 'body', //bind to the underlying body property on the panel
931             fn: function(){ console.log('dblclick body'); }
932         }
933     }
934 });
935 </code></pre>
936
937
938 <p></p></p>
939 </div></div></div><div id="config-loader" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
940 content for this Component.</p>
941 </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
942 content for this Component.</p>
943 </div></div></div><div id="config-maintainFlex" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
944 HBox layout.
945
946
947 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
948 <a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">HBox</a> layout.</b></p>
949
950
951 <p>Specifies that if an immediate sibling Splitter is moved, the Component on the <i>other</i> side is resized, and this
952 Component maintains its configured <a href="Ext.layout.container.Box.html#flex" rel="Ext.layout.container.Box#flex" class="docClass">flex</a> value.</p>
953
954 </div></div></div><div id="config-margin" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
955 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
956 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
957 </div></div></div><div id="config-maxHeight" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
958
959
960 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>
961
962
963 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
964
965 </div></div></div><div id="config-maxWidth" class="member inherited"><a href="Ext.tip.ToolTip.html#config-maxWidth" rel="config-maxWidth" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.Tip.html" class="definedIn docClass">Ext.tip.Tip</a><br/><a href="../source/Tip3.html#Ext-tip.Tip-cfg-maxWidth" class="viewSource">view source</a></div><a name="maxWidth"></a><a name="config-maxWidth"></a><a href="Ext.tip.ToolTip.html#" rel="config-maxWidth" class="cls expand">maxWidth</a><span> : Number</span></div><div class="description"><div class="short"><p>The maximum width of the tip in pixels (defaults to 300).  The maximum supported value is 500.</p>
966 </div><div class="long"><p>The maximum width of the tip in pixels (defaults to 300).  The maximum supported value is 500.</p>
967 </div></div></div><div id="config-minButtonWidth" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
968 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
969 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
970 each Button added to the <b>footer toolbar</b> via the <a href="Ext.tip.ToolTip.html#fbar" rel="Ext.tip.ToolTip#fbar" class="docClass">fbar</a> or <a href="Ext.tip.ToolTip.html#buttons" rel="Ext.tip.ToolTip#buttons" class="docClass">buttons</a> configurations.
971 It will be ignored for buttons that have a minWidth configured some other way, e.g. in their own config
972 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>
973 </div></div></div><div id="config-minHeight" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
974
975
976 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>
977
978
979 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
980
981 </div></div></div><div id="config-minWidth" class="member inherited"><a href="Ext.tip.ToolTip.html#config-minWidth" rel="config-minWidth" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.Tip.html" class="definedIn docClass">Ext.tip.Tip</a><br/><a href="../source/Tip3.html#Ext-tip.Tip-cfg-minWidth" class="viewSource">view source</a></div><a name="minWidth"></a><a name="config-minWidth"></a><a href="Ext.tip.ToolTip.html#" rel="config-minWidth" class="cls expand">minWidth</a><span> : Number</span></div><div class="description"><div class="short"><p>The minimum width of the tip in pixels (defaults to 40).</p>
982 </div><div class="long"><p>The minimum width of the tip in pixels (defaults to 40).</p>
983 </div></div></div><div id="config-mouseOffset" class="member ni"><a href="Ext.tip.ToolTip.html#config-mouseOffset" rel="config-mouseOffset" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-mouseOffset" class="viewSource">view source</a></div><a name="mouseOffset"></a><a name="config-mouseOffset"></a><a href="Ext.tip.ToolTip.html#" rel="config-mouseOffset" class="cls expand">mouseOffset</a><span> : Array</span></div><div class="description"><div class="short"><p>An XY offset from the mouse position where the
984 tooltip should be shown (defaults to [15,18]).</p>
985 </div><div class="long"><p>An XY offset from the mouse position where the
986 tooltip should be shown (defaults to [15,18]).</p>
987 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
988 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
989 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
990 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
991 </div></div></div><div id="config-padding" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
992 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
993 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
994 </div></div></div><div id="config-placeholder" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
995 when ...</div><div class="long"><p><b>Important: This config is only effective for <a href="Ext.tip.ToolTip.html#collapsible" rel="Ext.tip.ToolTip#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>
996 when not using the <code>'header'</code> <a href="Ext.tip.ToolTip.html#collapseMode" rel="Ext.tip.ToolTip#collapseMode" class="docClass">collapseMode</a>.</b></p>
997
998
999 <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
1000 <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>
1001 containing a <a href="Ext.panel.Tool.html" rel="Ext.panel.Tool" class="docClass">Tool</a> to re-expand the Panel.</p>
1002
1003 </div></div></div><div id="config-plugins" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1004 requirement for a ...</div><div class="long"><p>An object or array of objects that will provide custom functionality for this component.  The only
1005 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>.
1006 When a component is created, if any plugins are available, the component will call the init method on each
1007 plugin, passing a reference to itself.  Each plugin can then call methods or respond to events on the
1008 component as needed to provide its functionality.</p>
1009 </div></div></div><div id="config-preventHeader" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1010 </div><div class="long"><p>Prevent a Header from being created and shown. Defaults to false.</p>
1011 </div></div></div><div id="config-rbar" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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).
1012
1013    rbar: [
1014
1015  { xtype: 'button', text: 'B...</div><div class="long"><p>Convenience method. Short for 'Right Bar' (right-docked, vertical toolbar).</p>
1016
1017 <p>   rbar: [</p>
1018
1019 <pre><code> { xtype: 'button', text: 'Button 1' }
1020 </code></pre>
1021
1022 <p>   ]</p>
1023
1024 <p>is equivalent to</p>
1025
1026 <p>   dockedItems: [{</p>
1027
1028 <pre><code>   xtype: 'toolbar',
1029    dock: 'right',
1030    items: [
1031        { xtype: 'button', text: 'Button 1' }
1032    ]
1033 </code></pre>
1034
1035 <p>   }]</p>
1036 </div></div></div><div id="config-renderSelectors" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1037 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
1038 created by the render process.</p>
1039
1040 <p>After the Component's internal structure is rendered according to the <a href="Ext.tip.ToolTip.html#renderTpl" rel="Ext.tip.ToolTip#renderTpl" class="docClass">renderTpl</a>, this object is iterated through,
1041 and the found Elements are added as properties to the Component using the <code>renderSelector</code> property name.</p>
1042
1043 <p>For example, a Component which rendered an image, and description into its element might use the following properties
1044 coded into its prototype:</p>
1045
1046 <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;',
1047
1048 renderSelectors: {
1049     image: 'img.x-image-component-img',
1050     descEl: 'div.x-image-component-desc'
1051 }
1052 </code></pre>
1053
1054 <p>After rendering, the Component would have a property <code>image</code> referencing its child <code>img</code> Element,
1055 and a property <code>descEl</code> referencing the <code>div</code> Element which contains the description.</p>
1056 </div></div></div><div id="config-renderTo" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1057 will be rendered into.
1058
1059
1060
1061 Not...</div><div class="long"><p>Specify the id of the element, a DOM element or an existing Element that this component
1062 will be rendered into.</p>
1063
1064
1065 <div><ul>
1066 <li><b>Notes</b> : <ul>
1067 <div class="sub-desc">Do <u>not</u> use this option if the Component is to be a child item of
1068 a <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>. It is the responsibility of the
1069 <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>
1070 to render and manage its child items.</div>
1071 <div class="sub-desc">When using this config, a call to render() is not required.</div>
1072 </ul></li>
1073 </ul></div>
1074
1075
1076 <p>See <code><a href="Ext.tip.ToolTip.html#render" rel="Ext.tip.ToolTip#render" class="docClass">render</a></code> also.</p>
1077
1078 </div></div></div><div id="config-renderTpl" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1079 encapsulating Element.
1080
1081
1082 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
1083 encapsulating <a href="Ext.tip.ToolTip.html#getEl" rel="Ext.tip.ToolTip#getEl" class="docClass">Element</a>.</p>
1084
1085
1086 <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>
1087 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
1088 with no internal structure; they render their <a href="Ext.tip.ToolTip.html#getEl" rel="Ext.tip.ToolTip#getEl" class="docClass">Element</a> empty. The more specialized ExtJS and Touch classes
1089 which use a more complex DOM structure, provide their own template definitions.</p>
1090
1091
1092 <p>This is intended to allow the developer to create application-specific utility Components with customized
1093 internal structure.</p>
1094
1095
1096 <p>Upon rendering, any created child elements may be automatically imported into object properties using the
1097 <a href="Ext.tip.ToolTip.html#renderSelectors" rel="Ext.tip.ToolTip#renderSelectors" class="docClass">renderSelectors</a> option.</p>
1098
1099 </div></div></div><div id="config-resizable" class="member inherited"><a href="Ext.tip.ToolTip.html#config-resizable" rel="config-resizable" 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-resizable" class="viewSource">view source</a></div><a name="resizable"></a><a name="config-resizable"></a><a href="Ext.tip.ToolTip.html#" rel="config-resizable" class="cls expand">resizable</a><span> : Mixed</span></div><div class="description"><div class="short">Specify as true to apply a Resizer to this Component
1100 after rendering.
1101
1102
1103 May also be specified as a config object to b...</div><div class="long"><p>Specify as <code>true</code> to apply a <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Resizer</a> to this Component
1104 after rendering.</p>
1105
1106
1107 <p>May also be specified as a config object to be passed to the constructor of <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Resizer</a>
1108 to override any defaults. By default the Component passes its minimum and maximum size, and uses
1109 <code><a href="Ext.resizer.Resizer.html#dynamic" rel="Ext.resizer.Resizer#dynamic" class="docClass">Ext.resizer.Resizer.dynamic</a>: false</code></p>
1110
1111 </div></div></div><div id="config-resizeHandles" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1112 </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>
1113 </div></div></div><div id="config-saveBuffer" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1114 a short period. Defaults to 100.</p>
1115 </div><div class="long"><p>A buffer to be applied if many state events are fired within
1116 a short period. Defaults to 100.</p>
1117 </div></div></div><div id="config-shadow" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1118 true to automatically create an Ext.Shadow,...</div><div class="long"><p>Specifies whether the floating component should be given a shadow. Set to
1119 <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
1120 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.
1121 (Defaults to <tt>'sides'</tt>.)</p>
1122 </div></div></div><div id="config-showDelay" class="member ni"><a href="Ext.tip.ToolTip.html#config-showDelay" rel="config-showDelay" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-showDelay" class="viewSource">view source</a></div><a name="showDelay"></a><a name="config-showDelay"></a><a href="Ext.tip.ToolTip.html#" rel="config-showDelay" class="cls expand">showDelay</a><span> : Number</span></div><div class="description"><div class="short"><p>Delay in milliseconds before the tooltip displays
1123 after the mouse enters the target element (defaults to 500)</p>
1124 </div><div class="long"><p>Delay in milliseconds before the tooltip displays
1125 after the mouse enters the target element (defaults to 500)</p>
1126 </div></div></div><div id="config-stateEvents" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1127 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
1128 save its state (defaults to none). <code>stateEvents</code> may be any type
1129 of event supported by this object, including browser or custom events
1130 (e.g., <tt>['click', 'customerchange']</tt>).</p>
1131
1132
1133 <p>See <code><a href="Ext.tip.ToolTip.html#stateful" rel="Ext.tip.ToolTip#stateful" class="docClass">stateful</a></code> for an explanation of saving and
1134 restoring object state.</p>
1135
1136 </div></div></div><div id="config-stateId" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
1137
1138 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>
1139
1140 <p>See <a href="Ext.tip.ToolTip.html#stateful" rel="Ext.tip.ToolTip#stateful" class="docClass">stateful</a> for an explanation of saving and restoring state.</p>
1141
1142 </div></div></div><div id="config-stateful" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1143 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
1144 internal properties from a saved state on startup. The object must have
1145 a <code><a href="Ext.tip.ToolTip.html#stateId" rel="Ext.tip.ToolTip#stateId" class="docClass">stateId</a></code> for state to be managed. 
1146 Auto-generated ids are not guaranteed to be stable across page loads and 
1147 cannot be relied upon to save and restore the same state for a object.<p>
1148 <p>For state saving to work, the state manager's provider must have been
1149 set to an implementation of <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> which overrides the
1150 <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>
1151 methods to save and recall name/value pairs. A built-in implementation,
1152 <a href="Ext.state.CookieProvider.html" rel="Ext.state.CookieProvider" class="docClass">Ext.state.CookieProvider</a> is available.</p>
1153 <p>To set the state provider for the current page:</p>
1154 <pre><code>Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
1155     expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now
1156 }));
1157 </code></pre>
1158 <p>A stateful object attempts to save state when one of the events
1159 listed in the <code><a href="Ext.tip.ToolTip.html#stateEvents" rel="Ext.tip.ToolTip#stateEvents" class="docClass">stateEvents</a></code> configuration fires.</p>
1160 <p>To save state, a stateful object first serializes its state by
1161 calling <b><code><a href="Ext.tip.ToolTip.html#getState" rel="Ext.tip.ToolTip#getState" class="docClass">getState</a></code></b>. By default, this function does
1162 nothing. The developer must provide an implementation which returns an
1163 object hash which represents the restorable state of the object.</p>
1164 <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>
1165 which uses the configured <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> to save the object
1166 keyed by the <code><a href="stateId.html" rel="stateId" class="docClass">stateId</a></code></p>.
1167 <p>During construction, a stateful object attempts to <i>restore</i>
1168 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
1169 <code><a href="Ext.tip.ToolTip.html#stateId" rel="Ext.tip.ToolTip#stateId" class="docClass">stateId</a></code></p>
1170 <p>The resulting object is passed to <b><code><a href="Ext.tip.ToolTip.html#applyState" rel="Ext.tip.ToolTip#applyState" class="docClass">applyState</a></code></b>.
1171 The default implementation of <code><a href="Ext.tip.ToolTip.html#applyState" rel="Ext.tip.ToolTip#applyState" class="docClass">applyState</a></code> simply copies
1172 properties into the object, but a developer may override this to support
1173 more behaviour.</p>
1174 <p>You can perform extra processing on state save and restore by attaching
1175 handlers to the <a href="Ext.tip.ToolTip.html#beforestaterestore" rel="Ext.tip.ToolTip#beforestaterestore" class="docClass">beforestaterestore</a>, <a href="Ext.tip.ToolTip.html#staterestore" rel="Ext.tip.ToolTip#staterestore" class="docClass">staterestore</a>,
1176 <a href="Ext.tip.ToolTip.html#beforestatesave" rel="Ext.tip.ToolTip#beforestatesave" class="docClass">beforestatesave</a> and <a href="Ext.tip.ToolTip.html#statesave" rel="Ext.tip.ToolTip#statesave" class="docClass">statesave</a> events.</p>
1177
1178 </div></div></div><div id="config-style" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1179 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
1180 <a href="Ext.core.Element.html#applyStyles" rel="Ext.core.Element#applyStyles" class="docClass">Ext.core.Element.applyStyles</a>.</p>
1181
1182 <pre><code>        new Ext.panel.Panel({
1183             title: 'Some Title',
1184             renderTo: Ext.getBody(),
1185             width: 400, height: 300,
1186             layout: 'form',
1187             items: [{
1188                 xtype: 'textarea',
1189                 style: {
1190                     width: '95%',
1191                     marginBottom: '10px'
1192                 }
1193             },
1194             new Ext.button.Button({
1195                 text: 'Send',
1196                 minWidth: '100',
1197                 style: {
1198                     marginBottom: '10px'
1199                 }
1200             })
1201             ]
1202         });
1203      </code></pre>
1204
1205 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
1206 Defaults to 'x-html'</p>
1207 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
1208 Defaults to 'x-html'</p>
1209 </div></div></div><div id="config-styleHtmlContent" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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).
1210 Defaults to false.</p>
1211 </div><div class="long"><p>True to automatically style the html inside the content target of this component (body for panels).
1212 Defaults to false.</p>
1213 </div></div></div><div id="config-suspendLayout" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1214 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
1215 as multiple arguments or an array.</p>
1216 </div></div></div><div id="config-target" class="member ni"><a href="Ext.tip.ToolTip.html#config-target" rel="config-target" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-target" class="viewSource">view source</a></div><a name="target"></a><a name="config-target"></a><a href="Ext.tip.ToolTip.html#" rel="config-target" class="cls expand">target</a><span> : Mixed</span></div><div class="description"><div class="short"><p>The target HTMLElement, Ext.core.Element or id to monitor
1217 for mouseover events to trigger showing this ToolTip.</p>
1218 </div><div class="long"><p>The target HTMLElement, Ext.core.Element or id to monitor
1219 for mouseover events to trigger showing this ToolTip.</p>
1220 </div></div></div><div id="config-tbar" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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'.
1221
1222 tbar: [
1223   { xtype: 'button', text: 'Button 1' }
1224 ]
1225
1226
1227 is equivalent to
1228
1229 docke...</div><div class="long"><p>Convenience method. Short for 'Top Bar'.</p>
1230
1231 <pre><code>tbar: [
1232   { xtype: 'button', text: 'Button 1' }
1233 ]
1234 </code></pre>
1235
1236 <p>is equivalent to</p>
1237
1238 <pre><code>dockedItems: [{
1239     xtype: 'toolbar',
1240     dock: 'top',
1241     items: [
1242         { xtype: 'button', text: 'Button 1' }
1243     ]
1244 }]
1245 </code></pre>
1246 </div></div></div><div id="config-titleCollapse" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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)
1247 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.tip.ToolTip.html#collapsible" rel="Ext.tip.ToolTip#collapsible" class="docClass">collapsible</a> = true</code>)
1248 by clicking anywhere in the header bar, <code>false</code>) to allow it only by clicking to tool button
1249 (defaults to <code>false</code>)).</p>
1250 </div></div></div><div id="config-toFrontOnShow" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1251 on an already visible, floating component (default ...</div><div class="long"><p>True to automatically call <a href="Ext.tip.ToolTip.html#toFront" rel="Ext.tip.ToolTip#toFront" class="docClass">toFront</a> when the <a href="Ext.tip.ToolTip.html#show" rel="Ext.tip.ToolTip#show" class="docClass">show</a> method is called
1252 on an already visible, floating component (default is <code>true</code>).</p>
1253
1254 </div></div></div><div id="config-tools" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1255 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
1256 components of the header container. They can be accessed using <a href="Ext.tip.ToolTip.html#down" rel="Ext.tip.ToolTip#down" class="docClass">down</a> and {#query}, as well as the other
1257 component methods. The toggle tool is automatically created if <a href="Ext.tip.ToolTip.html#collapsible" rel="Ext.tip.ToolTip#collapsible" class="docClass">collapsible</a> is set to true.</p>
1258
1259 <p>Note that, apart from the toggle tool which is provided when a panel is collapsible, these
1260 tools only provide the visual button. Any required functionality must be provided by adding
1261 handlers that implement the necessary behavior.</p>
1262
1263
1264 <p>Example usage:</p>
1265
1266
1267 <pre><code>tools:[{
1268     type:'refresh',
1269     qtip: 'Refresh form Data',
1270     // hidden:true,
1271     handler: function(event, toolEl, panel){
1272         // refresh logic
1273     }
1274 },
1275 {
1276     type:'help',
1277     qtip: 'Get Help',
1278     handler: function(event, toolEl, panel){
1279         // show help here
1280     }
1281 }]
1282 </code></pre>
1283
1284 </div></div></div><div id="config-tpl" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="config-tpl" class="cls expand">tpl</a><span> : Mixed</span></div><div class="description"><div class="short">An Ext.Template, Ext.XTemplate
1285 or an array of strings to form an Ext.XTemplate.
1286 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>
1287 or an array of strings to form an <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a>.
1288 Used in conjunction with the <code><a href="Ext.tip.ToolTip.html#data" rel="Ext.tip.ToolTip#data" class="docClass">data</a></code> and
1289 <code><a href="Ext.tip.ToolTip.html#tplWriteMode" rel="Ext.tip.ToolTip#tplWriteMode" class="docClass">tplWriteMode</a></code> configurations.</p>
1290 </div></div></div><div id="config-tplWriteMode" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1291 updating the content area of the Component. Defaults to 'overwrite'
1292 (see Ext.X...</div><div class="long"><p>The Ext.(X)Template method to use when
1293 updating the content area of the Component. Defaults to <code>'overwrite'</code>
1294 (see <code><a href="Ext.XTemplate.html#overwrite" rel="Ext.XTemplate#overwrite" class="docClass">Ext.XTemplate.overwrite</a></code>).</p>
1295 </div></div></div><div id="config-trackMouse" class="member ni"><a href="Ext.tip.ToolTip.html#config-trackMouse" rel="config-trackMouse" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-cfg-trackMouse" class="viewSource">view source</a></div><a name="trackMouse"></a><a name="config-trackMouse"></a><a href="Ext.tip.ToolTip.html#" rel="config-trackMouse" class="cls expand">trackMouse</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to have the tooltip follow the mouse as it
1296 moves over the target element (defaults to false).</p>
1297 </div><div class="long"><p>True to have the tooltip follow the mouse as it
1298 moves over the target element (defaults to false).</p>
1299 </div></div></div><div id="config-ui" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1300 </div><div class="long"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
1301 </div></div></div><div id="config-width" class="member inherited"><a href="Ext.tip.ToolTip.html#config-width" rel="config-width" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.Tip.html" class="definedIn docClass">Ext.tip.Tip</a><br/><a href="../source/Tip3.html#Ext-tip.Tip-cfg-width" class="viewSource">view source</a></div><a name="width"></a><a name="config-width"></a><a href="Ext.tip.ToolTip.html#" rel="config-width" class="cls expand">width</a><span> : Number</span></div><div class="description"><div class="short">Width in pixels of the tip (defaults to auto).  Width will be ignored if it exceeds the bounds of
1302 minWidth or maxWidt...</div><div class="long"><p>Width in pixels of the tip (defaults to auto).  Width will be ignored if it exceeds the bounds of
1303 <a href="Ext.tip.ToolTip.html#minWidth" rel="Ext.tip.ToolTip#minWidth" class="docClass">minWidth</a> or <a href="Ext.tip.ToolTip.html#maxWidth" rel="Ext.tip.ToolTip#maxWidth" class="docClass">maxWidth</a>.  The maximum supported value is 500.</p>
1304 </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-dd" class="member f inherited"><a href="Ext.tip.ToolTip.html#property-dd" rel="property-dd" 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-property-dd" class="viewSource">view source</a></div><a name="dd"></a><a name="property-dd"></a><a href="Ext.tip.ToolTip.html#" rel="property-dd" class="cls expand">dd</a><span> : Ext.dd.DragSource.</span></div><div class="description"><div class="short">If this Panel is configured draggable, this property will contain
1305 an instance of Ext.dd.DragSource which handles drag...</div><div class="long"><p>If this Panel is configured <a href="Ext.tip.ToolTip.html#draggable" rel="Ext.tip.ToolTip#draggable" class="docClass">draggable</a>, this property will contain
1306 an instance of <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> which handles dragging the Panel.</p>
1307
1308
1309 <p>The developer must provide implementations of the abstract methods of <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a>
1310 in order to supply behaviour for each stage of the drag/drop process. See <a href="Ext.tip.ToolTip.html#draggable" rel="Ext.tip.ToolTip#draggable" class="docClass">draggable</a>.</p>
1311 </div></div></div><div id="property-draggable" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1312 </div><div class="long"><p>Read-only property indicating whether or not the component can be dragged</p>
1313 </div></div></div><div id="property-floatParent" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
1314
1315
1316 Floa...</div><div class="long"><p>Optional. Only present for <a href="Ext.tip.ToolTip.html#floating" rel="Ext.tip.ToolTip#floating" class="docClass">floating</a> Components which were inserted as descendant items of floating Containers.</p>
1317
1318
1319 <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>
1320
1321
1322 <p>For <a href="Ext.tip.ToolTip.html#floating" rel="Ext.tip.ToolTip#floating" class="docClass">floating</a> Components which are child items of a Container, the floatParent will be the floating ancestor Container which is
1323 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
1324 z-indexing services for all its descendant floating Components.</p>
1325
1326
1327 <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
1328 <code>floatParent</code></p>
1329
1330
1331 <p>See <a href="Ext.tip.ToolTip.html#floating" rel="Ext.tip.ToolTip#floating" class="docClass">floating</a> and <a href="Ext.tip.ToolTip.html#zIndexManager" rel="Ext.tip.ToolTip#zIndexManager" class="docClass">zIndexManager</a></p>
1332
1333 </div></div></div><div id="property-frame" class="member inherited"><a href="Ext.tip.ToolTip.html#property-frame" rel="property-frame" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.Tip.html" class="definedIn docClass">Ext.tip.Tip</a><br/><a href="../source/Tip3.html#Ext-tip.Tip-property-frame" class="viewSource">view source</a></div><a name="frame"></a><a name="property-frame"></a><a href="Ext.tip.ToolTip.html#" rel="property-frame" class="cls expand">frame</a><span> : Boolean</span></div><div class="description"><div class="short"><p>@inherited</p>
1334 </div><div class="long"><p>@inherited</p>
1335 </div></div></div><div id="property-frameSize" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1336 to ...</div><div class="long"><p>Read-only property indicating the width of any framing elements which were added within the encapsulating element
1337 to provide graphical, rounded borders. See the <a href="Ext.tip.ToolTip.html#frame" rel="Ext.tip.ToolTip#frame" class="docClass">frame</a> config.</p>
1338
1339
1340 <p> This is an object containing the frame width in pixels for all four sides of the Component containing
1341 the following properties:</p>
1342
1343
1344 <div class="mdetail-params"><ul>
1345 <li><code>top</code> The width of the top framing element in pixels.</li>
1346 <li><code>right</code> The width of the right framing element in pixels.</li>
1347 <li><code>bottom</code> The width of the bottom framing element in pixels.</li>
1348 <li><code>left</code> The width of the left framing element in pixels.</li>
1349 </ul></div>
1350
1351 </div></div></div><div id="property-hasActiveFx" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1352 Returns thq current animation if this object has any effects actively ...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.tip.ToolTip.html#getActiveAnimation" rel="Ext.tip.ToolTip#getActiveAnimation" class="docClass">getActiveAnimation</a>
1353 Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1354 </div></div></div><div id="property-items" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1355 </div><div class="long"><p>The MixedCollection containing all the child items of this container.</p>
1356 </div></div></div><div id="property-maskOnDisable" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
1357 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.
1358 By default this is set to true which means that every component gets a mask when its disabled.
1359 Components like FieldContainer, FieldSet, Field, Button, Tab override this property to false
1360 since they want to implement custom disable logic.</p>
1361 </div></div></div><div id="property-ownerCt" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1362 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
1363 this Component is added to a Container).  Read-only.</p>
1364
1365 <p><b>Note</b>: to access items within the Container see <tt><a href="Ext.tip.ToolTip.html#itemId" rel="Ext.tip.ToolTip#itemId" class="docClass">itemId</a></tt>.</p>
1366
1367 </div></div></div><div id="property-rendered" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1368 </div><div class="long"><p>Read-only property indicating whether or not the component has been rendered.</p>
1369 </div></div></div><div id="property-stopFx" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1370 any additional effects that ...</div><div class="long"><p>Stops any running effects and clears this object's internal effects queue if it contains
1371 any additional effects that haven't started yet.</p>
1372 </div></div></div><div id="property-triggerElement" class="member ni"><a href="Ext.tip.ToolTip.html#property-triggerElement" rel="property-triggerElement" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-property-triggerElement" class="viewSource">view source</a></div><a name="triggerElement"></a><a name="property-triggerElement"></a><a href="Ext.tip.ToolTip.html#" rel="property-triggerElement" class="cls expand">triggerElement</a><span> : DOMElement</span></div><div class="description"><div class="short">When a ToolTip is configured with the delegate
1373 option to cause selected child elements of the target
1374 Element to each ...</div><div class="long"><p>When a ToolTip is configured with the <code><a href="Ext.tip.ToolTip.html#delegate" rel="Ext.tip.ToolTip#delegate" class="docClass">delegate</a></code>
1375 option to cause selected child elements of the <code><a href="Ext.tip.ToolTip.html#target" rel="Ext.tip.ToolTip#target" class="docClass">target</a></code>
1376 Element to each trigger a seperate show event, this property is set to
1377 the DOM element which triggered the show.</p>
1378 </div></div></div><div id="property-zIndexManager" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
1379
1380
1381 A reference to the ZIndexManager whic...</div><div class="long"><p>Optional. Only present for <a href="Ext.tip.ToolTip.html#floating" rel="Ext.tip.ToolTip#floating" class="docClass">floating</a> Components after they have been rendered.</p>
1382
1383
1384 <p>A reference to the ZIndexManager which is managing this Component's z-index.</p>
1385
1386
1387 <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
1388 mask which is insert just beneath the topmost visible modal floating Component.</p>
1389
1390
1391 <p>Floating Components may be <a href="Ext.tip.ToolTip.html#toFront" rel="Ext.tip.ToolTip#toFront" class="docClass">brought to the front</a> or <a href="Ext.tip.ToolTip.html#toBack" rel="Ext.tip.ToolTip#toBack" class="docClass">sent to the back</a> of the z-index stack.</p>
1392
1393
1394 <p>This defaults to the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> for floating Components that are programatically
1395 <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a>.</p>
1396
1397
1398 <p>For <a href="Ext.tip.ToolTip.html#floating" rel="Ext.tip.ToolTip#floating" class="docClass">floating</a> Components which are added to a Container, the ZIndexManager is acquired from the first ancestor Container found
1399 which is floating, or if not found the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> is used.</p>
1400
1401
1402 <p>See <a href="Ext.tip.ToolTip.html#floating" rel="Ext.tip.ToolTip#floating" class="docClass">floating</a> and <a href="Ext.tip.ToolTip.html#floatParent" rel="Ext.tip.ToolTip#floatParent" class="docClass">floatParent</a></p>
1403
1404 </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-ToolTip" class="member f ni"><a href="Ext.tip.ToolTip.html#method-ToolTip" rel="method-ToolTip" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-method-constructor" class="viewSource">view source</a></div><a name="ToolTip"></a><a name="method-ToolTip"></a><a href="Ext.tip.ToolTip.html#" rel="method-ToolTip" class="cls expand">ToolTip</a>(
1405 <span class="pre">Object config</span>)
1406  : void</div><div class="description"><div class="short"><p>Create a new ToolTip instance</p>
1407 </div><div class="long"><p>Create a new ToolTip instance</p>
1408 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The configuration options</p>
1409 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1410 </li></ul></div></div></div><div id="method-add" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-add" class="cls expand">add</a>(
1411 <span class="pre">...Object/Array Component</span>)
1412  : Ext.Component/Array</div><div class="description"><div class="short">Adds Component(s) to this Container.
1413
1414 Description:
1415
1416
1417 Fires the beforeadd event before adding.
1418 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>
1419
1420 <h2>Description:</h2>
1421
1422 <ul>
1423 <li>Fires the <a href="Ext.tip.ToolTip.html#beforeadd" rel="Ext.tip.ToolTip#beforeadd" class="docClass">beforeadd</a> event before adding.</li>
1424 <li>The Container's <a href="Ext.tip.ToolTip.html#defaults" rel="Ext.tip.ToolTip#defaults" class="docClass">default config values</a> will be applied
1425 accordingly (see <code><a href="Ext.tip.ToolTip.html#defaults" rel="Ext.tip.ToolTip#defaults" class="docClass">defaults</a></code> for details).</li>
1426 <li>Fires the <code><a href="Ext.tip.ToolTip.html#add" rel="Ext.tip.ToolTip#add" class="docClass">add</a></code> event after the component has been added.</li>
1427 </ul>
1428
1429
1430 <h2>Notes:</h2>
1431
1432 <p>If the Container is <strong>already rendered</strong> when <code>add</code>
1433 is called, it will render the newly added Component into its content area.</p>
1434
1435 <p><strong><strong>If</strong></strong> the Container was configured with a size-managing <a href="Ext.tip.ToolTip.html#layout" rel="Ext.tip.ToolTip#layout" class="docClass">layout</a> manager, the Container
1436 will recalculate its internal layout at this time too.</p>
1437
1438 <p>Note that the default layout manager simply renders child Components sequentially into the content area and thereafter performs no sizing.</p>
1439
1440 <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>
1441
1442 <pre><code>tb = new <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Ext.toolbar.Toolbar</a>({
1443     renderTo: document.body
1444 });  // toolbar is rendered
1445 tb.add([{text:'Button 1'}, {text:'Button 2'}]); // add multiple items. (<a href="Ext.tip.ToolTip.html#defaultType" rel="Ext.tip.ToolTip#defaultType" class="docClass">defaultType</a> for <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Toolbar</a> is 'button')
1446 </code></pre>
1447
1448 <h2>Warning:##</h2>
1449
1450 <p>Components directly managed by the BorderLayout layout manager
1451 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>
1452 for more details.</p>
1453 <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.
1454 See <code><a href="Ext.tip.ToolTip.html#items" rel="Ext.tip.ToolTip#items" class="docClass">items</a></code> for additional information.</p>
1455 </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>
1456 </li></ul></div></div></div><div id="method-addClass" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-addClass" class="cls expand">addClass</a>(
1457 <span class="pre">String cls</span>)
1458  : Ext.Component</div><div class="description"><div class="short"><p>@deprecated 4.0 Replaced by {link:#addCls}
1459 Adds a CSS class to the top level element representing this component.</p>
1460 </div><div class="long"><p>@deprecated 4.0 Replaced by {link:#addCls}
1461 Adds a CSS class to the top level element representing this component.</p>
1462 <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>
1463 </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>
1464 </li></ul></div></div></div><div id="method-addCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-addCls" class="cls expand">addCls</a>(
1465 <span class="pre">String cls</span>)
1466  : Ext.Component</div><div class="description"><div class="short"><p>Adds a CSS class to the top level element representing this component.</p>
1467 </div><div class="long"><p>Adds a CSS class to the top level element representing this component.</p>
1468 <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>
1469 </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>
1470 </li></ul></div></div></div><div id="method-addClsWithUI" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-addClsWithUI" class="cls expand">addClsWithUI</a>(
1471 <span class="pre">String/Array cls</span>)
1472  : void</div><div class="description"><div class="short"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.tip.ToolTip.html#addUIClsToElement" rel="Ext.tip.ToolTip#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1473 to all elements of this component.</p>
1474 </div><div class="long"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.tip.ToolTip.html#addUIClsToElement" rel="Ext.tip.ToolTip#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1475 to all elements of this component.</p>
1476 <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>
1477 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1478 </li></ul></div></div></div><div id="method-addDocked" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-addDocked" class="cls expand">addDocked</a>(
1479 <span class="pre">Object/Array component, [Number pos]</span>)
1480  : void</div><div class="description"><div class="short"><p>Adds docked item(s) to the panel.</p>
1481 </div><div class="long"><p>Adds docked item(s) to the panel.</p>
1482 <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
1483 must include a 'dock' parameter on each component to indicate where it should be docked ('top', 'right',
1484 'bottom', 'left').</p>
1485 </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>
1486 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1487 </li></ul></div></div></div><div id="method-addEvents" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-addEvents" class="cls expand">addEvents</a>(
1488 <span class="pre">Object/String o, String </span>)
1489  : void</div><div class="description"><div class="short"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1490 </div><div class="long"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1491 <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>
1492 or the first event name string if multiple event names are being passed as separate parameters.</p>
1493 </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.
1494 Usage:</p>
1495
1496 <pre><code>this.addEvents('storeloaded', 'storecleared');
1497 </code></pre>
1498
1499 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1500 </li></ul></div></div></div><div id="method-addListener" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-addListener" class="cls expand">addListener</a>(
1501 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
1502  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object.</p>
1503 </div><div class="long"><p>Appends an event handler to this object.</p>
1504 <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>
1505 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes.</p>
1506 </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.
1507 <b>If omitted, defaults to the object which fired the event.</b></p>
1508 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.
1509 properties. This may contain any of the following properties:<ul>
1510 <li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1511 <b>If omitted, defaults to the object which fired the event.</b></div></li>
1512 <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>
1513 <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>
1514 <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
1515 by the specified number of milliseconds. If the event fires again within that time, the original
1516 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
1517 <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>
1518 if the event was bubbled up from a child Observable.</div></li>
1519 <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>
1520 The name of a Component property which references an element to add a listener to.</p>
1521
1522 <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
1523 will exist only after the Component is rendered. For example, to add a click listener to a Panel's body:
1524 <pre><code>new Ext.panel.Panel({
1525     title: 'The title',
1526     listeners: {
1527         click: this.handlePanelClick,
1528         element: 'body'
1529     }
1530 });
1531 </code></pre></p>
1532
1533
1534 <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>
1535
1536
1537 <p></div></li>
1538 </ul><br></p>
1539
1540 <p>
1541 <b>Combining Options</b><br>
1542 Using the options argument, it is possible to combine different types of listeners:<br>
1543 <br>
1544 A delayed, one-time listener.
1545 <pre><code>myPanel.on('hide', this.handleClick, this, {
1546 single: true,
1547 delay: 100
1548 });</code></pre>
1549 <p>
1550 <b>Attaching multiple handlers in 1 call</b><br>
1551 The method also allows for a single argument to be passed which is a config object containing properties
1552 which specify multiple events. For example:
1553 <pre><code>myGridPanel.on({
1554     cellClick: this.onCellClick,
1555     mouseover: this.onMouseOver,
1556     mouseout: this.onMouseOut,
1557     scope: this // Important. Ensure "this" is correct during handler execution
1558 });
1559 </code></pre>.
1560 <p>
1561
1562 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1563 </li></ul></div></div></div><div id="method-addManagedListener" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-addManagedListener" class="cls expand">addManagedListener</a>(
1564 <span class="pre">Observable/Element item, Object/String ename, Function fn, Object scope, Object opt</span>)
1565  : void</div><div class="description"><div class="short"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1566 is destroyed.
1567
1568 </div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1569 is destroyed.
1570
1571 <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>
1572 </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>
1573 </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
1574 is the handler function.</p>
1575 </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
1576 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
1577 </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
1578 is the <a href="Ext.util.Observable.html#addListener" rel="Ext.util.Observable#addListener" class="docClass">addListener</a> options.</p>
1579 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1580 </li></ul></div></div></div><div id="method-addStateEvents" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-addStateEvents" class="cls expand">addStateEvents</a>(
1581 <span class="pre">String/Array events</span>)
1582  : void</div><div class="description"><div class="short"><p>Add events that will trigger the state to be saved.</p>
1583 </div><div class="long"><p>Add events that will trigger the state to be saved.</p>
1584 <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>
1585 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1586 </li></ul></div></div></div><div id="method-afterComponentLayout" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-afterComponentLayout" class="cls expand">afterComponentLayout</a>(
1587 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1588  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
1589 <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>
1590 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1591 </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>
1592 </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>
1593 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1594 </li></ul></div></div></div><div id="method-alignTo" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-alignTo" class="cls expand">alignTo</a>(
1595 <span class="pre">Mixed element, String position, [Array offsets]</span>)
1596  : Component</div><div class="description"><div class="short"><p>Aligns this floating Component to the specified element</p>
1597 </div><div class="long"><p>Aligns this floating Component to the specified element</p>
1598 <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
1599 be a omponent instance. If a string id is passed, it will be used as an element id.</p>
1600 </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>
1601 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
1602 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1603 </li></ul></div></div></div><div id="method-animate" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-animate" class="cls expand">animate</a>(
1604 <span class="pre">Object config</span>)
1605  : Object</div><div class="description"><div class="short">Perform custom animation on this object.
1606 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>
1607 <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.
1608 It performs animated transitions of certain properties of this object over a specified timeline.</p>
1609 <p>The sole parameter is an object which specifies start property values, end property values, and properties which
1610 describe the timeline. Of the properties listed below, only <b><code>to</code></b> is mandatory.</p>
1611 <p>Properties include<ul>
1612 <li><code>from</code> <div class="sub-desc">An object which specifies start values for the properties being animated.
1613 If not supplied, properties are animated from current settings. The actual properties which may be animated depend upon
1614 ths object being animated. See the sections below on Element and Component animation.<div></li>
1615 <li><code>to</code> <div class="sub-desc">An object which specifies end values for the properties being animated.</div></li>
1616 <li><code>duration</code><div class="sub-desc">The duration <b>in milliseconds</b> for which the animation will run.</div></li>
1617 <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>
1618 <li>ease</li>
1619 <li>easeIn</li>
1620 <li>easeOut</li>
1621 <li>easeInOut</li>
1622 <li>backIn</li>
1623 <li>backOut</li>
1624 <li>elasticIn</li>
1625 <li>elasticOut</li>
1626 <li>bounceIn</li>
1627 <li>bounceOut</li>
1628 </ul></code></div></li>
1629 <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.
1630 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>
1631 <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
1632 to inject behaviour at either the <code>beforeanimate</code> event or the <code>afteranimate</code> event.</div></li>
1633 </ul></p>
1634 <h3>Animating an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a></h3>
1635 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1636 <li><code>x</code> <div class="sub-desc">The page X position in pixels.</div></li>
1637 <li><code>y</code> <div class="sub-desc">The page Y position in pixels</div></li>
1638 <li><code>left</code> <div class="sub-desc">The element's CSS <code>left</code> value. Units must be supplied.</div></li>
1639 <li><code>top</code> <div class="sub-desc">The element's CSS <code>top</code> value. Units must be supplied.</div></li>
1640 <li><code>width</code> <div class="sub-desc">The element's CSS <code>width</code> value. Units must be supplied.</div></li>
1641 <li><code>height</code> <div class="sub-desc">The element's CSS <code>height</code> value. Units must be supplied.</div></li>
1642 <li><code>scrollLeft</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1643 <li><code>scrollTop</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1644 <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>
1645 </ul>
1646 <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
1647 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
1648 directly animate certain properties of Components.</b></p>
1649 <h3>Animating a <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></h3>
1650 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1651 <li><code>x</code> <div class="sub-desc">The Component's page X position in pixels.</div></li>
1652 <li><code>y</code> <div class="sub-desc">The Component's page Y position in pixels</div></li>
1653 <li><code>left</code> <div class="sub-desc">The Component's <code>left</code> value in pixels.</div></li>
1654 <li><code>top</code> <div class="sub-desc">The Component's <code>top</code> value in pixels.</div></li>
1655 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1656 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1657 <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
1658 of the animation. <i>Use sparingly as laying out on every intermediate size change is an expensive operation</i>.</div></li>
1659 </ul>
1660 <p>For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:</p>
1661 <pre><code>myWindow = Ext.create('Ext.window.Window', {
1662     title: 'Test Component animation',
1663     width: 500,
1664     height: 300,
1665     layout: {
1666         type: 'hbox',
1667         align: 'stretch'
1668     },
1669     items: [{
1670         title: 'Left: 33%',
1671         margins: '5 0 5 5',
1672         flex: 1
1673     }, {
1674         title: 'Left: 66%',
1675         margins: '5 5 5 5',
1676         flex: 2
1677     }]
1678 });
1679 myWindow.show();
1680 myWindow.header.el.on('click', function() {
1681     myWindow.animate({
1682         to: {
1683             width: (myWindow.getWidth() == 500) ? 700 : 500,
1684             height: (myWindow.getHeight() == 300) ? 400 : 300,
1685         }
1686     });
1687 });
1688 </code></pre>
1689 <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
1690 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>
1691
1692 <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>
1693 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>this</p>
1694 </li></ul></div></div></div><div id="method-applyState" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-applyState" class="cls expand">applyState</a>(
1695 <span class="pre">Object state</span>)
1696  : void</div><div class="description"><div class="short">Applies the state to the object. This should be overridden in subclasses to do
1697 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
1698 more complex state operations. By default it applies the state properties onto
1699 the current object.</p>
1700 <h3 class="pa">Parameters</h3><ul><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The state</p>
1701 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1702 </li></ul></div></div></div><div id="method-beforeComponentLayout" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-beforeComponentLayout" class="cls expand">beforeComponentLayout</a>(
1703 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1704  : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1705 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1706 from being executed.</p>
1707 <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>
1708 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1709 </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>
1710 </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>
1711 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1712 </li></ul></div></div></div><div id="method-beforeLayout" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1713 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the containerLayout
1714 from being executed.</p>
1715 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1716 </li></ul></div></div></div><div id="method-bubble" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-bubble" class="cls expand">bubble</a>(
1717 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1718  : 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
1719 function call will be the scope provided or the current component. The arguments to the function
1720 will be the args provided or the current component. If the function returns false at any point,
1721 the bubble is stopped.</p>
1722 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1723 </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>
1724 </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>
1725 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1726 </li></ul></div></div></div><div id="method-capture" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-capture" class="cls expand">capture</a>(
1727 <span class="pre">Observable o, Function fn, [Object scope]</span>)
1728  : void</div><div class="description"><div class="short">Starts capture on the specified Observable. All events will be passed
1729 to the supplied function with the event name + ...</div><div class="long"><p>Starts capture on the specified Observable. All events will be passed
1730 to the supplied function with the event name + standard signature of the event
1731 <b>before</b> the event is fired. If the supplied function returns false,
1732 the event will not fire.</p>
1733 <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>
1734 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call when an event is fired.</p>
1735 </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>
1736 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1737 </li></ul></div></div></div><div id="method-cascade" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-cascade" class="cls expand">cascade</a>(
1738 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1739  : 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
1740 each component. The scope (<code>this</code> reference) of the
1741 function call will be the scope provided or the current component. The arguments to the function
1742 will be the args provided or the current component. If the function returns false at any point,
1743 the cascade is stopped on that branch.</p>
1744 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1745 </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>
1746 </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>
1747 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Container</span>&nbsp; &nbsp;<p>this</p>
1748 </li></ul></div></div></div><div id="method-center" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1749 </div><div class="long"><p>Center this Component in its container.</p>
1750 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1751 </li></ul></div></div></div><div id="method-child" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-child" class="cls expand">child</a>(
1752 <span class="pre">String selector</span>)
1753  : void</div><div class="description"><div class="short">Retrieves the first direct child of this container which matches the passed selector.
1754 The passed in selector must com...</div><div class="long"><p>Retrieves the first direct child of this container which matches the passed selector.
1755 The passed in selector must comply with an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector.</p>
1756 <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>
1757 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component</p>
1758 </li></ul></div></div></div><div id="method-clearListeners" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1759 </div><div class="long"><p>Removes all listeners for this object including the managed listeners</p>
1760 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1761 </li></ul></div></div></div><div id="method-clearManagedListeners" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1762 </div><div class="long"><p>Removes all managed listeners for this object.</p>
1763 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1764 </li></ul></div></div></div><div id="method-cloneConfig" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-cloneConfig" class="cls expand">cloneConfig</a>(
1765 <span class="pre">Object overrides</span>)
1766  : 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>
1767 </div><div class="long"><p>Clone the current component using the original config values passed into this instance by default.</p>
1768 <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.
1769 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</p>
1770 </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>
1771 </li></ul></div></div></div><div id="method-close" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1772 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
1773 the Panel object and all its descendant Components. The <a href="Ext.tip.ToolTip.html#beforeclose" rel="Ext.tip.ToolTip#beforeclose" class="docClass">beforeclose</a>
1774 event is fired before the close happens and will cancel the close action if it returns false.<p>
1775 <p><b>Note:</b> This method is not affected by the <a href="Ext.tip.ToolTip.html#closeAction" rel="Ext.tip.ToolTip#closeAction" class="docClass">closeAction</a> setting which
1776 only affects the action triggered when clicking the <a href="Ext.tip.ToolTip.html#closable" rel="Ext.tip.ToolTip#closable" class="docClass">'close' tool in the header</a>.
1777 To hide the Panel without destroying it, call <a href="Ext.tip.ToolTip.html#hide" rel="Ext.tip.ToolTip#hide" class="docClass">hide</a>.</p>
1778
1779 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1780 </li></ul></div></div></div><div id="method-collapse" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-collapse" class="cls expand">collapse</a>(
1781 <span class="pre">Number direction, Boolean animate, Object internal</span>)
1782  : 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
1783 border towards which the ...</div><div class="long"><p>Collapses the panel body so that the body becomes hidden. Docked Components parallel to the
1784 border towards which the collapse takes place will remain visible.  Fires the <a href="Ext.tip.ToolTip.html#beforecollapse" rel="Ext.tip.ToolTip#beforecollapse" class="docClass">beforecollapse</a> event which will
1785 cancel the collapse action if it returns false.</p>
1786 <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>
1787 <li>Ext.Component.DIRECTION_TOP</li>
1788 <li>Ext.Component.DIRECTION_RIGHT</li>
1789 <li>Ext.Component.DIRECTION_BOTTOM</li>
1790 <li>Ext.Component.DIRECTION_LEFT</li></ul></p>
1791 </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
1792 <a href="Ext.tip.ToolTip.html#animCollapse" rel="Ext.tip.ToolTip#animCollapse" class="docClass">animCollapse</a> panel config)</p>
1793 </div></li><li><span class="pre">internal</span> : Object<div class="sub-desc">
1794 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.panel.Panel</span>&nbsp; &nbsp;<p>this</p>
1795 </li></ul></div></div></div><div id="method-destroy" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-destroy" class="cls expand">destroy</a> : void</div><div class="description"><div class="short"><p>Destroys this stateful object.</p>
1796 </div><div class="long"><p>Destroys this stateful object.</p>
1797 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1798 </li></ul></div></div></div><div id="method-disable" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-disable" class="cls expand">disable</a>(
1799 <span class="pre">Boolean silent</span>)
1800  : void</div><div class="description"><div class="short"><p>Disable the component.</p>
1801 </div><div class="long"><p>Disable the component.</p>
1802 <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>
1803 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1804 </li></ul></div></div></div><div id="method-doAutoRender" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-doAutoRender" class="cls expand">doAutoRender</a> : void</div><div class="description"><div class="short">Handles autoRender.
1805 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them wit...</div><div class="long"><p>Handles autoRender.
1806 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them within that
1807 ownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body</p>
1808 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1809 </li></ul></div></div></div><div id="method-doComponentLayout" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-doComponentLayout" class="cls expand">doComponentLayout</a>(
1810 <span class="pre">Object width, Object height, Object isSetSize, Object ownerCt</span>)
1811  : 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
1812 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
1813 layout to be recalculated.</p>
1814 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Object<div class="sub-desc">
1815 </div></li><li><span class="pre">height</span> : Object<div class="sub-desc">
1816 </div></li><li><span class="pre">isSetSize</span> : Object<div class="sub-desc">
1817 </div></li><li><span class="pre">ownerCt</span> : Object<div class="sub-desc">
1818 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1819 </li></ul></div></div></div><div id="method-doConstrain" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-doConstrain" class="cls expand">doConstrain</a>(
1820 <span class="pre">Mixed constrainTo</span>)
1821  : void</div><div class="description"><div class="short">Moves this floating Component into a constrain region.
1822
1823
1824 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>
1825
1826
1827 <p>By default, this Component is constrained to be within the container it was added to, or the element
1828 it was rendered to.</p>
1829
1830
1831 <p>An alternative constraint may be passed.</p>
1832
1833 <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>
1834 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1835 </li></ul></div></div></div><div id="method-doLayout" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1836 form...</div><div class="long"><p>Manually force this container's layout to be recalculated.  The framwork uses this internally to refresh layouts
1837 form most cases.</p>
1838 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1839 </li></ul></div></div></div><div id="method-down" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-down" class="cls expand">down</a>(
1840 <span class="pre">String selector</span>)
1841  : void</div><div class="description"><div class="short">Retrieves the first descendant of this container which matches the passed selector.
1842 The passed in selector must compl...</div><div class="long"><p>Retrieves the first descendant of this container which matches the passed selector.
1843 The passed in selector must comply with an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector.</p>
1844 <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>
1845 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component</p>
1846 </li></ul></div></div></div><div id="method-enable" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-enable" class="cls expand">enable</a>(
1847 <span class="pre">Boolean silent</span>)
1848  : void</div><div class="description"><div class="short"><p>Enable the component</p>
1849 </div><div class="long"><p>Enable the component</p>
1850 <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>
1851 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1852 </li></ul></div></div></div><div id="method-enableBubble" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-enableBubble" class="cls expand">enableBubble</a>(
1853 <span class="pre">String/Array events</span>)
1854  : void</div><div class="description"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
1855 this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
1856 <code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
1857
1858
1859 <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
1860 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
1861 access the required target more quickly.</p>
1862
1863
1864 <p>Example:</p>
1865
1866
1867 <pre><code>Ext.override(Ext.form.field.Base, {
1868 //  Add functionality to Field&#39;s initComponent to enable the change event to bubble
1869 initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {
1870     this.enableBubble('change');
1871 }),
1872
1873 //  We know that we want Field&#39;s events to bubble directly to the FormPanel.
1874 getBubbleTarget : function() {
1875     if (!this.formPanel) {
1876         this.formPanel = this.findParentByType('form');
1877     }
1878     return this.formPanel;
1879 }
1880 });
1881
1882 var myForm = new Ext.formPanel({
1883 title: 'User Details',
1884 items: [{
1885     ...
1886 }],
1887 listeners: {
1888     change: function() {
1889         // Title goes red if form has been modified.
1890         myForm.header.setStyle('color', 'red');
1891     }
1892 }
1893 });
1894 </code></pre>
1895
1896 <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>
1897 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1898 </li></ul></div></div></div><div id="method-expand" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-expand" class="cls expand">expand</a>(
1899 <span class="pre">Boolean animate</span>)
1900  : 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
1901 cancel the expand action ...</div><div class="long"><p>Expands the panel body so that it becomes visible.  Fires the <a href="Ext.tip.ToolTip.html#beforeexpand" rel="Ext.tip.ToolTip#beforeexpand" class="docClass">beforeexpand</a> event which will
1902 cancel the expand action if it returns false.</p>
1903 <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
1904 <a href="Ext.tip.ToolTip.html#animCollapse" rel="Ext.tip.ToolTip#animCollapse" class="docClass">animCollapse</a> panel config)</p>
1905 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.panel.Panel</span>&nbsp; &nbsp;<p>this</p>
1906 </li></ul></div></div></div><div id="method-findLayoutController" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
1907 ...</div><div class="long"><p>This method finds the topmost active layout who's processing will eventually determine the size and position of this
1908 Component.<p>
1909 <p>This method is useful when dynamically adding Components into Containers, and some processing must take place after the
1910 final sizing and positioning of the Component has been performed.</p>
1911
1912 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1913 </li></ul></div></div></div><div id="method-findParentBy" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-findParentBy" class="cls expand">findParentBy</a>(
1914 <span class="pre">Function fn</span>)
1915  : 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
1916 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
1917 true, the container will be returned.</p>
1918 <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>
1919 </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>
1920 </li></ul></div></div></div><div id="method-findParentByType" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-findParentByType" class="cls expand">findParentByType</a>(
1921 <span class="pre">String/Class xtype</span>)
1922  : 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>
1923
1924
1925 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1926
1927 </div><div class="long"><p>Find a container above this component at any level by xtype or class</p>
1928
1929
1930 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1931
1932 <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>
1933 </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>
1934 </li></ul></div></div></div><div id="method-fireEvent" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-fireEvent" class="cls expand">fireEvent</a>(
1935 <span class="pre">String eventName, Object... args</span>)
1936  : Boolean</div><div class="description"><div class="short">Fires the specified event with the passed parameters (minus the event name).
1937
1938
1939 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>
1940
1941
1942 <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>)
1943 by calling <a href="Ext.tip.ToolTip.html#enableBubble" rel="Ext.tip.ToolTip#enableBubble" class="docClass">enableBubble</a>.</p>
1944
1945 <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>
1946 </div></li><li><span class="pre">args</span> : Object...<div class="sub-desc"><p>Variable number of parameters are passed to handlers.</p>
1947 </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>
1948 </li></ul></div></div></div><div id="method-focus" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-focus" class="cls expand">focus</a>(
1949 <span class="pre">[Boolean selectText], [Boolean/Number delay]</span>)
1950  : Ext.Component</div><div class="description"><div class="short"><p>Try to focus this component.</p>
1951 </div><div class="long"><p>Try to focus this component.</p>
1952 <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>
1953 </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>
1954 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1955 </li></ul></div></div></div><div id="method-getActiveAnimation" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1956 </div><div class="long"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1957 <h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>anim if element has active effects, else false</p>
1958 </li></ul></div></div></div><div id="method-getBox" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-getBox" class="cls expand">getBox</a>(
1959 <span class="pre">[Boolean local]</span>)
1960  : Object</div><div class="description"><div class="short"><p>Gets the current box measurements of the component's underlying element.</p>
1961 </div><div class="long"><p>Gets the current box measurements of the component's underlying element.</p>
1962 <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>
1963 </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>
1964 </li></ul></div></div></div><div id="method-getBubbleTarget" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1965 </div><div class="long"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1966 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>the Container which owns this Component.</p>
1967 </li></ul></div></div></div><div id="method-getChildByElement" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-getChildByElement" class="cls expand">getChildByElement</a>(
1968 <span class="pre">Object el</span>)
1969  : Component</div><div class="description"><div class="short"><p>Return the immediate child Component in which the passed element is located.</p>
1970 </div><div class="long"><p>Return the immediate child Component in which the passed element is located.</p>
1971 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Object<div class="sub-desc"><p>The element to test.</p>
1972 </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>
1973 </li></ul></div></div></div><div id="method-getComponent" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-getComponent" class="cls expand">getComponent</a>(
1974 <span class="pre">String/Number comp</span>)
1975  : 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
1976 items, the dockedItems are searched and the matched component (if any) returned (see {@loink #getDockedComponent}). Note that docked
1977 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>
1978 <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>
1979 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>The component (if found)</p>
1980 </li></ul></div></div></div><div id="method-getDockedComponent" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-getDockedComponent" class="cls expand">getDockedComponent</a>(
1981 <span class="pre">String/Number comp</span>)
1982  : Ext.Component</div><div class="description"><div class="short"><p>Finds a docked component by id, itemId or position. Also see <a href="Ext.tip.ToolTip.html#getDockedItems" rel="Ext.tip.ToolTip#getDockedItems" class="docClass">getDockedItems</a></p>
1983 </div><div class="long"><p>Finds a docked component by id, itemId or position. Also see <a href="Ext.tip.ToolTip.html#getDockedItems" rel="Ext.tip.ToolTip#getDockedItems" class="docClass">getDockedItems</a></p>
1984 <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.tip.ToolTip.html#getComponent" rel="Ext.tip.ToolTip#getComponent" class="docClass">getComponent</a> for details)</p>
1985 </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>
1986 </li></ul></div></div></div><div id="method-getDockedItems" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-getDockedItems" class="cls expand">getDockedItems</a>(
1987 <span class="pre">String cqSelector</span>)
1988  : Array</div><div class="description"><div class="short"><p>Retrieve an array of all currently docked Components.</p>
1989 </div><div class="long"><p>Retrieve an array of all currently docked Components.</p>
1990 <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>
1991 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>An array of components.</p>
1992 </li></ul></div></div></div><div id="method-getEl" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1993 </div><div class="long"><p>Retrieves the top level element representing this component.</p>
1994 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1995 </li></ul></div></div></div><div id="method-getHeight" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
1996 </div><div class="long"><p>Gets the current height of the component's underlying element.</p>
1997 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1998 </li></ul></div></div></div><div id="method-getId" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-getId" class="cls expand">getId</a> : void</div><div class="description"><div class="short"><p>Retrieves the id of this component.
1999 Will autogenerate an id if one has not already been set.</p>
2000 </div><div class="long"><p>Retrieves the id of this component.
2001 Will autogenerate an id if one has not already been set.</p>
2002 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2003 </li></ul></div></div></div><div id="method-getInsertPosition" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-getInsertPosition" class="cls expand">getInsertPosition</a>(
2004 <span class="pre">String/Number/Element/HTMLElement position</span>)
2005  : HTMLElement</div><div class="description"><div class="short">This function takes the position argument passed to onRender and returns a
2006 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
2007 DOM element that you can use in the insertBefore.</p>
2008 <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
2009 to put this component before.</p>
2010 </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>
2011 </li></ul></div></div></div><div id="method-getLayout" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.
2012 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.
2013 If a layout has not been instantiated yet, that is done first</p>
2014 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.layout.container.AbstractContainer</span>&nbsp; &nbsp;<p>The layout</p>
2015 </li></ul></div></div></div><div id="method-getLoader" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
2016 </div><div class="long"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
2017 <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>
2018 </li></ul></div></div></div><div id="method-getPlugin" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-getPlugin" class="cls expand">getPlugin</a>(
2019 <span class="pre">Object pluginId</span>)
2020  : Ext.AbstractPlugin</div><div class="description"><div class="short"><p>Retrieves a plugin by its pluginId which has been bound to this
2021 component.</p>
2022 </div><div class="long"><p>Retrieves a plugin by its pluginId which has been bound to this
2023 component.</p>
2024 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pluginId</span> : Object<div class="sub-desc">
2025 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.AbstractPlugin</span>&nbsp; &nbsp;<p>pluginInstance</p>
2026 </li></ul></div></div></div><div id="method-getPosition" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-getPosition" class="cls expand">getPosition</a>(
2027 <span class="pre">[Boolean local]</span>)
2028  : Array</div><div class="description"><div class="short"><p>Gets the current XY position of the component's underlying element.</p>
2029 </div><div class="long"><p>Gets the current XY position of the component's underlying element.</p>
2030 <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>
2031 </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>
2032 </li></ul></div></div></div><div id="method-getSize" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
2033 </div><div class="long"><p>Gets the current size of the component's underlying element.</p>
2034 <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>
2035 </li></ul></div></div></div><div id="method-getState" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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,
2036 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,
2037 it should be overridden in subclasses to implement methods for getting the state.</p>
2038 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The current state</p>
2039 </li></ul></div></div></div><div id="method-getStateId" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
2040 </div><div class="long"><p>Gets the state id for this object.</p>
2041 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The state id, null if not found.</p>
2042 </li></ul></div></div></div><div id="method-getWidth" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
2043 </div><div class="long"><p>Gets the current width of the component's underlying element.</p>
2044 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
2045 </li></ul></div></div></div><div id="method-getXType" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
2046 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
2047 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header. Example usage:</p>
2048
2049 <pre><code>var t = new Ext.form.field.Text();
2050 alert(t.getXType());  // alerts 'textfield'
2051 </code></pre>
2052
2053 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype</p>
2054 </li></ul></div></div></div><div id="method-getXTypes" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
2055 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
2056 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
2057
2058
2059 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
2060 to participate in determination of inherited xtypes.</b></p>
2061
2062
2063 <p>Example usage:</p>
2064
2065
2066 <pre><code>var t = new Ext.form.field.Text();
2067 alert(t.getXTypes());  // alerts 'component/field/textfield'
2068 </code></pre>
2069
2070 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype hierarchy string</p>
2071 </li></ul></div></div></div><div id="method-hasListener" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-hasListener" class="cls expand">hasListener</a>(
2072 <span class="pre">String eventName</span>)
2073  : Boolean</div><div class="description"><div class="short"><p>Checks to see if this object has any listeners for a specified event</p>
2074 </div><div class="long"><p>Checks to see if this object has any listeners for a specified event</p>
2075 <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>
2076 </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>
2077 </li></ul></div></div></div><div id="method-hasUICls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-hasUICls" class="cls expand">hasUICls</a>(
2078 <span class="pre">String cls</span>)
2079  : void</div><div class="description"><div class="short"><p>Checks if there is currently a specified uiCls</p>
2080 </div><div class="long"><p>Checks if there is currently a specified uiCls</p>
2081 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The cls to check</p>
2082 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2083 </li></ul></div></div></div><div id="method-hide" class="member ni"><a href="Ext.tip.ToolTip.html#method-hide" rel="method-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-method-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="method-hide"></a><a href="Ext.tip.ToolTip.html#" rel="method-hide" class="cls expand">hide</a> : void</div><div class="description"><div class="short"><p>Hides this tooltip if visible.</p>
2084 </div><div class="long"><p>Hides this tooltip if visible.</p>
2085 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2086 </li></ul></div></div></div><div id="method-insert" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-insert" class="cls expand">insert</a>(
2087 <span class="pre">Number index, Ext.Component component</span>)
2088  : Ext.Component</div><div class="description"><div class="short">Inserts a Component into this Container at a specified index. Fires the
2089 beforeadd event before inserting, then fires ...</div><div class="long"><p>Inserts a Component into this Container at a specified index. Fires the
2090 <a href="Ext.tip.ToolTip.html#beforeadd" rel="Ext.tip.ToolTip#beforeadd" class="docClass">beforeadd</a> event before inserting, then fires the <a href="Ext.tip.ToolTip.html#add" rel="Ext.tip.ToolTip#add" class="docClass">add</a> event after the
2091 Component has been inserted.</p>
2092 <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
2093 into the Container's items collection</p>
2094 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The child Component to insert.<br><br>
2095 <a href="Ext.html" rel="Ext" class="docClass">Ext</a> uses lazy rendering, and will only render the inserted Component should
2096 it become necessary.<br><br>
2097 A Component config object may be passed in order to avoid the overhead of
2098 constructing a real Component object if lazy rendering might mean that the
2099 inserted Component will not be rendered immediately. To take advantage of
2100 this 'lazy instantiation', set the <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">Ext.Component.xtype</a> config
2101 property to the registered type of the Component wanted.<br><br>
2102 For a list of all available xtypes, see <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>.</p>
2103 </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
2104 inserted with the Container's default config values applied.</p>
2105 </li></ul></div></div></div><div id="method-insertDocked" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-insertDocked" class="cls expand">insertDocked</a>(
2106 <span class="pre">Number pos, Object/Array component</span>)
2107  : void</div><div class="description"><div class="short"><p>Inserts docked item(s) to the panel at the indicated position.</p>
2108 </div><div class="long"><p>Inserts docked item(s) to the panel at the indicated position.</p>
2109 <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>
2110 </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
2111 must include a 'dock' paramater on each component to indicate where it should be docked ('top', 'right',
2112 'bottom', 'left').</p>
2113 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2114 </li></ul></div></div></div><div id="method-is" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-is" class="cls expand">is</a>(
2115 <span class="pre">String selector</span>)
2116  : Boolean</div><div class="description"><div class="short"><p>Tests whether this Component matches the selector string.</p>
2117 </div><div class="long"><p>Tests whether this Component matches the selector string.</p>
2118 <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>
2119 </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>
2120 </li></ul></div></div></div><div id="method-isDescendantOf" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-isDescendantOf" class="cls expand">isDescendantOf</a>(
2121 <span class="pre">Ext.Container container</span>)
2122  : Boolean</div><div class="description"><div class="short"><p>Determines whether this component is the descendant of a particular container.</p>
2123 </div><div class="long"><p>Determines whether this component is the descendant of a particular container.</p>
2124 <h3 class="pa">Parameters</h3><ul><li><span class="pre">container</span> : Ext.Container<div class="sub-desc">
2125 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>isDescendant</p>
2126 </li></ul></div></div></div><div id="method-isDisabled" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
2127 </div><div class="long"><p>Method to determine whether this Component is currently disabled.</p>
2128 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the disabled state of this Component.</p>
2129 </li></ul></div></div></div><div id="method-isDraggable" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
2130 </div><div class="long"><p>Method to determine whether this Component is draggable.</p>
2131 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the draggable state of this component.</p>
2132 </li></ul></div></div></div><div id="method-isDroppable" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
2133 </div><div class="long"><p>Method to determine whether this Component is droppable.</p>
2134 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the droppable state of this component.</p>
2135 </li></ul></div></div></div><div id="method-isFloating" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
2136 </div><div class="long"><p>Method to determine whether this Component is floating.</p>
2137 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the floating state of this component.</p>
2138 </li></ul></div></div></div><div id="method-isHidden" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
2139 </div><div class="long"><p>Method to determine whether this Component is currently set to hidden.</p>
2140 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the hidden state of this Component.</p>
2141 </li></ul></div></div></div><div id="method-isVisible" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-isVisible" class="cls expand">isVisible</a>(
2142 <span class="pre">Boolean deep</span>)
2143  : Boolean</div><div class="description"><div class="short"><p>Returns true if this component is visible.</p>
2144 </div><div class="long"><p>Returns true if this component is visible.</p>
2145 <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
2146 parent Containers to determine whether this Component is truly visible to the user.</p></p>
2147
2148 <p>Generally, to determine whether a Component is hidden, the no argument form is needed. For example
2149 when creating dynamically laid out UIs in a hidden Container before showing them.</p>
2150
2151 </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>
2152 </li></ul></div></div></div><div id="method-isXType" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-isXType" class="cls expand">isXType</a>(
2153 <span class="pre">String xtype, [Boolean shallow]</span>)
2154  : 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
2155 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
2156 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
2157
2158
2159 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
2160 to participate in determination of inherited xtypes.</b></p>
2161
2162
2163 <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>
2164
2165
2166 <p>Example usage:</p>
2167
2168
2169 <pre><code>var t = new Ext.form.field.Text();
2170 var isText = t.isXType('textfield');        // true
2171 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>
2172 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
2173 </code></pre>
2174
2175 <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>
2176 </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
2177 the default), or true to check whether this Component is directly of the specified xtype.</p>
2178 </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>
2179 </li></ul></div></div></div><div id="method-move" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-move" class="cls expand">move</a>(
2180 <span class="pre">Number fromIdx, Number toIdx</span>)
2181  : Ext.Component</div><div class="description"><div class="short"><p>Moves a Component within the Container</p>
2182 </div><div class="long"><p>Moves a Component within the Container</p>
2183 <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>
2184 </div></li><li><span class="pre">toIdx</span> : Number<div class="sub-desc"><p>The new index for the Component.</p>
2185 </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>
2186 </li></ul></div></div></div><div id="method-nextNode" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-nextNode" class="cls expand">nextNode</a>(
2187 <span class="pre">String selector, Object includeSelf</span>)
2188  : void</div><div class="description"><div class="short">Returns the next node in the Component tree in tree traversal order.
2189
2190
2191 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>
2192
2193
2194 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
2195 walk the tree to attempt to find a match. Contrast with <a href="Ext.tip.ToolTip.html#pnextSibling" rel="Ext.tip.ToolTip#pnextSibling" class="docClass">pnextSibling</a>.</p>
2196
2197 <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>
2198 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
2199 </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>
2200 </li></ul></div></div></div><div id="method-nextSibling" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-nextSibling" class="cls expand">nextSibling</a>(
2201 <span class="pre">String selector</span>)
2202  : void</div><div class="description"><div class="short">Returns the next sibling of this Component.
2203
2204
2205 Optionally selects the next sibling which matches the passed ComponentQ...</div><div class="long"><p>Returns the next sibling of this Component.</p>
2206
2207
2208 <p>Optionally selects the next sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
2209
2210
2211 <p>May also be refered to as <code><b>next()</b></code></p>
2212
2213
2214 <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.tip.ToolTip.html#nextNode" rel="Ext.tip.ToolTip#nextNode" class="docClass">nextNode</a></p>
2215
2216 <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>
2217 </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>
2218 </li></ul></div></div></div><div id="method-observe" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-observe" class="cls expand">observe</a>(
2219 <span class="pre">Function c, Object listeners</span>)
2220  : void</div><div class="description"><div class="short">Sets observability on the passed class constructor.
2221
2222 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>
2223
2224 <p>This makes any event fired on any instance of the passed class also fire a single event through
2225 the <strong>class</strong> allowing for central handling of events on many instances at once.</p>
2226
2227 <p>Usage:</p>
2228
2229 <pre><code>Ext.util.Observable.observe(Ext.data.Connection);
2230 Ext.data.Connection.on('beforerequest', function(con, options) {
2231     console.log('Ajax request made to ' + options.url);
2232 });
2233 </code></pre>
2234 <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>
2235 </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.tip.ToolTip.html#addListener" rel="Ext.tip.ToolTip#addListener" class="docClass">addListener</a>.</p>
2236 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2237 </li></ul></div></div></div><div id="method-on" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-on" class="cls expand">on</a>(
2238 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
2239  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object (shorthand for <a href="Ext.tip.ToolTip.html#addListener" rel="Ext.tip.ToolTip#addListener" class="docClass">addListener</a>.)</p>
2240 </div><div class="long"><p>Appends an event handler to this object (shorthand for <a href="Ext.tip.ToolTip.html#addListener" rel="Ext.tip.ToolTip#addListener" class="docClass">addListener</a>.)</p>
2241 <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>
2242 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes</p>
2243 </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.
2244 <b>If omitted, defaults to the object which fired the event.</b></p>
2245 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.</p>
2246 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2247 </li></ul></div></div></div><div id="method-previousNode" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-previousNode" class="cls expand">previousNode</a>(
2248 <span class="pre">String selector, Object includeSelf</span>)
2249  : void</div><div class="description"><div class="short">Returns the previous node in the Component tree in tree traversal order.
2250
2251
2252 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>
2253
2254
2255 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
2256 walk the tree in reverse order to attempt to find a match. Contrast with <a href="Ext.tip.ToolTip.html#previousSibling" rel="Ext.tip.ToolTip#previousSibling" class="docClass">previousSibling</a>.</p>
2257
2258 <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>
2259 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
2260 </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>
2261 </li></ul></div></div></div><div id="method-previousSibling" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-previousSibling" class="cls expand">previousSibling</a>(
2262 <span class="pre">String selector</span>)
2263  : void</div><div class="description"><div class="short">Returns the previous sibling of this Component.
2264
2265
2266 Optionally selects the previous sibling which matches the passed Co...</div><div class="long"><p>Returns the previous sibling of this Component.</p>
2267
2268
2269 <p>Optionally selects the previous sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
2270
2271
2272 <p>May also be refered to as <code><b>prev()</b></code></p>
2273
2274
2275 <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.tip.ToolTip.html#previousNode" rel="Ext.tip.ToolTip#previousNode" class="docClass">previousNode</a></p>
2276
2277 <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>
2278 </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>
2279 </li></ul></div></div></div><div id="method-query" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-query" class="cls expand">query</a>(
2280 <span class="pre">String selector</span>)
2281  : Array</div><div class="description"><div class="short">Retrieves all descendant components which match the passed selector.
2282 Executes an Ext.ComponentQuery.query using this ...</div><div class="long"><p>Retrieves all descendant components which match the passed selector.
2283 Executes an Ext.ComponentQuery.query using this container as its root.</p>
2284 <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>
2285 </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>
2286 </li></ul></div></div></div><div id="method-relayEvents" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-relayEvents" class="cls expand">relayEvents</a>(
2287 <span class="pre">Object origin, Array events, Object prefix</span>)
2288  : 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>
2289 </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>
2290 <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>
2291 </div></li><li><span class="pre">events</span> : Array<div class="sub-desc"><p>Array of event names to relay.</p>
2292 </div></li><li><span class="pre">prefix</span> : Object<div class="sub-desc">
2293 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2294 </li></ul></div></div></div><div id="method-releaseCapture" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-releaseCapture" class="cls expand">releaseCapture</a>(
2295 <span class="pre">Observable o</span>)
2296  : void</div><div class="description"><div class="short"><p>Removes <b>all</b> added captures from the Observable.</p>
2297 </div><div class="long"><p>Removes <b>all</b> added captures from the Observable.</p>
2298 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to release</p>
2299 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2300 </li></ul></div></div></div><div id="method-remove" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-remove" class="cls expand">remove</a>(
2301 <span class="pre">Component/String component, [Boolean autoDestroy]</span>)
2302  : Ext.Component</div><div class="description"><div class="short">Removes a component from this container.  Fires the beforeremove event before removing, then fires
2303 the remove event a...</div><div class="long"><p>Removes a component from this container.  Fires the <a href="Ext.tip.ToolTip.html#beforeremove" rel="Ext.tip.ToolTip#beforeremove" class="docClass">beforeremove</a> event before removing, then fires
2304 the <a href="Ext.tip.ToolTip.html#remove" rel="Ext.tip.ToolTip#remove" class="docClass">remove</a> event after the component has been removed.</p>
2305 <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>
2306 </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.
2307 Defaults to the value of this Container's <a href="Ext.tip.ToolTip.html#autoDestroy" rel="Ext.tip.ToolTip#autoDestroy" class="docClass">autoDestroy</a> config.</p>
2308 </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>
2309 </li></ul></div></div></div><div id="method-removeAll" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-removeAll" class="cls expand">removeAll</a>(
2310 <span class="pre">[Boolean autoDestroy]</span>)
2311  : Array</div><div class="description"><div class="short"><p>Removes all components from this container.</p>
2312 </div><div class="long"><p>Removes all components from this container.</p>
2313 <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.
2314 Defaults to the value of this Container's <a href="Ext.tip.ToolTip.html#autoDestroy" rel="Ext.tip.ToolTip#autoDestroy" class="docClass">autoDestroy</a> config.</p>
2315 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>Array of the destroyed components</p>
2316 </li></ul></div></div></div><div id="method-removeCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-removeCls" class="cls expand">removeCls</a>(
2317 <span class="pre">Object className</span>)
2318  : Ext.Component</div><div class="description"><div class="short"><p>Removes a CSS class from the top level element representing this component.</p>
2319 </div><div class="long"><p>Removes a CSS class from the top level element representing this component.</p>
2320 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : Object<div class="sub-desc">
2321 </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>
2322 </li></ul></div></div></div><div id="method-removeClsWithUI" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-removeClsWithUI" class="cls expand">removeClsWithUI</a>(
2323 <span class="pre">String/Array cls</span>)
2324  : void</div><div class="description"><div class="short">Removes a cls to the uiCls array, which will also call removeUIClsToElement and removes
2325 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.tip.ToolTip.html#removeUIClsToElement" rel="Ext.tip.ToolTip#removeUIClsToElement" class="docClass">removeUIClsToElement</a> and removes
2326 it from all elements of this component.</p>
2327 <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>
2328 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2329 </li></ul></div></div></div><div id="method-removeDocked" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-removeDocked" class="cls expand">removeDocked</a>(
2330 <span class="pre">Ext.Component item, [Boolean autoDestroy]</span>)
2331  : void</div><div class="description"><div class="short"><p>Removes the docked item from the panel.</p>
2332 </div><div class="long"><p>Removes the docked item from the panel.</p>
2333 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Ext.Component<div class="sub-desc"><p>. The Component to remove.</p>
2334 </div></li><li><span class="pre">autoDestroy</span> : Boolean<div class="sub-desc"><p>(optional) Destroy the component after removal.</p>
2335 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2336 </li></ul></div></div></div><div id="method-removeListener" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-removeListener" class="cls expand">removeListener</a>(
2337 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2338  : void</div><div class="description"><div class="short"><p>Removes an event handler.</p>
2339 </div><div class="long"><p>Removes an event handler.</p>
2340 <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>
2341 </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.tip.ToolTip.html#addListener" rel="Ext.tip.ToolTip#addListener" class="docClass">addListener</a> call.</b></p>
2342 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2343 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2344 </li></ul></div></div></div><div id="method-removeManagedListener" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-removeManagedListener" class="cls expand">removeManagedListener</a>(
2345 <span class="pre">Observable|Element item, Object|String ename, Function fn, Object scope</span>)
2346  : void</div><div class="description"><div class="short"><p>Removes listeners that were added by the <a href="Ext.tip.ToolTip.html#mon" rel="Ext.tip.ToolTip#mon" class="docClass">mon</a> method.</p>
2347 </div><div class="long"><p>Removes listeners that were added by the <a href="Ext.tip.ToolTip.html#mon" rel="Ext.tip.ToolTip#mon" class="docClass">mon</a> method.</p>
2348 <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>
2349 </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>
2350 </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
2351 is the handler function.</p>
2352 </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
2353 is the scope (<code>this</code> reference) in which the handler function is executed.</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-resumeEvents" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-resumeEvents" class="cls expand">resumeEvents</a> : void</div><div class="description"><div class="short">Resume firing events. (see suspendEvents)
2356 If events were suspended using the queueSuspended parameter, then all
2357 event...</div><div class="long"><p>Resume firing events. (see <a href="Ext.tip.ToolTip.html#suspendEvents" rel="Ext.tip.ToolTip#suspendEvents" class="docClass">suspendEvents</a>)
2358 If events were suspended using the <code><b>queueSuspended</b></code> parameter, then all
2359 events fired during event suspension will be sent to any listeners now.</p>
2360 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2361 </li></ul></div></div></div><div id="method-sequenceFx" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
2362 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
2363 run in sequence.  This is the opposite of <a href="Ext.tip.ToolTip.html#syncFx" rel="Ext.tip.ToolTip#syncFx" class="docClass">syncFx</a>.</p>
2364 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2365 </li></ul></div></div></div><div id="method-setActive" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setActive" class="cls expand">setActive</a>(
2366 <span class="pre">Boolean active, Component newActive</span>)
2367  : void</div><div class="description"><div class="short">This method is called internally by Ext.ZIndexManager to signal that a floating
2368 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
2369 Component has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.</p>
2370
2371
2372 <p>If a <i>Window</i> is superceded by another Window, deactivating it hides its shadow.</p>
2373
2374
2375 <p>This method also fires the <a href="Ext.tip.ToolTip.html#activate" rel="Ext.tip.ToolTip#activate" class="docClass">activate</a> or <a href="Ext.tip.ToolTip.html#deactivate" rel="Ext.tip.ToolTip#deactivate" class="docClass">deactivate</a> event depending on which action occurred.</p>
2376
2377 <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>
2378 </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>
2379 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2380 </li></ul></div></div></div><div id="method-setAutoScroll" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setAutoScroll" class="cls expand">setAutoScroll</a>(
2381 <span class="pre">Boolean scroll</span>)
2382  : Ext.Component</div><div class="description"><div class="short"><p>Sets the overflow on the content element of the component.</p>
2383 </div><div class="long"><p>Sets the overflow on the content element of the component.</p>
2384 <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>
2385 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2386 </li></ul></div></div></div><div id="method-setDisabled" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setDisabled" class="cls expand">setDisabled</a>(
2387 <span class="pre">Boolean disabled</span>)
2388  : void</div><div class="description"><div class="short"><p>Enable or disable the component.</p>
2389 </div><div class="long"><p>Enable or disable the component.</p>
2390 <h3 class="pa">Parameters</h3><ul><li><span class="pre">disabled</span> : Boolean<div class="sub-desc">
2391 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2392 </li></ul></div></div></div><div id="method-setDocked" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setDocked" class="cls expand">setDocked</a>(
2393 <span class="pre">Object dock, Object layoutParent</span>)
2394  : Component</div><div class="description"><div class="short">Sets the dock position of this component in its parent panel. Note that
2395 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
2396 this only has effect if this item is part of the dockedItems collection
2397 of a parent that has a DockLayout (note that any Panel has a DockLayout
2398 by default)</p>
2399 <h3 class="pa">Parameters</h3><ul><li><span class="pre">dock</span> : Object<div class="sub-desc">
2400 </div></li><li><span class="pre">layoutParent</span> : Object<div class="sub-desc">
2401 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2402 </li></ul></div></div></div><div id="method-setHeight" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setHeight" class="cls expand">setHeight</a>(
2403 <span class="pre">Number height</span>)
2404  : Ext.Component</div><div class="description"><div class="short"><p>Sets the height of the component.  This method fires the <a href="Ext.tip.ToolTip.html#resize" rel="Ext.tip.ToolTip#resize" class="docClass">resize</a> event.</p>
2405 </div><div class="long"><p>Sets the height of the component.  This method fires the <a href="Ext.tip.ToolTip.html#resize" rel="Ext.tip.ToolTip#resize" class="docClass">resize</a> event.</p>
2406 <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>
2407 <li>A Number specifying the new height in the <a href="Ext.tip.ToolTip.html#getEl" rel="Ext.tip.ToolTip#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>
2408 <li>A String used to set the CSS height style.</li>
2409 <li><i>undefined</i> to leave the height unchanged.</li>
2410 </ul></div></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-setIconCls" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setIconCls" class="cls expand">setIconCls</a>(
2413 <span class="pre">String newIconCls</span>)
2414  : 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>
2415 </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>
2416 <h3 class="pa">Parameters</h3><ul><li><span class="pre">newIconCls</span> : String<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-setLoading" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setLoading" class="cls expand">setLoading</a>(
2419 <span class="pre">Boolean/Object/String load, Boolean targetEl</span>)
2420  : 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>
2421 </div><div class="long"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
2422 <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
2423 that will be passed to the LoadMask constructor, or a message String to show. False to
2424 hide the current LoadMask.</p>
2425 </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.
2426 For example, setting this to true on a Panel will cause only the body to be masked. (defaults to false)</p>
2427 </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>
2428 </li></ul></div></div></div><div id="method-setPagePosition" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setPagePosition" class="cls expand">setPagePosition</a>(
2429 <span class="pre">Number x, Number y, Mixed animate</span>)
2430  : 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.
2431 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.tip.ToolTip.html#setPosition" rel="Ext.tip.ToolTip#setPosition" class="docClass">setPosition</a>.
2432 This method fires the <a href="Ext.tip.ToolTip.html#move" rel="Ext.tip.ToolTip#move" class="docClass">move</a> event.</p>
2433 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2434 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2435 </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
2436 is a number, it is used as the animation duration in milliseconds.</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-setPosition" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setPosition" class="cls expand">setPosition</a>(
2439 <span class="pre">Number left, Number top, Mixed animate</span>)
2440  : 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.
2441 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.tip.ToolTip.html#setPagePosition" rel="Ext.tip.ToolTip#setPagePosition" class="docClass">setPagePosition</a>.
2442 This method fires the <a href="Ext.tip.ToolTip.html#move" rel="Ext.tip.ToolTip#move" class="docClass">move</a> event.</p>
2443 <h3 class="pa">Parameters</h3><ul><li><span class="pre">left</span> : Number<div class="sub-desc"><p>The new left</p>
2444 </div></li><li><span class="pre">top</span> : Number<div class="sub-desc"><p>The new top</p>
2445 </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>
2446 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2447 </li></ul></div></div></div><div id="method-setSize" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setSize" class="cls expand">setSize</a>(
2448 <span class="pre">Mixed width, Mixed height</span>)
2449  : 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
2450 either width ...</div><div class="long"><p>Sets the width and height of this Component. This method fires the <a href="Ext.tip.ToolTip.html#resize" rel="Ext.tip.ToolTip#resize" class="docClass">resize</a> event. This method can accept
2451 either width and height as separate arguments, or you can pass a size object like <code>{width:10, height:20}</code>.</p>
2452 <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>
2453 <li>A Number specifying the new width in the <a href="Ext.tip.ToolTip.html#getEl" rel="Ext.tip.ToolTip#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>
2454 <li>A String used to set the CSS width style.</li>
2455 <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
2456 <li><code>undefined</code> to leave the width unchanged.</li>
2457 </ul></div></p>
2458 </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).
2459 This may be one of:<div class="mdetail-params"><ul>
2460 <li>A Number specifying the new height in the <a href="Ext.tip.ToolTip.html#getEl" rel="Ext.tip.ToolTip#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>
2461 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
2462 <li><code>undefined</code> to leave the height unchanged.</li>
2463 </ul></div></p>
2464 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2465 </li></ul></div></div></div><div id="method-setTarget" class="member ni"><a href="Ext.tip.ToolTip.html#method-setTarget" rel="method-setTarget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-method-setTarget" class="viewSource">view source</a></div><a name="setTarget"></a><a name="method-setTarget"></a><a href="Ext.tip.ToolTip.html#" rel="method-setTarget" class="cls expand">setTarget</a>(
2466 <span class="pre">Mixed t</span>)
2467  : void</div><div class="description"><div class="short"><p>Binds this ToolTip to the specified element. The tooltip will be displayed when the mouse moves over the element.</p>
2468 </div><div class="long"><p>Binds this ToolTip to the specified element. The tooltip will be displayed when the mouse moves over the element.</p>
2469 <h3 class="pa">Parameters</h3><ul><li><span class="pre">t</span> : Mixed<div class="sub-desc"><p>The Element, HtmlElement, or ID of an element to bind to</p>
2470 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2471 </li></ul></div></div></div><div id="method-setTitle" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setTitle" class="cls expand">setTitle</a>(
2472 <span class="pre">String newTitle</span>)
2473  : 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>
2474 </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>
2475 <h3 class="pa">Parameters</h3><ul><li><span class="pre">newTitle</span> : String<div class="sub-desc">
2476 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2477 </li></ul></div></div></div><div id="method-setUI" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setUI" class="cls expand">setUI</a>(
2478 <span class="pre">String ui</span>)
2479  : 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
2480 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
2481 loop through any uiCls set on the component and rename them so they include the new UI</p>
2482 <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>
2483 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2484 </li></ul></div></div></div><div id="method-setVisible" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setVisible" class="cls expand">setVisible</a>(
2485 <span class="pre">Boolean visible</span>)
2486  : Ext.Component</div><div class="description"><div class="short"><p>Convenience function to hide or show this component by boolean.</p>
2487 </div><div class="long"><p>Convenience function to hide or show this component by boolean.</p>
2488 <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>
2489 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2490 </li></ul></div></div></div><div id="method-setWidth" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-setWidth" class="cls expand">setWidth</a>(
2491 <span class="pre">Number width</span>)
2492  : Ext.Component</div><div class="description"><div class="short"><p>Sets the width of the component.  This method fires the <a href="Ext.tip.ToolTip.html#resize" rel="Ext.tip.ToolTip#resize" class="docClass">resize</a> event.</p>
2493 </div><div class="long"><p>Sets the width of the component.  This method fires the <a href="Ext.tip.ToolTip.html#resize" rel="Ext.tip.ToolTip#resize" class="docClass">resize</a> event.</p>
2494 <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>
2495 <li>A Number specifying the new width in the <a href="Ext.tip.ToolTip.html#getEl" rel="Ext.tip.ToolTip#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 </ul></div></p>
2498 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2499 </li></ul></div></div></div><div id="method-show" class="member ni"><a href="Ext.tip.ToolTip.html#method-show" rel="method-show" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.ToolTip.html" class="definedIn docClass">Ext.tip.ToolTip</a><br/><a href="../source/ToolTip.html#Ext-tip.ToolTip-method-show" class="viewSource">view source</a></div><a name="show"></a><a name="method-show"></a><a href="Ext.tip.ToolTip.html#" rel="method-show" class="cls expand">show</a> : void</div><div class="description"><div class="short"><p>Shows this tooltip at the current event target XY position.</p>
2500 </div><div class="long"><p>Shows this tooltip at the current event target XY position.</p>
2501 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2502 </li></ul></div></div></div><div id="method-showAt" class="member inherited"><a href="Ext.tip.ToolTip.html#method-showAt" rel="method-showAt" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.Tip.html" class="definedIn docClass">Ext.tip.Tip</a><br/><a href="../source/Tip3.html#Ext-tip.Tip-method-showAt" class="viewSource">view source</a></div><a name="showAt"></a><a name="method-showAt"></a><a href="Ext.tip.ToolTip.html#" rel="method-showAt" class="cls expand">showAt</a>(
2503 <span class="pre">Array xy</span>)
2504  : void</div><div class="description"><div class="short"><p>Shows this tip at the specified XY position.  Example usage:</p>
2505
2506 <pre><code>// Show the tip at x:50 and y:100
2507 tip.showAt([50,100]);
2508 </code></pre>
2509
2510 </div><div class="long"><p>Shows this tip at the specified XY position.  Example usage:</p>
2511
2512 <pre><code>// Show the tip at x:50 and y:100
2513 tip.showAt([50,100]);
2514 </code></pre>
2515
2516 <h3 class="pa">Parameters</h3><ul><li><span class="pre">xy</span> : Array<div class="sub-desc"><p>An array containing the x and y coordinates</p>
2517 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2518 </li></ul></div></div></div><div id="method-showBy" class="member inherited"><a href="Ext.tip.ToolTip.html#method-showBy" rel="method-showBy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tip.Tip.html" class="definedIn docClass">Ext.tip.Tip</a><br/><a href="../source/Tip3.html#Ext-tip.Tip-method-showBy" class="viewSource">view source</a></div><a name="showBy"></a><a name="method-showBy"></a><a href="Ext.tip.ToolTip.html#" rel="method-showBy" class="cls expand">showBy</a>(
2519 <span class="pre">Mixed el, [String position]</span>)
2520  : void</div><div class="description"><div class="short">Experimental. Shows this tip at a position relative to another element using a standard Ext.core.Element.alignTo
2521 anch...</div><div class="long"><p><b>Experimental</b>. Shows this tip at a position relative to another element using a standard <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a>
2522 anchor position value.  Example usage:</p>
2523
2524 <pre><code>// Show the tip at the default position ('tl-br?')
2525 tip.showBy('my-el');
2526
2527 // Show the tip's top-left corner anchored to the element's top-right corner
2528 tip.showBy('my-el', 'tl-tr');
2529 </code></pre>
2530
2531 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>An HTMLElement, Ext.core.Element or string id of the target element to align to</p>
2532 </div></li><li><span class="pre">position</span> : String<div class="sub-desc"><p>(optional) A valid <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a> anchor position (defaults to 'tl-br?' or
2533 <a href="Ext.tip.ToolTip.html#defaultAlign" rel="Ext.tip.ToolTip#defaultAlign" class="docClass">defaultAlign</a> if specified).</p>
2534 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2535 </li></ul></div></div></div><div id="method-stopAnimation" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
2536 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.tip.ToolTip.html#stopAnimation" rel="Ext.tip.ToolTip#stopAnimation" class="docClass">stopAnimation</a>
2537 Stops any running effects and clears this object's internal effects queue if it contains
2538 any additional effects that haven't started yet.</p>
2539 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2540 </li></ul></div></div></div><div id="method-suspendEvents" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-suspendEvents" class="cls expand">suspendEvents</a>(
2541 <span class="pre">Boolean queueSuspended</span>)
2542  : void</div><div class="description"><div class="short"><p>Suspend the firing of all events. (see <a href="Ext.tip.ToolTip.html#resumeEvents" rel="Ext.tip.ToolTip#resumeEvents" class="docClass">resumeEvents</a>)</p>
2543 </div><div class="long"><p>Suspend the firing of all events. (see <a href="Ext.tip.ToolTip.html#resumeEvents" rel="Ext.tip.ToolTip#resumeEvents" class="docClass">resumeEvents</a>)</p>
2544 <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
2545 after the <a href="Ext.tip.ToolTip.html#resumeEvents" rel="Ext.tip.ToolTip#resumeEvents" class="docClass">resumeEvents</a> call instead of discarding all suspended events;</p>
2546 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2547 </li></ul></div></div></div><div id="method-syncFx" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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
2548 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
2549 run concurrently.  This is the opposite of <a href="Ext.tip.ToolTip.html#sequenceFx" rel="Ext.tip.ToolTip#sequenceFx" class="docClass">sequenceFx</a>.</p>
2550 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2551 </li></ul></div></div></div><div id="method-toBack" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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>
2552 </div><div class="long"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
2553 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2554 </li></ul></div></div></div><div id="method-toFront" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-toFront" class="cls expand">toFront</a>(
2555 <span class="pre">[Boolean preventFocus]</span>)
2556  : 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>
2557
2558
2559 <p>If this Component is modal, inserts the modal mask just below this Component in the z-index stack.</p>
2560
2561 <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>
2562 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2563 </li></ul></div></div></div><div id="method-toggleCollapse" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.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.tip.ToolTip.html#expand" rel="Ext.tip.ToolTip#expand" class="docClass">expand</a> or <a href="Ext.tip.ToolTip.html#collapse" rel="Ext.tip.ToolTip#collapse" class="docClass">collapse</a> based on the current state of the panel.</p>
2564 </div><div class="long"><p>Shortcut for performing an <a href="Ext.tip.ToolTip.html#expand" rel="Ext.tip.ToolTip#expand" class="docClass">expand</a> or <a href="Ext.tip.ToolTip.html#collapse" rel="Ext.tip.ToolTip#collapse" class="docClass">collapse</a> based on the current state of the panel.</p>
2565 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.panel.Panel</span>&nbsp; &nbsp;<p>this</p>
2566 </li></ul></div></div></div><div id="method-un" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-un" class="cls expand">un</a>(
2567 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2568  : void</div><div class="description"><div class="short"><p>Removes an event handler (shorthand for <a href="Ext.tip.ToolTip.html#removeListener" rel="Ext.tip.ToolTip#removeListener" class="docClass">removeListener</a>.)</p>
2569 </div><div class="long"><p>Removes an event handler (shorthand for <a href="Ext.tip.ToolTip.html#removeListener" rel="Ext.tip.ToolTip#removeListener" class="docClass">removeListener</a>.)</p>
2570 <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>
2571 </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.tip.ToolTip.html#addListener" rel="Ext.tip.ToolTip#addListener" class="docClass">addListener</a> call.</b></p>
2572 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2573 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2574 </li></ul></div></div></div><div id="method-up" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-up" class="cls expand">up</a>(
2575 <span class="pre">String selector</span>)
2576  : Container</div><div class="description"><div class="short">Walks up the ownerCt axis looking for an ancestor Container which matches
2577 the passed simple selector.
2578
2579
2580 Example:
2581 var ...</div><div class="long"><p>Walks up the <code>ownerCt</code> axis looking for an ancestor Container which matches
2582 the passed simple selector.</p>
2583
2584
2585 <p>Example:
2586 <pre><code>var owningTabPanel = grid.up('tabpanel');
2587 </code></pre>
2588
2589 <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>
2590 </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>
2591 </li></ul></div></div></div><div id="method-update" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-update" class="cls expand">update</a>(
2592 <span class="pre">Mixed htmlOrData, [Boolean loadScripts], [Function callback]</span>)
2593  : void</div><div class="description"><div class="short"><p>Update the content area of a component.</p>
2594 </div><div class="long"><p>Update the content area of a component.</p>
2595 <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
2596 then it will use this argument as data to populate the template.
2597 If this component was not configured with a template, the components
2598 content area will be updated via <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> update</p>
2599 </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>
2600 </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>
2601 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2602 </li></ul></div></div></div><div id="method-updateBox" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="method-updateBox" class="cls expand">updateBox</a>(
2603 <span class="pre">Object box</span>)
2604  : Ext.Component</div><div class="description"><div class="short"><p>Sets the current box measurements of the component's underlying element.</p>
2605 </div><div class="long"><p>Sets the current box measurements of the component's underlying element.</p>
2606 <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>
2607 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2608 </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.tip.ToolTip.html#event-activate" rel="event-activate" 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-activate" class="viewSource">view source</a></div><a name="activate"></a><a name="event-activate"></a><a href="Ext.tip.ToolTip.html#" rel="event-activate" class="cls expand">activate</a>(
2609 <span class="pre">Ext.Component this</span>)
2610 </div><div class="description"><div class="short"><p>Fires after a Component has been visually activated.</p>
2611 </div><div class="long"><p>Fires after a Component has been visually activated.</p>
2612 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2613 </div></li></ul></div></div></div><div id="event-add" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-add" class="cls expand">add</a>(
2614 <span class="pre">Ext.container.Container this, Ext.Component component, Number index</span>)
2615 </div><div class="description"><div class="short"><p>@bubbles
2616 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.</p>
2617 </div><div class="long"><p>@bubbles
2618 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.</p>
2619 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2620 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component that was added</p>
2621 </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>
2622 </div></li></ul></div></div></div><div id="event-added" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-added" class="cls expand">added</a>(
2623 <span class="pre">Ext.Component this, Ext.container.Container container, Number pos</span>)
2624 </div><div class="description"><div class="short"><p>Fires after a Component had been added to a Container.</p>
2625 </div><div class="long"><p>Fires after a Component had been added to a Container.</p>
2626 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2627 </div></li><li><span class="pre">container</span> : Ext.container.Container<div class="sub-desc"><p>Parent Container</p>
2628 </div></li><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>position of Component</p>
2629 </div></li></ul></div></div></div><div id="event-afterlayout" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-afterlayout" class="cls expand">afterlayout</a>(
2630 <span class="pre">Ext.container.Container this, ContainerLayout layout</span>)
2631 </div><div class="description"><div class="short"><p>Fires when the components in this container are arranged by the associated layout manager.</p>
2632 </div><div class="long"><p>Fires when the components in this container are arranged by the associated layout manager.</p>
2633 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2634 </div></li><li><span class="pre">layout</span> : ContainerLayout<div class="sub-desc"><p>The ContainerLayout implementation for this container</p>
2635 </div></li></ul></div></div></div><div id="event-afterrender" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-afterrender" class="cls expand">afterrender</a>(
2636 <span class="pre">Ext.Component this</span>)
2637 </div><div class="description"><div class="short">Fires after the component rendering is finished.
2638
2639
2640 The afterrender event is fired after this Component has been rende...</div><div class="long"><p>Fires after the component rendering is finished.</p>
2641
2642
2643 <p>The afterrender event is fired after this Component has been <a href="Ext.tip.ToolTip.html#rendered" rel="Ext.tip.ToolTip#rendered" class="docClass">rendered</a>, been postprocesed
2644 by any afterRender method defined for the Component.</p>
2645
2646 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2647 </div></li></ul></div></div></div><div id="event-beforeactivate" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforeactivate" class="cls expand">beforeactivate</a>(
2648 <span class="pre">Ext.Component this</span>)
2649 </div><div class="description"><div class="short">Fires before a Component has been visually activated.
2650 Returning false from an event listener can prevent the activate...</div><div class="long"><p>Fires before a Component has been visually activated.
2651 Returning false from an event listener can prevent the activate
2652 from occurring.</p>
2653 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2654 </div></li></ul></div></div></div><div id="event-beforeadd" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforeadd" class="cls expand">beforeadd</a>(
2655 <span class="pre">Ext.container.Container this, Ext.Component component, Number index</span>)
2656 </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.
2657 A handler can return false to cancel the add.</p>
2658 </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.
2659 A handler can return false to cancel the add.</p>
2660 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2661 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component being added</p>
2662 </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>
2663 </div></li></ul></div></div></div><div id="event-beforecardswitch" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforecardswitch" class="cls expand">beforecardswitch</a>(
2664 <span class="pre">Ext.container.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated</span>)
2665 </div><div class="description"><div class="short">Fires before this container switches the active card. This event
2666 is only available if this container uses a CardLayou...</div><div class="long"><p>Fires before this container switches the active card. This event
2667 is only available if this container uses a CardLayout. Note that
2668 TabPanel and Carousel both get a CardLayout by default, so both
2669 will have this event.
2670 A handler can return false to cancel the card switch.</p>
2671 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2672 </div></li><li><span class="pre">newCard</span> : Ext.Component<div class="sub-desc"><p>The card that will be switched to</p>
2673 </div></li><li><span class="pre">oldCard</span> : Ext.Component<div class="sub-desc"><p>The card that will be switched from</p>
2674 </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>
2675 </div></li><li><span class="pre">animated</span> : Boolean<div class="sub-desc"><p>True if this cardswitch will be animated</p>
2676 </div></li></ul></div></div></div><div id="event-beforedeactivate" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforedeactivate" class="cls expand">beforedeactivate</a>(
2677 <span class="pre">Ext.Component this</span>)
2678 </div><div class="description"><div class="short">Fires before a Component has been visually deactivated.
2679 Returning false from an event listener can prevent the deacti...</div><div class="long"><p>Fires before a Component has been visually deactivated.
2680 Returning false from an event listener can prevent the deactivate
2681 from occurring.</p>
2682 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2683 </div></li></ul></div></div></div><div id="event-beforedestroy" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforedestroy" class="cls expand">beforedestroy</a>(
2684 <span class="pre">Ext.Component this</span>)
2685 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.tip.ToolTip.html#destroy" rel="Ext.tip.ToolTip#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.tip.ToolTip.html#destroy" rel="Ext.tip.ToolTip#destroy" class="docClass">destroy</a>.</p>
2686 </div><div class="long"><p>Fires before the component is <a href="Ext.tip.ToolTip.html#destroy" rel="Ext.tip.ToolTip#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.tip.ToolTip.html#destroy" rel="Ext.tip.ToolTip#destroy" class="docClass">destroy</a>.</p>
2687 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2688 </div></li></ul></div></div></div><div id="event-beforehide" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforehide" class="cls expand">beforehide</a>(
2689 <span class="pre">Ext.Component this</span>)
2690 </div><div class="description"><div class="short"><p>Fires before the component is hidden when calling the <a href="Ext.tip.ToolTip.html#hide" rel="Ext.tip.ToolTip#hide" class="docClass">hide</a> method.
2691 Return false from an event handler to stop the hide.</p>
2692 </div><div class="long"><p>Fires before the component is hidden when calling the <a href="Ext.tip.ToolTip.html#hide" rel="Ext.tip.ToolTip#hide" class="docClass">hide</a> method.
2693 Return false from an event handler to stop the hide.</p>
2694 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2695 </div></li></ul></div></div></div><div id="event-beforeremove" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforeremove" class="cls expand">beforeremove</a>(
2696 <span class="pre">Ext.container.Container this, Ext.Component component</span>)
2697 </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
2698 false to cancel the remove.</p>
2699 </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
2700 false to cancel the remove.</p>
2701 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2702 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component being removed</p>
2703 </div></li></ul></div></div></div><div id="event-beforerender" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforerender" class="cls expand">beforerender</a>(
2704 <span class="pre">Ext.Component this</span>)
2705 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.tip.ToolTip.html#rendered" rel="Ext.tip.ToolTip#rendered" class="docClass">rendered</a>. Return false from an
2706 event handler to stop the <a href="Ext.tip.ToolTip.html#render" rel="Ext.tip.ToolTip#render" class="docClass">render</a>.</p>
2707 </div><div class="long"><p>Fires before the component is <a href="Ext.tip.ToolTip.html#rendered" rel="Ext.tip.ToolTip#rendered" class="docClass">rendered</a>. Return false from an
2708 event handler to stop the <a href="Ext.tip.ToolTip.html#render" rel="Ext.tip.ToolTip#render" class="docClass">render</a>.</p>
2709 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2710 </div></li></ul></div></div></div><div id="event-beforeshow" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforeshow" class="cls expand">beforeshow</a>(
2711 <span class="pre">Ext.Component this</span>)
2712 </div><div class="description"><div class="short"><p>Fires before the component is shown when calling the <a href="Ext.tip.ToolTip.html#show" rel="Ext.tip.ToolTip#show" class="docClass">show</a> method.
2713 Return false from an event handler to stop the show.</p>
2714 </div><div class="long"><p>Fires before the component is shown when calling the <a href="Ext.tip.ToolTip.html#show" rel="Ext.tip.ToolTip#show" class="docClass">show</a> method.
2715 Return false from an event handler to stop the show.</p>
2716 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2717 </div></li></ul></div></div></div><div id="event-beforestaterestore" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforestaterestore" class="cls expand">beforestaterestore</a>(
2718 <span class="pre">Ext.state.Stateful this, Object state</span>)
2719 </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>
2720 </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>
2721 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2722 </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
2723 event is not vetoed, then the state object is passed to <b><tt>applyState</tt></b>. By default,
2724 that simply copies property values into this object. The method maybe overriden to
2725 provide custom state restoration.</p>
2726 </div></li></ul></div></div></div><div id="event-beforestatesave" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-beforestatesave" class="cls expand">beforestatesave</a>(
2727 <span class="pre">Ext.state.Stateful this, Object state</span>)
2728 </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>
2729 </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>
2730 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2731 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2732 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2733 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>
2734 has a null implementation.</p>
2735 </div></li></ul></div></div></div><div id="event-bodyresize" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-bodyresize" class="cls expand">bodyresize</a>(
2736 <span class="pre">Ext.panel.Panel p, Number width, Number height</span>)
2737 </div><div class="description"><div class="short"><p>Fires after the Panel has been resized.</p>
2738 </div><div class="long"><p>Fires after the Panel has been resized.</p>
2739 <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>
2740 </div></li><li><span class="pre">width</span> : Number<div class="sub-desc"><p>The Panel body's new width.</p>
2741 </div></li><li><span class="pre">height</span> : Number<div class="sub-desc"><p>The Panel body's new height.</p>
2742 </div></li></ul></div></div></div><div id="event-cardswitch" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-cardswitch" class="cls expand">cardswitch</a>(
2743 <span class="pre">Ext.container.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated</span>)
2744 </div><div class="description"><div class="short">Fires after this container switches the active card. If the card
2745 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
2746 is switched using an animation, this event will fire after the
2747 animation has finished. This event is only available if this container
2748 uses a CardLayout. Note that TabPanel and Carousel both get a CardLayout
2749 by default, so both will have this event.</p>
2750 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2751 </div></li><li><span class="pre">newCard</span> : Ext.Component<div class="sub-desc"><p>The card that has been switched to</p>
2752 </div></li><li><span class="pre">oldCard</span> : Ext.Component<div class="sub-desc"><p>The card that has been switched from</p>
2753 </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>
2754 </div></li><li><span class="pre">animated</span> : Boolean<div class="sub-desc"><p>True if this cardswitch was animated</p>
2755 </div></li></ul></div></div></div><div id="event-deactivate" class="member inherited"><a href="Ext.tip.ToolTip.html#event-deactivate" rel="event-deactivate" 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-deactivate" class="viewSource">view source</a></div><a name="deactivate"></a><a name="event-deactivate"></a><a href="Ext.tip.ToolTip.html#" rel="event-deactivate" class="cls expand">deactivate</a>(
2756 <span class="pre">Ext.Component this</span>)
2757 </div><div class="description"><div class="short"><p>Fires after a Component has been visually deactivated.</p>
2758 </div><div class="long"><p>Fires after a Component has been visually deactivated.</p>
2759 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2760 </div></li></ul></div></div></div><div id="event-destroy" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-destroy" class="cls expand">destroy</a>(
2761 <span class="pre">Ext.Component this</span>)
2762 </div><div class="description"><div class="short"><p>Fires after the component is <a href="Ext.tip.ToolTip.html#destroy" rel="Ext.tip.ToolTip#destroy" class="docClass">destroy</a>ed.</p>
2763 </div><div class="long"><p>Fires after the component is <a href="Ext.tip.ToolTip.html#destroy" rel="Ext.tip.ToolTip#destroy" class="docClass">destroy</a>ed.</p>
2764 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2765 </div></li></ul></div></div></div><div id="event-disable" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-disable" class="cls expand">disable</a>(
2766 <span class="pre">Ext.Component this</span>)
2767 </div><div class="description"><div class="short"><p>Fires after the component is disabled.</p>
2768 </div><div class="long"><p>Fires after the component is disabled.</p>
2769 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2770 </div></li></ul></div></div></div><div id="event-enable" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-enable" class="cls expand">enable</a>(
2771 <span class="pre">Ext.Component this</span>)
2772 </div><div class="description"><div class="short"><p>Fires after the component is enabled.</p>
2773 </div><div class="long"><p>Fires after the component is enabled.</p>
2774 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2775 </div></li></ul></div></div></div><div id="event-hide" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-hide" class="cls expand">hide</a>(
2776 <span class="pre">Ext.Component this</span>)
2777 </div><div class="description"><div class="short"><p>Fires after the component is hidden.
2778 Fires after the component is hidden when calling the <a href="Ext.tip.ToolTip.html#hide" rel="Ext.tip.ToolTip#hide" class="docClass">hide</a> method.</p>
2779 </div><div class="long"><p>Fires after the component is hidden.
2780 Fires after the component is hidden when calling the <a href="Ext.tip.ToolTip.html#hide" rel="Ext.tip.ToolTip#hide" class="docClass">hide</a> method.</p>
2781 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2782 </div></li></ul></div></div></div><div id="event-iconchange" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-iconchange" class="cls expand">iconchange</a>(
2783 <span class="pre">Ext.panel.Panel p, String newIconCls, String oldIconCls</span>)
2784 </div><div class="description"><div class="short"><p>Fires after the Panel iconCls has been set or changed.</p>
2785 </div><div class="long"><p>Fires after the Panel iconCls has been set or changed.</p>
2786 <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>
2787 </div></li><li><span class="pre">newIconCls</span> : String<div class="sub-desc"><p>The new iconCls.</p>
2788 </div></li><li><span class="pre">oldIconCls</span> : String<div class="sub-desc"><p>The previous panel iconCls.</p>
2789 </div></li></ul></div></div></div><div id="event-move" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-move" class="cls expand">move</a>(
2790 <span class="pre">Ext.Component this, Number x, Number y</span>)
2791 </div><div class="description"><div class="short"><p>Fires after the component is moved.</p>
2792 </div><div class="long"><p>Fires after the component is moved.</p>
2793 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2794 </div></li><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2795 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2796 </div></li></ul></div></div></div><div id="event-remove" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-remove" class="cls expand">remove</a>(
2797 <span class="pre">Ext.container.Container this, Ext.Component component</span>)
2798 </div><div class="description"><div class="short"><p>@bubbles
2799 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.</p>
2800 </div><div class="long"><p>@bubbles
2801 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.</p>
2802 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2803 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component that was removed</p>
2804 </div></li></ul></div></div></div><div id="event-removed" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-removed" class="cls expand">removed</a>(
2805 <span class="pre">Ext.Component this, Ext.container.Container ownerCt</span>)
2806 </div><div class="description"><div class="short"><p>Fires when a component is removed from an Ext.container.Container</p>
2807 </div><div class="long"><p>Fires when a component is removed from an Ext.container.Container</p>
2808 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2809 </div></li><li><span class="pre">ownerCt</span> : Ext.container.Container<div class="sub-desc"><p>Container which holds the component</p>
2810 </div></li></ul></div></div></div><div id="event-render" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-render" class="cls expand">render</a>(
2811 <span class="pre">Ext.Component this</span>)
2812 </div><div class="description"><div class="short"><p>Fires after the component markup is <a href="Ext.tip.ToolTip.html#rendered" rel="Ext.tip.ToolTip#rendered" class="docClass">rendered</a>.</p>
2813 </div><div class="long"><p>Fires after the component markup is <a href="Ext.tip.ToolTip.html#rendered" rel="Ext.tip.ToolTip#rendered" class="docClass">rendered</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-resize" class="member inherited"><a href="Ext.tip.ToolTip.html#event-resize" rel="event-resize" 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-resize" class="viewSource">view source</a></div><a name="resize"></a><a name="event-resize"></a><a href="Ext.tip.ToolTip.html#" rel="event-resize" class="cls expand">resize</a>(
2816 <span class="pre">Ext.Component this, Number adjWidth, Number adjHeight</span>)
2817 </div><div class="description"><div class="short"><p>Fires after the component is resized.</p>
2818 </div><div class="long"><p>Fires after the component is resized.</p>
2819 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2820 </div></li><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
2821 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
2822 </div></li></ul></div></div></div><div id="event-show" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-show" class="cls expand">show</a>(
2823 <span class="pre">Ext.Component this</span>)
2824 </div><div class="description"><div class="short"><p>Fires after the component is shown when calling the <a href="Ext.tip.ToolTip.html#show" rel="Ext.tip.ToolTip#show" class="docClass">show</a> method.</p>
2825 </div><div class="long"><p>Fires after the component is shown when calling the <a href="Ext.tip.ToolTip.html#show" rel="Ext.tip.ToolTip#show" class="docClass">show</a> method.</p>
2826 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2827 </div></li></ul></div></div></div><div id="event-staterestore" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-staterestore" class="cls expand">staterestore</a>(
2828 <span class="pre">Ext.state.Stateful this, Object state</span>)
2829 </div><div class="description"><div class="short"><p>Fires after the state of the object is restored.</p>
2830 </div><div class="long"><p>Fires after the state of the object is restored.</p>
2831 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2832 </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
2833 to <b><tt>applyState</tt></b>. By default, that simply copies property values into this
2834 object. The method maybe overriden to provide custom state restoration.</p>
2835 </div></li></ul></div></div></div><div id="event-statesave" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-statesave" class="cls expand">statesave</a>(
2836 <span class="pre">Ext.state.Stateful this, Object state</span>)
2837 </div><div class="description"><div class="short"><p>Fires after the state of the object is saved to the configured state provider.</p>
2838 </div><div class="long"><p>Fires after the state of the object is saved to the configured state provider.</p>
2839 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2840 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2841 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2842 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>
2843 has a null implementation.</p>
2844 </div></li></ul></div></div></div><div id="event-titlechange" class="member inherited"><a href="Ext.tip.ToolTip.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.tip.ToolTip.html#" rel="event-titlechange" class="cls expand">titlechange</a>(
2845 <span class="pre">Ext.panel.Panel p, String newTitle, String oldTitle</span>)
2846 </div><div class="description"><div class="short"><p>Fires after the Panel title has been set or changed.</p>
2847 </div><div class="long"><p>Fires after the Panel title has been set or changed.</p>
2848 <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>
2849 </div></li><li><span class="pre">newTitle</span> : String<div class="sub-desc"><p>The new title.</p>
2850 </div></li><li><span class="pre">oldTitle</span> : String<div class="sub-desc"><p>The previous panel title.</p>
2851 </div></li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>