Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.tab.Tab.html
1 <!DOCTYPE html><html><head><title>Ext.tab.Tab | 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.tab.Tab',
13         docClass: 'Ext.tab.Tab',
14         docReq: 'Ext.tab.Tab',
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 = 'Tab2.html#Ext-tab.Tab';
33     clsInfo = {"methods":["Tab","addClass","addCls","addClsWithUI","addEvents","addListener","addManagedListener","addStateEvents","afterComponentLayout","alignTo","animate","applyState","beforeComponentLayout","bubble","capture","center","clearListeners","clearManagedListeners","cloneConfig","destroy","disable","doAutoRender","doComponentLayout","doConstrain","enable","enableBubble","findLayoutController","findParentBy","findParentByType","fireEvent","focus","getActiveAnimation","getBox","getBubbleTarget","getEl","getHeight","getId","getInsertPosition","getLoader","getPlugin","getPosition","getPressed","getSize","getState","getStateId","getTemplateArgs","getText","getWidth","getXType","getXTypes","hasListener","hasUICls","hasVisibleMenu","hide","hideMenu","is","isDescendantOf","isDisabled","isDraggable","isDroppable","isFloating","isHidden","isVisible","isXType","nextNode","nextSibling","observe","on","previousNode","previousSibling","relayEvents","releaseCapture","removeCls","removeClsWithUI","removeListener","removeManagedListener","resumeEvents","sequenceFx","setActive","setAutoScroll","setCard","setClosable","setDisabled","setDocked","setHandler","setHeight","setIcon","setIconCls","setLoading","setPagePosition","setParams","setPosition","setScale","setSize","setText","setTooltip","setUI","setVisible","setWidth","show","showMenu","stopAnimation","suspendEvents","syncFx","toBack","toFront","toggle","un","up","update","updateBox"],"cfgs":["activeCls","allowDepress","arrowAlign","arrowCls","autoEl","autoRender","autoScroll","autoShow","autoWidth","baseCls","border","clickEvent","closable","closableCls","closeText","cls","componentCls","componentLayout","contentEl","data","disabled","disabledCls","draggable","enableToggle","floating","focusCls","focusOnToFront","frame","handleMouseEvents","handler","height","hidden","hideMode","html","icon","iconAlign","iconCls","id","itemId","listeners","loader","maintainFlex","margin","maxHeight","maxWidth","menu","menuActiveCls","menuAlign","minHeight","minWidth","overCls","overflowText","padding","plugins","pressed","pressedCls","preventDefault","renderSelectors","renderTo","renderTpl","repeat","resizable","resizeHandles","saveBuffer","scale","scope","shadow","stateEvents","stateId","stateful","style","styleHtmlCls","styleHtmlContent","tabIndex","text","toFrontOnShow","toggleGroup","toggleHandler","tooltip","tooltipType","tpl","tplWriteMode","type","ui","width"],"properties":["Boolean","closable","disabled","draggable","floatParent","frameSize","hasActiveFx","hidden","maskOnDisable","menu","ownerCt","pressed","rendered","stopFx","template","zIndexManager"],"events":["activate","added","afterrender","beforeactivate","beforeclose","beforedeactivate","beforedestroy","beforehide","beforerender","beforeshow","beforestaterestore","beforestatesave","click","deactivate","destroy","disable","enable","hide","menuhide","menushow","menutriggerout","menutriggerover","mouseout","mouseover","move","removed","render","resize","show","staterestore","statesave","toggle"],"subclasses":[]};
34     Ext.onReady(function() {
35         Ext.create('Docs.classPanel');
36     });
37 </script><div id="top-block" class="top-block"><h1 id="clsTitle" class="comp"><a href="../source/Tab2.html#Ext-tab.Tab" target="_blank">Ext.tab.Tab</a><span>xtype: tab</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.button.Button.html" rel="Ext.button.Button" class="cls docClass">Ext.button.Button</a><div class="subclass"><strong>Ext.tab.Tab</strong></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>Represents a single Tab in a <a href="Ext.tab.Panel.html" rel="Ext.tab.Panel" class="docClass">TabPanel</a>. A Tab is simply a slightly customized <a href="Ext.button.Button.html" rel="Ext.button.Button" class="docClass">Button</a>, 
38 styled to look like a tab. Tabs are optionally closable, and can also be disabled. 99% of the time you will not
39 need to create Tabs manually as the framework does so automatically when you use a <a href="Ext.tab.Panel.html" rel="Ext.tab.Panel" class="docClass">TabPanel</a></p>
40
41 <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-activeCls" class="member f ni"><a href="Ext.tab.Tab.html#config-activeCls" rel="config-activeCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-cfg-activeCls" class="viewSource">view source</a></div><a name="activeCls"></a><a name="config-activeCls"></a><a href="Ext.tab.Tab.html#" rel="config-activeCls" class="cls expand">activeCls</a><span> : String</span></div><div class="description"><div class="short">The CSS class to be applied to a Tab when it is active. Defaults to 'x-tab-active'.
42 Providing your own CSS for this c...</div><div class="long"><p>The CSS class to be applied to a Tab when it is active. Defaults to 'x-tab-active'.
43 Providing your own CSS for this class enables you to customize the active state.</p>
44 </div></div></div><div id="config-arrowCls" class="member inherited"><a href="Ext.tab.Tab.html#config-arrowCls" rel="config-arrowCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-arrowCls" class="viewSource">view source</a></div><a name="arrowCls"></a><a name="config-arrowCls"></a><a href="Ext.tab.Tab.html#" rel="config-arrowCls" class="cls expand">arrowCls</a><span> : String</span></div><div class="description"><div class="short"><p>(Optional) The className used for the inner arrow element if the button has a menu.</p>
45
46 </div><div class="long"><p>(Optional) The className used for the inner arrow element if the button has a menu.</p>
47
48 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.tab.Tab.html#config-baseCls" rel="config-baseCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.tab.Tab.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 add to all buttons. (Defaults to 'x-btn')</p>
49 </div><div class="long"><p>The base CSS class to add to all buttons. (Defaults to 'x-btn')</p>
50 </div></div></div><div id="config-closableCls" class="member ni"><a href="Ext.tab.Tab.html#config-closableCls" rel="config-closableCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-cfg-closableCls" class="viewSource">view source</a></div><a name="closableCls"></a><a name="config-closableCls"></a><a href="Ext.tab.Tab.html#" rel="config-closableCls" class="cls expand">closableCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class which is added to the tab when it is closable</p>
51 </div><div class="long"><p>The CSS class which is added to the tab when it is closable</p>
52 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.tab.Tab.html#config-cls" rel="config-cls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-cls" class="viewSource">view source</a></div><a name="cls"></a><a name="config-cls"></a><a href="Ext.tab.Tab.html#" rel="config-cls" class="cls expand">cls</a><span> : String</span></div><div class="description"><div class="short"><p>A CSS class string to apply to the button's main element.</p>
53 </div><div class="long"><p>A CSS class string to apply to the button's main element.</p>
54 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
55 via styling.</p>
56 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
57 via styling.</p>
58 </div></div></div><div id="config-disabledCls" class="member ni"><a href="Ext.tab.Tab.html#config-disabledCls" rel="config-disabledCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-cfg-disabledCls" class="viewSource">view source</a></div><a name="disabledCls"></a><a name="config-disabledCls"></a><a href="Ext.tab.Tab.html#" rel="config-disabledCls" class="cls expand">disabledCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to a Tab when it is disabled. Defaults to 'x-tab-disabled'.</p>
59 </div><div class="long"><p>The CSS class to be applied to a Tab when it is disabled. Defaults to 'x-tab-disabled'.</p>
60 </div></div></div><div id="config-focusCls" class="member inherited"><a href="Ext.tab.Tab.html#config-focusCls" rel="config-focusCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-focusCls" class="viewSource">view source</a></div><a name="focusCls"></a><a name="config-focusCls"></a><a href="Ext.tab.Tab.html#" rel="config-focusCls" class="cls expand">focusCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to add to a button when it is in the focussed state. (Defaults to 'x-btn-focus')</p>
61 </div><div class="long"><p>The CSS class to add to a button when it is in the focussed state. (Defaults to 'x-btn-focus')</p>
62 </div></div></div><div id="config-iconCls" class="member inherited"><a href="Ext.tab.Tab.html#config-iconCls" rel="config-iconCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-iconCls" class="viewSource">view source</a></div><a name="iconCls"></a><a name="config-iconCls"></a><a href="Ext.tab.Tab.html#" rel="config-iconCls" class="cls expand">iconCls</a><span> : String</span></div><div class="description"><div class="short"><p>A css class which sets a background image to be used as the icon for this button</p>
63 </div><div class="long"><p>A css class which sets a background image to be used as the icon for this button</p>
64 </div></div></div><div id="config-menuActiveCls" class="member inherited"><a href="Ext.tab.Tab.html#config-menuActiveCls" rel="config-menuActiveCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-menuActiveCls" class="viewSource">view source</a></div><a name="menuActiveCls"></a><a name="config-menuActiveCls"></a><a href="Ext.tab.Tab.html#" rel="config-menuActiveCls" class="cls expand">menuActiveCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to add to a button when it's menu is active. (Defaults to 'x-btn-menu-active')</p>
65 </div><div class="long"><p>The CSS class to add to a button when it's menu is active. (Defaults to 'x-btn-menu-active')</p>
66 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.tab.Tab.html#config-overCls" rel="config-overCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-overCls" class="viewSource">view source</a></div><a name="overCls"></a><a name="config-overCls"></a><a href="Ext.tab.Tab.html#" rel="config-overCls" class="cls expand">overCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to add to a button when it is in the over (hovered) state. (Defaults to 'x-btn-over')</p>
67 </div><div class="long"><p>The CSS class to add to a button when it is in the over (hovered) state. (Defaults to 'x-btn-over')</p>
68 </div></div></div><div id="config-pressedCls" class="member inherited"><a href="Ext.tab.Tab.html#config-pressedCls" rel="config-pressedCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-pressedCls" class="viewSource">view source</a></div><a name="pressedCls"></a><a name="config-pressedCls"></a><a href="Ext.tab.Tab.html#" rel="config-pressedCls" class="cls expand">pressedCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to add to a button when it is in the pressed state. (Defaults to 'x-btn-pressed')</p>
69 </div><div class="long"><p>The CSS class to add to a button when it is in the pressed state. (Defaults to 'x-btn-pressed')</p>
70 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
71 Defaults to 'x-html'</p>
72 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
73 Defaults to 'x-html'</p>
74 </div></div></div><h4 class="cfgGroup">Other Configs</h4><div id="config-activeCls" class="member f ni"><a href="Ext.tab.Tab.html#config-activeCls" rel="config-activeCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-cfg-activeCls" class="viewSource">view source</a></div><a name="activeCls"></a><a name="config-activeCls"></a><a href="Ext.tab.Tab.html#" rel="config-activeCls" class="cls expand">activeCls</a><span> : String</span></div><div class="description"><div class="short">The CSS class to be applied to a Tab when it is active. Defaults to 'x-tab-active'.
75 Providing your own CSS for this c...</div><div class="long"><p>The CSS class to be applied to a Tab when it is active. Defaults to 'x-tab-active'.
76 Providing your own CSS for this class enables you to customize the active state.</p>
77 </div></div></div><div id="config-allowDepress" class="member inherited"><a href="Ext.tab.Tab.html#config-allowDepress" rel="config-allowDepress" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-allowDepress" class="viewSource">view source</a></div><a name="allowDepress"></a><a name="config-allowDepress"></a><a href="Ext.tab.Tab.html#" rel="config-allowDepress" class="cls expand">allowDepress</a><span> : Boolean</span></div><div class="description"><div class="short"><p>False to not allow a pressed Button to be depressed (defaults to undefined). Only valid when <a href="Ext.tab.Tab.html#enableToggle" rel="Ext.tab.Tab#enableToggle" class="docClass">enableToggle</a> is true.</p>
78 </div><div class="long"><p>False to not allow a pressed Button to be depressed (defaults to undefined). Only valid when <a href="Ext.tab.Tab.html#enableToggle" rel="Ext.tab.Tab#enableToggle" class="docClass">enableToggle</a> is true.</p>
79 </div></div></div><div id="config-arrowAlign" class="member inherited"><a href="Ext.tab.Tab.html#config-arrowAlign" rel="config-arrowAlign" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-arrowAlign" class="viewSource">view source</a></div><a name="arrowAlign"></a><a name="config-arrowAlign"></a><a href="Ext.tab.Tab.html#" rel="config-arrowAlign" class="cls expand">arrowAlign</a><span> : String</span></div><div class="description"><div class="short">(Optional) The side of the Button box to render the arrow if the button has an associated menu.
80 Two values are allowe...</div><div class="long"><p>(Optional) The side of the Button box to render the arrow if the button has an associated <a href="Ext.tab.Tab.html#menu" rel="Ext.tab.Tab#menu" class="docClass">menu</a>.
81 Two values are allowed:</p>
82
83
84 <ul class="mdetail-params">
85 <li>'right'<div class="sub-desc"></div></li>
86 <li>'bottom'<div class="sub-desc"></div></li>
87 </ul>
88
89
90 <p>Defaults to <b><tt>'right'</tt></b>.</p>
91
92 </div></div></div><div id="config-arrowCls" class="member inherited"><a href="Ext.tab.Tab.html#config-arrowCls" rel="config-arrowCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-arrowCls" class="viewSource">view source</a></div><a name="arrowCls"></a><a name="config-arrowCls"></a><a href="Ext.tab.Tab.html#" rel="config-arrowCls" class="cls expand">arrowCls</a><span> : String</span></div><div class="description"><div class="short"><p>(Optional) The className used for the inner arrow element if the button has a menu.</p>
93
94 </div><div class="long"><p>(Optional) The className used for the inner arrow element if the button has a menu.</p>
95
96 </div></div></div><div id="config-autoEl" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
97 encapsulate this Component.
98
99
100 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.tab.Tab.html#getEl" rel="Ext.tab.Tab#getEl" class="docClass">Element</a> which will
101 encapsulate this Component.</p>
102
103
104 <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>,
105 this defaults to <b><tt>'div'</tt></b>. The more complex Sencha classes use a more complex
106 DOM structure specified by their own <a href="Ext.tab.Tab.html#renderTpl" rel="Ext.tab.Tab#renderTpl" class="docClass">renderTpl</a>s.</p>
107
108
109 <p>This is intended to allow the developer to create application-specific utility Components encapsulated by
110 different DOM elements. Example usage:</p>
111
112
113 <pre><code>{
114     xtype: 'component',
115     autoEl: {
116         tag: 'img',
117         src: 'http://www.example.com/example.jpg'
118     }
119 }, {
120     xtype: 'component',
121     autoEl: {
122         tag: 'blockquote',
123         html: 'autoEl is cool!'
124     }
125 }, {
126     xtype: 'container',
127     autoEl: 'ul',
128     cls: 'ux-unordered-list',
129     items: {
130         xtype: 'component',
131         autoEl: 'li',
132         html: 'First list item'
133     }
134 }
135 </code></pre>
136
137 </div></div></div><div id="config-autoRender" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
138 of using renderTo in th...</div><div class="long"><p>This config is intended mainly for <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> Components which may or may not be shown. Instead
139 of using <a href="Ext.tab.Tab.html#renderTo" rel="Ext.tab.Tab#renderTo" class="docClass">renderTo</a> in the configuration, and rendering upon construction, this allows a Component
140 to render itself upon first <i><a href="Ext.tab.Tab.html#show" rel="Ext.tab.Tab#show" class="docClass">show</a></i>.</p>
141
142
143 <p>Specify as <code>true</code> to have this Component render to the document body upon first show.</p>
144
145
146 <p>Specify as an element, or the ID of an element to have this Component render to a specific element upon first show.</p>
147
148
149 <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>
150
151 </div></div></div><div id="config-autoScroll" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
152 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
153 necessary, <code>false</code> to clip any overflowing content (defaults to <code>false</code>).</p>
154 </div></div></div><div id="config-autoShow" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
155 This config option may only be used for floating components o...</div><div class="long"><p>True to automatically show the component upon creation.
156 This config option may only be used for <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> components or components
157 that use <a href="Ext.tab.Tab.html#autoRender" rel="Ext.tab.Tab#autoRender" class="docClass">autoRender</a>. Defaults to <tt>false</tt>.</p>
158 </div></div></div><div id="config-autoWidth" class="member inherited"><a href="Ext.tab.Tab.html#config-autoWidth" rel="config-autoWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-autoWidth" class="viewSource">view source</a></div><a name="autoWidth"></a><a name="config-autoWidth"></a><a href="Ext.tab.Tab.html#" rel="config-autoWidth" class="cls expand">autoWidth</a><span> : Boolean</span></div><div class="description"><div class="short">By default, if a width is not specified the button will attempt to stretch horizontally to fit its content.
159 If the bu...</div><div class="long"><p>By default, if a width is not specified the button will attempt to stretch horizontally to fit its content.
160 If the button is being managed by a width sizing layout (hbox, fit, anchor), set this to false to prevent
161 the button from doing this automatic sizing.
162 Defaults to <tt>undefined</tt>.</p>
163 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.tab.Tab.html#config-baseCls" rel="config-baseCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.tab.Tab.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 add to all buttons. (Defaults to 'x-btn')</p>
164 </div><div class="long"><p>The base CSS class to add to all buttons. (Defaults to 'x-btn')</p>
165 </div></div></div><div id="config-border" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
166 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
167 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
168 </div></div></div><div id="config-clickEvent" class="member inherited"><a href="Ext.tab.Tab.html#config-clickEvent" rel="config-clickEvent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-clickEvent" class="viewSource">view source</a></div><a name="clickEvent"></a><a name="config-clickEvent"></a><a href="Ext.tab.Tab.html#" rel="config-clickEvent" class="cls expand">clickEvent</a><span> : String</span></div><div class="description"><div class="short">The DOM event that will fire the handler of the button. This can be any valid event name (dblclick, contextmenu).
169 Def...</div><div class="long"><p>The DOM event that will fire the handler of the button. This can be any valid event name (dblclick, contextmenu).
170 Defaults to <tt>'click'</tt>.</p>
171 </div></div></div><div id="config-closable" class="member ni"><a href="Ext.tab.Tab.html#config-closable" rel="config-closable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-cfg-closable" class="viewSource">view source</a></div><a name="closable"></a><a name="config-closable"></a><a href="Ext.tab.Tab.html#" rel="config-closable" class="cls expand">closable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to make the Tab start closable (the close icon will be visible). Defaults to true</p>
172 </div><div class="long"><p>True to make the Tab start closable (the close icon will be visible). Defaults to true</p>
173 </div></div></div><div id="config-closableCls" class="member ni"><a href="Ext.tab.Tab.html#config-closableCls" rel="config-closableCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-cfg-closableCls" class="viewSource">view source</a></div><a name="closableCls"></a><a name="config-closableCls"></a><a href="Ext.tab.Tab.html#" rel="config-closableCls" class="cls expand">closableCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class which is added to the tab when it is closable</p>
174 </div><div class="long"><p>The CSS class which is added to the tab when it is closable</p>
175 </div></div></div><div id="config-closeText" class="member ni"><a href="Ext.tab.Tab.html#config-closeText" rel="config-closeText" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-cfg-closeText" class="viewSource">view source</a></div><a name="closeText"></a><a name="config-closeText"></a><a href="Ext.tab.Tab.html#" rel="config-closeText" class="cls expand">closeText</a><span> : String</span></div><div class="description"><div class="short"><p>The accessible text label for the close button link; only used when <a href="Ext.tab.Tab.html#closable" rel="Ext.tab.Tab#closable" class="docClass">closable</a> = true.
176 Defaults to 'Close Tab'.</p>
177 </div><div class="long"><p>The accessible text label for the close button link; only used when <a href="Ext.tab.Tab.html#closable" rel="Ext.tab.Tab#closable" class="docClass">closable</a> = true.
178 Defaults to 'Close Tab'.</p>
179 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.tab.Tab.html#config-cls" rel="config-cls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-cls" class="viewSource">view source</a></div><a name="cls"></a><a name="config-cls"></a><a href="Ext.tab.Tab.html#" rel="config-cls" class="cls expand">cls</a><span> : String</span></div><div class="description"><div class="short"><p>A CSS class string to apply to the button's main element.</p>
180 </div><div class="long"><p>A CSS class string to apply to the button's main element.</p>
181 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
182 via styling.</p>
183 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
184 via styling.</p>
185 </div></div></div><div id="config-componentLayout" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
186 the Component's layout manager...</div><div class="long"><p>The sizing and positioning of a Component's internal Elements is the responsibility of
187 the Component's layout manager which sizes a Component's internal structure in response to the Component being sized.</p>
188
189
190 <p>Generally, developers will not use this configuration as all provided Components which need their internal
191 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>
192
193
194 <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
195 which simply sizes the Component's encapsulating element to the height and width specified in the <a href="Ext.tab.Tab.html#setSize" rel="Ext.tab.Tab#setSize" class="docClass">setSize</a> method.</p>
196
197 </div></div></div><div id="config-contentEl" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
198 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
199 for this component.</p>
200
201
202 <ul>
203 <li><b>Description</b> :
204 <div class="sub-desc">This config option is used to take an existing HTML element and place it in the layout element
205 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>
206 <li><b>Notes</b> :
207 <div class="sub-desc">The specified HTML element is appended to the layout element of the component <i>after any configured
208 <a href="Ext.tab.Tab.html#html" rel="Ext.tab.Tab#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.tab.Tab.html#render" rel="Ext.tab.Tab#render" class="docClass">render</a> event is fired.</div>
209 <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>
210 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>
211 <div class="sub-desc">Add either the <code>x-hidden</code> or the <code>x-hide-display</code> CSS class to
212 prevent a brief flicker of the content before it is rendered to the panel.</div></li>
213 </ul>
214
215 </div></div></div><div id="config-data" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.tab.Tab.html#tpl" rel="Ext.tab.Tab#tpl" class="docClass">tpl</a></code> to
216 update the content area of the Component.</p>
217 </div><div class="long"><p>The initial set of data to apply to the <code><a href="Ext.tab.Tab.html#tpl" rel="Ext.tab.Tab#tpl" class="docClass">tpl</a></code> to
218 update the content area of the Component.</p>
219 </div></div></div><div id="config-disabled" class="member inherited"><a href="Ext.tab.Tab.html#config-disabled" rel="config-disabled" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-disabled" class="viewSource">view source</a></div><a name="disabled"></a><a name="config-disabled"></a><a href="Ext.tab.Tab.html#" rel="config-disabled" class="cls expand">disabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to start disabled (defaults to false)</p>
220 </div><div class="long"><p>True to start disabled (defaults to false)</p>
221 </div></div></div><div id="config-disabledCls" class="member ni"><a href="Ext.tab.Tab.html#config-disabledCls" rel="config-disabledCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-cfg-disabledCls" class="viewSource">view source</a></div><a name="disabledCls"></a><a name="config-disabledCls"></a><a href="Ext.tab.Tab.html#" rel="config-disabledCls" class="cls expand">disabledCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to a Tab when it is disabled. Defaults to 'x-tab-disabled'.</p>
222 </div><div class="long"><p>The CSS class to be applied to a Tab when it is disabled. Defaults to 'x-tab-disabled'.</p>
223 </div></div></div><div id="config-draggable" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> Component draggable using the Component's encapsulating element as the drag handle.</p>
224
225
226 <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>
227
228
229 <p>For example to create a Component which may only be dragged around using a certain internal element as the drag handle,
230 use the delegate option:</p>
231
232
233 <p><code></p>
234
235 <pre>new Ext.Component({
236     constrain: true,
237     floating:true,
238     style: {
239         backgroundColor: '#fff',
240         border: '1px solid black'
241     },
242     html: '&lt;h1 style="cursor:move"&gt;The title&lt;/h1&gt;&lt;p&gt;The content&lt;/p&gt;',
243     draggable: {
244         delegate: 'h1'
245     }
246 }).show();
247 </pre>
248
249
250 <p></code></p>
251 </div></div></div><div id="config-enableToggle" class="member inherited"><a href="Ext.tab.Tab.html#config-enableToggle" rel="config-enableToggle" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-enableToggle" class="viewSource">view source</a></div><a name="enableToggle"></a><a name="config-enableToggle"></a><a href="Ext.tab.Tab.html#" rel="config-enableToggle" class="cls expand">enableToggle</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to enable pressed/not pressed toggling (defaults to false)</p>
252 </div><div class="long"><p>True to enable pressed/not pressed toggling (defaults to false)</p>
253 </div></div></div><div id="config-floating" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
254
255
256 Components such...</div><div class="long"><p>Specify as true to float the Component outside of the document flow using CSS absolute positioning.</p>
257
258
259 <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
260 by default.</p>
261
262
263 <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
264 <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a></p>
265
266
267 <h3 class="pa">Floating Components as child items of a Container</h3>
268
269
270 <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
271 examining the ownerCt chain.</p>
272
273
274 <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
275 of related floating Components. The ZIndexManager brings a single floating Component to the top of its stack when
276 the Component's <a href="Ext.tab.Tab.html#toFront" rel="Ext.tab.Tab#toFront" class="docClass">toFront</a> method is called.</p>
277
278
279 <p>The ZIndexManager is found by traversing up the <a href="Ext.tab.Tab.html#ownerCt" rel="Ext.tab.Tab#ownerCt" class="docClass">ownerCt</a> chain to find an ancestor which itself is floating. This is so that
280 descendant floating Components of floating <i>Containers</i> (Such as a ComboBox dropdown within a Window) can have its zIndex managed relative
281 to any siblings, but always <b>above</b> that floating ancestor Container.</p>
282
283
284 <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>
285
286
287 <p>Floating components <i>do not participate in the Container's layout</i>. Because of this, they are not rendered until you explicitly
288 <a href="Ext.tab.Tab.html#show" rel="Ext.tab.Tab#show" class="docClass">show</a> them.</p>
289
290
291 <p>After rendering, the ownerCt reference is deleted, and the <a href="Ext.tab.Tab.html#floatParent" rel="Ext.tab.Tab#floatParent" class="docClass">floatParent</a> property is set to the found floating ancestor Container.
292 If no floating ancestor Container was found the <a href="Ext.tab.Tab.html#floatParent" rel="Ext.tab.Tab#floatParent" class="docClass">floatParent</a> property will not be set.</p>
293
294 </div></div></div><div id="config-focusCls" class="member inherited"><a href="Ext.tab.Tab.html#config-focusCls" rel="config-focusCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-focusCls" class="viewSource">view source</a></div><a name="focusCls"></a><a name="config-focusCls"></a><a href="Ext.tab.Tab.html#" rel="config-focusCls" class="cls expand">focusCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to add to a button when it is in the focussed state. (Defaults to 'x-btn-focus')</p>
295 </div><div class="long"><p>The CSS class to add to a button when it is in the focussed state. (Defaults to 'x-btn-focus')</p>
296 </div></div></div><div id="config-focusOnToFront" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
297 brought to the front. Defaults to ...</div><div class="long"><p>Specifies whether the floated component should be automatically <a href="Ext.tab.Tab.html#focus" rel="Ext.tab.Tab#focus" class="docClass">focused</a> when it is
298 <a href="Ext.tab.Tab.html#toFront" rel="Ext.tab.Tab#toFront" class="docClass">brought to the front</a>. Defaults to true.</p>
299 </div></div></div><div id="config-frame" class="member inherited"><a href="Ext.tab.Tab.html#config-frame" rel="config-frame" 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-frame" class="viewSource">view source</a></div><a name="frame"></a><a name="config-frame"></a><a href="Ext.tab.Tab.html#" rel="config-frame" class="cls expand">frame</a><span> : Boolean</span></div><div class="description"><div class="short">Specify as true to have the Component inject framing elements within the Component at render time to
300 provide a graphi...</div><div class="long"><p>Specify as <code>true</code> to have the Component inject framing elements within the Component at render time to
301 provide a graphical rounded frame around the Component content.</p>
302
303
304 <p>This is only necessary when running on outdated, or non standard-compliant browsers such as Microsoft's Internet Explorer
305 prior to version 9 which do not support rounded corners natively.</p>
306
307
308 <p>The extra space taken up by this framing is available from the read only property <a href="Ext.tab.Tab.html#frameSize" rel="Ext.tab.Tab#frameSize" class="docClass">frameSize</a>.</p>
309
310 </div></div></div><div id="config-handleMouseEvents" class="member inherited"><a href="Ext.tab.Tab.html#config-handleMouseEvents" rel="config-handleMouseEvents" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-handleMouseEvents" class="viewSource">view source</a></div><a name="handleMouseEvents"></a><a name="config-handleMouseEvents"></a><a href="Ext.tab.Tab.html#" rel="config-handleMouseEvents" class="cls expand">handleMouseEvents</a><span> : Boolean</span></div><div class="description"><div class="short"><p>False to disable visual cues on mouseover, mouseout and mousedown (defaults to true)</p>
311 </div><div class="long"><p>False to disable visual cues on mouseover, mouseout and mousedown (defaults to true)</p>
312 </div></div></div><div id="config-handler" class="member inherited"><a href="Ext.tab.Tab.html#config-handler" rel="config-handler" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-handler" class="viewSource">view source</a></div><a name="handler"></a><a name="config-handler"></a><a href="Ext.tab.Tab.html#" rel="config-handler" class="cls expand">handler</a><span> : Function</span></div><div class="description"><div class="short">A function called when the button is clicked (can be used instead of click event).
313 The handler is passed the followin...</div><div class="long"><p>A function called when the button is clicked (can be used instead of click event).
314 The handler is passed the following parameters:<div class="mdetail-params"><ul>
315 <li><code>b</code> : Button<div class="sub-desc">This Button.</div></li>
316 <li><code>e</code> : EventObject<div class="sub-desc">The click event.</div></li>
317 </ul></div></p>
318 </div></div></div><div id="config-height" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
319 </div><div class="long"><p>The height of this component in pixels.</p>
320 </div></div></div><div id="config-hidden" class="member inherited"><a href="Ext.tab.Tab.html#config-hidden" rel="config-hidden" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-hidden" class="viewSource">view source</a></div><a name="hidden"></a><a name="config-hidden"></a><a href="Ext.tab.Tab.html#" rel="config-hidden" class="cls expand">hidden</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to start hidden (defaults to false)</p>
321 </div><div class="long"><p>True to start hidden (defaults to false)</p>
322 </div></div></div><div id="config-hideMode" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
323 Values may be
324 'display' : The...</div><div class="long"><p>A String which specifies how this Component's encapsulating DOM element will be hidden.
325 Values may be<div class="mdetail-params"><ul>
326 <li><code>'display'</code> : The Component will be hidden using the <code>display: none</code> style.</li>
327 <li><code>'visibility'</code> : The Component will be hidden using the <code>visibility: hidden</code> style.</li>
328 <li><code>'offsets'</code> : The Component will be hidden by absolutely positioning it out of the visible area of the document. This
329 is useful when a hidden Component must maintain measurable dimensions. Hiding using <code>display</code> results
330 in a Component having zero dimensions.</li></ul></div>
331 Defaults to <code>'display'</code>.</p>
332 </div></div></div><div id="config-html" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
333 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
334 content (defaults to ''). The HTML content is added after the component is rendered,
335 so the document will not contain this HTML at the time the <a href="Ext.tab.Tab.html#render" rel="Ext.tab.Tab#render" class="docClass">render</a> event is fired.
336 This content is inserted into the body <i>before</i> any configured <a href="Ext.tab.Tab.html#contentEl" rel="Ext.tab.Tab#contentEl" class="docClass">contentEl</a> is appended.</p>
337 </div></div></div><div id="config-icon" class="member inherited"><a href="Ext.tab.Tab.html#config-icon" rel="config-icon" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-icon" class="viewSource">view source</a></div><a name="icon"></a><a name="config-icon"></a><a href="Ext.tab.Tab.html#" rel="config-icon" class="cls expand">icon</a><span> : String</span></div><div class="description"><div class="short">The path to an image to display in the button (the image will be set as the background-image
338 CSS property of the butt...</div><div class="long"><p>The path to an image to display in the button (the image will be set as the background-image
339 CSS property of the button by default, so if you want a mixed icon/text button, set cls:'x-btn-text-icon')</p>
340 </div></div></div><div id="config-iconAlign" class="member inherited"><a href="Ext.tab.Tab.html#config-iconAlign" rel="config-iconAlign" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-iconAlign" class="viewSource">view source</a></div><a name="iconAlign"></a><a name="config-iconAlign"></a><a href="Ext.tab.Tab.html#" rel="config-iconAlign" class="cls expand">iconAlign</a><span> : String</span></div><div class="description"><div class="short">(Optional) The side of the Button box to render the icon. Four values are allowed:
341
342
343
344 'top'
345 'right'
346 'bottom'
347 'left'
348
349 ...</div><div class="long"><p>(Optional) The side of the Button box to render the icon. Four values are allowed:</p>
350
351
352 <ul class="mdetail-params">
353 <li>'top'<div class="sub-desc"></div></li>
354 <li>'right'<div class="sub-desc"></div></li>
355 <li>'bottom'<div class="sub-desc"></div></li>
356 <li>'left'<div class="sub-desc"></div></li>
357 </ul>
358
359
360 <p>Defaults to <b><tt>'left'</tt></b>.</p>
361
362 </div></div></div><div id="config-iconCls" class="member inherited"><a href="Ext.tab.Tab.html#config-iconCls" rel="config-iconCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-iconCls" class="viewSource">view source</a></div><a name="iconCls"></a><a name="config-iconCls"></a><a href="Ext.tab.Tab.html#" rel="config-iconCls" class="cls expand">iconCls</a><span> : String</span></div><div class="description"><div class="short"><p>A css class which sets a background image to be used as the icon for this button</p>
363 </div><div class="long"><p>A css class which sets a background image to be used as the icon for this button</p>
364 </div></div></div><div id="config-id" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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).
365
366
367 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.tab.Tab.html#getId" rel="Ext.tab.Tab#getId" class="docClass">auto-assigned id</a>).</p>
368
369
370 <p>It should not be necessary to use this configuration except for singleton objects in your application.
371 Components created with an id may be accessed globally using <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp</a>.</p>
372
373
374 <p>Instead of using assigned ids, use the <a href="Ext.tab.Tab.html#itemId" rel="Ext.tab.Tab#itemId" class="docClass">itemId</a> config, and <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> which
375 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>
376 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>
377
378
379 <p>Note that this id will also be used as the element id for the containing HTML element
380 that is rendered to the page for this component. This allows you to write id-based CSS
381 rules to style the specific instance of this component uniquely, and also to select
382 sub-elements using this component's id as the parent.</p>
383
384
385 <p><b>Note</b>: to avoid complications imposed by a unique <tt>id</tt> also see <code><a href="Ext.tab.Tab.html#itemId" rel="Ext.tab.Tab#itemId" class="docClass">itemId</a></code>.</p>
386
387
388 <p><b>Note</b>: to access the container of a Component see <code><a href="Ext.tab.Tab.html#ownerCt" rel="Ext.tab.Tab#ownerCt" class="docClass">ownerCt</a></code>.</p>
389
390 </div></div></div><div id="config-itemId" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
391 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
392 when no object reference is available.  Instead of using an <code><a href="Ext.tab.Tab.html#id" rel="Ext.tab.Tab#id" class="docClass">id</a></code> with
393 <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
394 <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
395 <code>itemId</code>'s or <tt><a href="Ext.tab.Tab.html#id" rel="Ext.tab.Tab#id" class="docClass">id</a></tt>'s. Since <code>itemId</code>'s are an index to the
396 container's internal MixedCollection, the <code>itemId</code> is scoped locally to the container --
397 avoiding potential conflicts with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a> which requires a <b>unique</b>
398 <code><a href="Ext.tab.Tab.html#id" rel="Ext.tab.Tab#id" class="docClass">id</a></code>.</p>
399
400
401 <pre><code>var c = new Ext.panel.Panel({ //
402     <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 300,
403     <a href="Ext.tab.Tab.html#renderTo" rel="Ext.tab.Tab#renderTo" class="docClass">renderTo</a>: document.body,
404     <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a>: 'auto',
405     <a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a>: [
406         {
407             itemId: 'p1',
408             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 1',
409             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
410         },
411         {
412             itemId: 'p2',
413             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 2',
414             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
415         }
416     ]
417 })
418 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>
419 p2 = p1.<a href="Ext.tab.Tab.html#ownerCt" rel="Ext.tab.Tab#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
420 </code></pre>
421
422
423 <p>Also see <tt><a href="Ext.tab.Tab.html#id" rel="Ext.tab.Tab#id" class="docClass">id</a></tt>, <code><a href="Ext.tab.Tab.html#query" rel="Ext.tab.Tab#query" class="docClass">query</a></code>, <code><a href="Ext.tab.Tab.html#down" rel="Ext.tab.Tab#down" class="docClass">down</a></code> and <code><a href="Ext.tab.Tab.html#child" rel="Ext.tab.Tab#child" class="docClass">child</a></code>.</p>
424
425
426 <p><b>Note</b>: to access the container of an item see <tt><a href="Ext.tab.Tab.html#ownerCt" rel="Ext.tab.Tab#ownerCt" class="docClass">ownerCt</a></tt>.</p>
427
428 </div></div></div><div id="config-listeners" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
429 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
430 object during initialization.  This should be a valid listeners config object as specified in the
431 <a href="Ext.tab.Tab.html#addListener" rel="Ext.tab.Tab#addListener" class="docClass">addListener</a> example for attaching multiple handlers at once.</p></p>
432
433 <br><p><b><u>DOM events from ExtJs <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a></u></b></p>
434
435
436 <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
437
438
439 <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
440 <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
441 events directly from a child element of a Component, we need to specify the <code>element</code> option to
442 identify the Component property to add a DOM listener to:</p>
443
444 <pre><code>new Ext.panel.Panel({
445     width: 400,
446     height: 200,
447     dockedItems: [{
448         xtype: 'toolbar'
449     }],
450     listeners: {
451         click: {
452             element: 'el', //bind to the underlying el property on the panel
453             fn: function(){ console.log('click el'); }
454         },
455         dblclick: {
456             element: 'body', //bind to the underlying body property on the panel
457             fn: function(){ console.log('dblclick body'); }
458         }
459     }
460 });
461 </code></pre>
462
463
464 <p></p></p>
465 </div></div></div><div id="config-loader" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
466 content for this Component.</p>
467 </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
468 content for this Component.</p>
469 </div></div></div><div id="config-maintainFlex" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
470 HBox layout.
471
472
473 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
474 <a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">HBox</a> layout.</b></p>
475
476
477 <p>Specifies that if an immediate sibling Splitter is moved, the Component on the <i>other</i> side is resized, and this
478 Component maintains its configured <a href="Ext.layout.container.Box.html#flex" rel="Ext.layout.container.Box#flex" class="docClass">flex</a> value.</p>
479
480 </div></div></div><div id="config-margin" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
481 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
482 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
483 </div></div></div><div id="config-maxHeight" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
484
485
486 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>
487
488
489 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
490
491 </div></div></div><div id="config-maxWidth" class="member inherited"><a href="Ext.tab.Tab.html#config-maxWidth" rel="config-maxWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-maxWidth" class="viewSource">view source</a></div><a name="maxWidth"></a><a name="config-maxWidth"></a><a href="Ext.tab.Tab.html#" rel="config-maxWidth" class="cls expand">maxWidth</a><span> : Number</span></div><div class="description"><div class="short">The maximum value in pixels which this Component will set its width to.
492
493
494 Warning: This will override any size manage...</div><div class="long"><p>The maximum value in pixels which this Component will set its width to.</p>
495
496
497 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
498
499 </div></div></div><div id="config-menu" class="member inherited"><a href="Ext.tab.Tab.html#config-menu" rel="config-menu" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-menu" class="viewSource">view source</a></div><a name="menu"></a><a name="config-menu"></a><a href="Ext.tab.Tab.html#" rel="config-menu" class="cls expand">menu</a><span> : Mixed</span></div><div class="description"><div class="short">Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to unde...</div><div class="long"><p>Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to undefined).</p>
500 </div></div></div><div id="config-menuActiveCls" class="member inherited"><a href="Ext.tab.Tab.html#config-menuActiveCls" rel="config-menuActiveCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-menuActiveCls" class="viewSource">view source</a></div><a name="menuActiveCls"></a><a name="config-menuActiveCls"></a><a href="Ext.tab.Tab.html#" rel="config-menuActiveCls" class="cls expand">menuActiveCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to add to a button when it's menu is active. (Defaults to 'x-btn-menu-active')</p>
501 </div><div class="long"><p>The CSS class to add to a button when it's menu is active. (Defaults to 'x-btn-menu-active')</p>
502 </div></div></div><div id="config-menuAlign" class="member inherited"><a href="Ext.tab.Tab.html#config-menuAlign" rel="config-menuAlign" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-menuAlign" class="viewSource">view source</a></div><a name="menuAlign"></a><a name="config-menuAlign"></a><a href="Ext.tab.Tab.html#" rel="config-menuAlign" class="cls expand">menuAlign</a><span> : String</span></div><div class="description"><div class="short"><p>The position to align the menu to (see <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a> for more details, defaults to 'tl-bl?').</p>
503 </div><div class="long"><p>The position to align the menu to (see <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a> for more details, defaults to 'tl-bl?').</p>
504 </div></div></div><div id="config-minHeight" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
505
506
507 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>
508
509
510 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
511
512 </div></div></div><div id="config-minWidth" class="member inherited"><a href="Ext.tab.Tab.html#config-minWidth" rel="config-minWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-minWidth" class="viewSource">view source</a></div><a name="minWidth"></a><a name="config-minWidth"></a><a href="Ext.tab.Tab.html#" rel="config-minWidth" class="cls expand">minWidth</a><span> : Number</span></div><div class="description"><div class="short">The minimum width for this button (used to give a set of buttons a common width).
513 See also Ext.panel.Panel.minButtonW...</div><div class="long"><p>The minimum width for this button (used to give a set of buttons a common width).
514 See also <a href="Ext.panel.Panel.html" rel="Ext.panel.Panel" class="docClass">Ext.panel.Panel</a>.<tt><a href="Ext.panel.Panel.html#minButtonWidth" rel="Ext.panel.Panel#minButtonWidth" class="docClass">minButtonWidth</a></tt>.</p>
515 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.tab.Tab.html#config-overCls" rel="config-overCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-overCls" class="viewSource">view source</a></div><a name="overCls"></a><a name="config-overCls"></a><a href="Ext.tab.Tab.html#" rel="config-overCls" class="cls expand">overCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to add to a button when it is in the over (hovered) state. (Defaults to 'x-btn-over')</p>
516 </div><div class="long"><p>The CSS class to add to a button when it is in the over (hovered) state. (Defaults to 'x-btn-over')</p>
517 </div></div></div><div id="config-overflowText" class="member inherited"><a href="Ext.tab.Tab.html#config-overflowText" rel="config-overflowText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-overflowText" class="viewSource">view source</a></div><a name="overflowText"></a><a name="config-overflowText"></a><a href="Ext.tab.Tab.html#" rel="config-overflowText" class="cls expand">overflowText</a><span> : String</span></div><div class="description"><div class="short">If used in a Toolbar, the
518 text to be used if this item is shown in the overflow menu. See also
519 Ext.toolbar.Item.overf...</div><div class="long"><p>If used in a <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Toolbar</a>, the
520 text to be used if this item is shown in the overflow menu. See also
521 <a href="Ext.toolbar.Item.html" rel="Ext.toolbar.Item" class="docClass">Ext.toolbar.Item</a>.<code><a href="Ext.toolbar.Item.html#overflowText" rel="Ext.toolbar.Item#overflowText" class="docClass">overflowText</a></code>.</p>
522 </div></div></div><div id="config-padding" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
523 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
524 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
525 </div></div></div><div id="config-plugins" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
526 requirement for a ...</div><div class="long"><p>An object or array of objects that will provide custom functionality for this component.  The only
527 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>.
528 When a component is created, if any plugins are available, the component will call the init method on each
529 plugin, passing a reference to itself.  Each plugin can then call methods or respond to events on the
530 component as needed to provide its functionality.</p>
531 </div></div></div><div id="config-pressed" class="member inherited"><a href="Ext.tab.Tab.html#config-pressed" rel="config-pressed" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-pressed" class="viewSource">view source</a></div><a name="pressed"></a><a name="config-pressed"></a><a href="Ext.tab.Tab.html#" rel="config-pressed" class="cls expand">pressed</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to start pressed (only if enableToggle = true)</p>
532 </div><div class="long"><p>True to start pressed (only if enableToggle = true)</p>
533 </div></div></div><div id="config-pressedCls" class="member inherited"><a href="Ext.tab.Tab.html#config-pressedCls" rel="config-pressedCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-pressedCls" class="viewSource">view source</a></div><a name="pressedCls"></a><a name="config-pressedCls"></a><a href="Ext.tab.Tab.html#" rel="config-pressedCls" class="cls expand">pressedCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to add to a button when it is in the pressed state. (Defaults to 'x-btn-pressed')</p>
534 </div><div class="long"><p>The CSS class to add to a button when it is in the pressed state. (Defaults to 'x-btn-pressed')</p>
535 </div></div></div><div id="config-preventDefault" class="member inherited"><a href="Ext.tab.Tab.html#config-preventDefault" rel="config-preventDefault" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-preventDefault" class="viewSource">view source</a></div><a name="preventDefault"></a><a name="config-preventDefault"></a><a href="Ext.tab.Tab.html#" rel="config-preventDefault" class="cls expand">preventDefault</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to prevent the default action when the <a href="Ext.tab.Tab.html#clickEvent" rel="Ext.tab.Tab#clickEvent" class="docClass">clickEvent</a> is processed. Defaults to true.</p>
536 </div><div class="long"><p>True to prevent the default action when the <a href="Ext.tab.Tab.html#clickEvent" rel="Ext.tab.Tab#clickEvent" class="docClass">clickEvent</a> is processed. Defaults to true.</p>
537 </div></div></div><div id="config-renderSelectors" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
538 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
539 created by the render process.</p>
540
541 <p>After the Component's internal structure is rendered according to the <a href="Ext.tab.Tab.html#renderTpl" rel="Ext.tab.Tab#renderTpl" class="docClass">renderTpl</a>, this object is iterated through,
542 and the found Elements are added as properties to the Component using the <code>renderSelector</code> property name.</p>
543
544 <p>For example, a Component which rendered an image, and description into its element might use the following properties
545 coded into its prototype:</p>
546
547 <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;',
548
549 renderSelectors: {
550     image: 'img.x-image-component-img',
551     descEl: 'div.x-image-component-desc'
552 }
553 </code></pre>
554
555 <p>After rendering, the Component would have a property <code>image</code> referencing its child <code>img</code> Element,
556 and a property <code>descEl</code> referencing the <code>div</code> Element which contains the description.</p>
557 </div></div></div><div id="config-renderTo" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
558 will be rendered into.
559
560
561
562 Not...</div><div class="long"><p>Specify the id of the element, a DOM element or an existing Element that this component
563 will be rendered into.</p>
564
565
566 <div><ul>
567 <li><b>Notes</b> : <ul>
568 <div class="sub-desc">Do <u>not</u> use this option if the Component is to be a child item of
569 a <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>. It is the responsibility of the
570 <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>
571 to render and manage its child items.</div>
572 <div class="sub-desc">When using this config, a call to render() is not required.</div>
573 </ul></li>
574 </ul></div>
575
576
577 <p>See <code><a href="Ext.tab.Tab.html#render" rel="Ext.tab.Tab#render" class="docClass">render</a></code> also.</p>
578
579 </div></div></div><div id="config-renderTpl" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
580 encapsulating Element.
581
582
583 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
584 encapsulating <a href="Ext.tab.Tab.html#getEl" rel="Ext.tab.Tab#getEl" class="docClass">Element</a>.</p>
585
586
587 <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>
588 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
589 with no internal structure; they render their <a href="Ext.tab.Tab.html#getEl" rel="Ext.tab.Tab#getEl" class="docClass">Element</a> empty. The more specialized ExtJS and Touch classes
590 which use a more complex DOM structure, provide their own template definitions.</p>
591
592
593 <p>This is intended to allow the developer to create application-specific utility Components with customized
594 internal structure.</p>
595
596
597 <p>Upon rendering, any created child elements may be automatically imported into object properties using the
598 <a href="Ext.tab.Tab.html#renderSelectors" rel="Ext.tab.Tab#renderSelectors" class="docClass">renderSelectors</a> option.</p>
599
600 </div></div></div><div id="config-repeat" class="member inherited"><a href="Ext.tab.Tab.html#config-repeat" rel="config-repeat" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-repeat" class="viewSource">view source</a></div><a name="repeat"></a><a name="config-repeat"></a><a href="Ext.tab.Tab.html#" rel="config-repeat" class="cls expand">repeat</a><span> : Boolean/Object</span></div><div class="description"><div class="short">True to repeat fire the click event while the mouse is down. This can also be
601 a ClickRepeater config object (defaults...</div><div class="long"><p>True to repeat fire the click event while the mouse is down. This can also be
602 a <a href="Ext.util.ClickRepeater.html" rel="Ext.util.ClickRepeater" class="docClass">ClickRepeater</a> config object (defaults to false).</p>
603 </div></div></div><div id="config-resizable" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
604 after rendering.
605
606
607 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
608 after rendering.</p>
609
610
611 <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>
612 to override any defaults. By default the Component passes its minimum and maximum size, and uses
613 <code><a href="Ext.resizer.Resizer.html#dynamic" rel="Ext.resizer.Resizer#dynamic" class="docClass">Ext.resizer.Resizer.dynamic</a>: false</code></p>
614
615 </div></div></div><div id="config-resizeHandles" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
616 </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>
617 </div></div></div><div id="config-saveBuffer" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
618 a short period. Defaults to 100.</p>
619 </div><div class="long"><p>A buffer to be applied if many state events are fired within
620 a short period. Defaults to 100.</p>
621 </div></div></div><div id="config-scale" class="member inherited"><a href="Ext.tab.Tab.html#config-scale" rel="config-scale" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-scale" class="viewSource">view source</a></div><a name="scale"></a><a name="config-scale"></a><a href="Ext.tab.Tab.html#" rel="config-scale" class="cls expand">scale</a><span> : String</span></div><div class="description"><div class="short">(Optional) The size of the Button. Three values are allowed:
622
623
624
625 'small'Results in the button element being 16px high....</div><div class="long"><p>(Optional) The size of the Button. Three values are allowed:</p>
626
627
628 <ul class="mdetail-params">
629 <li>'small'<div class="sub-desc">Results in the button element being 16px high.</div></li>
630 <li>'medium'<div class="sub-desc">Results in the button element being 24px high.</div></li>
631 <li>'large'<div class="sub-desc">Results in the button element being 32px high.</div></li>
632 </ul>
633
634
635 <p>Defaults to <b><tt>'small'</tt></b>.</p>
636
637 </div></div></div><div id="config-scope" class="member inherited"><a href="Ext.tab.Tab.html#config-scope" rel="config-scope" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-scope" class="viewSource">view source</a></div><a name="scope"></a><a name="config-scope"></a><a href="Ext.tab.Tab.html#" rel="config-scope" class="cls expand">scope</a><span> : Object</span></div><div class="description"><div class="short"><p>The scope (<tt><b>this</b></tt> reference) in which the
638 <code><a href="Ext.tab.Tab.html#handler" rel="Ext.tab.Tab#handler" class="docClass">handler</a></code> and <code><a href="Ext.tab.Tab.html#toggleHandler" rel="Ext.tab.Tab#toggleHandler" class="docClass">toggleHandler</a></code> is
639 executed. Defaults to this Button.</p>
640 </div><div class="long"><p>The scope (<tt><b>this</b></tt> reference) in which the
641 <code><a href="Ext.tab.Tab.html#handler" rel="Ext.tab.Tab#handler" class="docClass">handler</a></code> and <code><a href="Ext.tab.Tab.html#toggleHandler" rel="Ext.tab.Tab#toggleHandler" class="docClass">toggleHandler</a></code> is
642 executed. Defaults to this Button.</p>
643 </div></div></div><div id="config-shadow" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
644 true to automatically create an Ext.Shadow,...</div><div class="long"><p>Specifies whether the floating component should be given a shadow. Set to
645 <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
646 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.
647 (Defaults to <tt>'sides'</tt>.)</p>
648 </div></div></div><div id="config-stateEvents" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
649 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
650 save its state (defaults to none). <code>stateEvents</code> may be any type
651 of event supported by this object, including browser or custom events
652 (e.g., <tt>['click', 'customerchange']</tt>).</p>
653
654
655 <p>See <code><a href="Ext.tab.Tab.html#stateful" rel="Ext.tab.Tab#stateful" class="docClass">stateful</a></code> for an explanation of saving and
656 restoring object state.</p>
657
658 </div></div></div><div id="config-stateId" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
659
660 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>
661
662 <p>See <a href="Ext.tab.Tab.html#stateful" rel="Ext.tab.Tab#stateful" class="docClass">stateful</a> for an explanation of saving and restoring state.</p>
663
664 </div></div></div><div id="config-stateful" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
665 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
666 internal properties from a saved state on startup. The object must have
667 a <code><a href="Ext.tab.Tab.html#stateId" rel="Ext.tab.Tab#stateId" class="docClass">stateId</a></code> for state to be managed. 
668 Auto-generated ids are not guaranteed to be stable across page loads and 
669 cannot be relied upon to save and restore the same state for a object.<p>
670 <p>For state saving to work, the state manager's provider must have been
671 set to an implementation of <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> which overrides the
672 <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>
673 methods to save and recall name/value pairs. A built-in implementation,
674 <a href="Ext.state.CookieProvider.html" rel="Ext.state.CookieProvider" class="docClass">Ext.state.CookieProvider</a> is available.</p>
675 <p>To set the state provider for the current page:</p>
676 <pre><code>Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
677     expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now
678 }));
679 </code></pre>
680 <p>A stateful object attempts to save state when one of the events
681 listed in the <code><a href="Ext.tab.Tab.html#stateEvents" rel="Ext.tab.Tab#stateEvents" class="docClass">stateEvents</a></code> configuration fires.</p>
682 <p>To save state, a stateful object first serializes its state by
683 calling <b><code><a href="Ext.tab.Tab.html#getState" rel="Ext.tab.Tab#getState" class="docClass">getState</a></code></b>. By default, this function does
684 nothing. The developer must provide an implementation which returns an
685 object hash which represents the restorable state of the object.</p>
686 <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>
687 which uses the configured <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> to save the object
688 keyed by the <code><a href="stateId.html" rel="stateId" class="docClass">stateId</a></code></p>.
689 <p>During construction, a stateful object attempts to <i>restore</i>
690 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
691 <code><a href="Ext.tab.Tab.html#stateId" rel="Ext.tab.Tab#stateId" class="docClass">stateId</a></code></p>
692 <p>The resulting object is passed to <b><code><a href="Ext.tab.Tab.html#applyState" rel="Ext.tab.Tab#applyState" class="docClass">applyState</a></code></b>.
693 The default implementation of <code><a href="Ext.tab.Tab.html#applyState" rel="Ext.tab.Tab#applyState" class="docClass">applyState</a></code> simply copies
694 properties into the object, but a developer may override this to support
695 more behaviour.</p>
696 <p>You can perform extra processing on state save and restore by attaching
697 handlers to the <a href="Ext.tab.Tab.html#beforestaterestore" rel="Ext.tab.Tab#beforestaterestore" class="docClass">beforestaterestore</a>, <a href="Ext.tab.Tab.html#staterestore" rel="Ext.tab.Tab#staterestore" class="docClass">staterestore</a>,
698 <a href="Ext.tab.Tab.html#beforestatesave" rel="Ext.tab.Tab#beforestatesave" class="docClass">beforestatesave</a> and <a href="Ext.tab.Tab.html#statesave" rel="Ext.tab.Tab#statesave" class="docClass">statesave</a> events.</p>
699
700 </div></div></div><div id="config-style" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
701 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
702 <a href="Ext.core.Element.html#applyStyles" rel="Ext.core.Element#applyStyles" class="docClass">Ext.core.Element.applyStyles</a>.</p>
703
704 <pre><code>        new Ext.panel.Panel({
705             title: 'Some Title',
706             renderTo: Ext.getBody(),
707             width: 400, height: 300,
708             layout: 'form',
709             items: [{
710                 xtype: 'textarea',
711                 style: {
712                     width: '95%',
713                     marginBottom: '10px'
714                 }
715             },
716             new Ext.button.Button({
717                 text: 'Send',
718                 minWidth: '100',
719                 style: {
720                     marginBottom: '10px'
721                 }
722             })
723             ]
724         });
725      </code></pre>
726
727 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
728 Defaults to 'x-html'</p>
729 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
730 Defaults to 'x-html'</p>
731 </div></div></div><div id="config-styleHtmlContent" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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).
732 Defaults to false.</p>
733 </div><div class="long"><p>True to automatically style the html inside the content target of this component (body for panels).
734 Defaults to false.</p>
735 </div></div></div><div id="config-tabIndex" class="member inherited"><a href="Ext.tab.Tab.html#config-tabIndex" rel="config-tabIndex" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-tabIndex" class="viewSource">view source</a></div><a name="tabIndex"></a><a name="config-tabIndex"></a><a href="Ext.tab.Tab.html#" rel="config-tabIndex" class="cls expand">tabIndex</a><span> : Number</span></div><div class="description"><div class="short"><p>Set a DOM tabIndex for this button (defaults to undefined)</p>
736 </div><div class="long"><p>Set a DOM tabIndex for this button (defaults to undefined)</p>
737 </div></div></div><div id="config-text" class="member inherited"><a href="Ext.tab.Tab.html#config-text" rel="config-text" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-text" class="viewSource">view source</a></div><a name="text"></a><a name="config-text"></a><a href="Ext.tab.Tab.html#" rel="config-text" class="cls expand">text</a><span> : String</span></div><div class="description"><div class="short"><p>The button text to be used as innerHTML (html tags are accepted)</p>
738 </div><div class="long"><p>The button text to be used as innerHTML (html tags are accepted)</p>
739 </div></div></div><div id="config-toFrontOnShow" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
740 on an already visible, floating component (default ...</div><div class="long"><p>True to automatically call <a href="Ext.tab.Tab.html#toFront" rel="Ext.tab.Tab#toFront" class="docClass">toFront</a> when the <a href="Ext.tab.Tab.html#show" rel="Ext.tab.Tab#show" class="docClass">show</a> method is called
741 on an already visible, floating component (default is <code>true</code>).</p>
742
743 </div></div></div><div id="config-toggleGroup" class="member inherited"><a href="Ext.tab.Tab.html#config-toggleGroup" rel="config-toggleGroup" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-toggleGroup" class="viewSource">view source</a></div><a name="toggleGroup"></a><a name="config-toggleGroup"></a><a href="Ext.tab.Tab.html#" rel="config-toggleGroup" class="cls expand">toggleGroup</a><span> : String</span></div><div class="description"><div class="short"><p>The group this toggle button is a member of (only 1 per group can be pressed)</p>
744 </div><div class="long"><p>The group this toggle button is a member of (only 1 per group can be pressed)</p>
745 </div></div></div><div id="config-toggleHandler" class="member inherited"><a href="Ext.tab.Tab.html#config-toggleHandler" rel="config-toggleHandler" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-toggleHandler" class="viewSource">view source</a></div><a name="toggleHandler"></a><a name="config-toggleHandler"></a><a href="Ext.tab.Tab.html#" rel="config-toggleHandler" class="cls expand">toggleHandler</a><span> : Function</span></div><div class="description"><div class="short">Function called when a Button with enableToggle set to true is clicked. Two arguments are passed:
746 button : Ext.button...</div><div class="long"><p>Function called when a Button with <a href="Ext.tab.Tab.html#enableToggle" rel="Ext.tab.Tab#enableToggle" class="docClass">enableToggle</a> set to true is clicked. Two arguments are passed:<ul class="mdetail-params">
747 <li><b>button</b> : Ext.button.Button<div class="sub-desc">this Button object</div></li>
748 <li><b>state</b> : Boolean<div class="sub-desc">The next state of the Button, true means pressed.</div></li>
749 </ul></p>
750 </div></div></div><div id="config-tooltip" class="member inherited"><a href="Ext.tab.Tab.html#config-tooltip" rel="config-tooltip" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-tooltip" class="viewSource">view source</a></div><a name="tooltip"></a><a name="config-tooltip"></a><a href="Ext.tab.Tab.html#" rel="config-tooltip" class="cls expand">tooltip</a><span> : String/Object</span></div><div class="description"><div class="short">The tooltip for the button - can be a string to be used as innerHTML (html tags are accepted) or QuickTips config obj...</div><div class="long"><p>The tooltip for the button - can be a string to be used as innerHTML (html tags are accepted) or QuickTips config object</p>
751 </div></div></div><div id="config-tooltipType" class="member inherited"><a href="Ext.tab.Tab.html#config-tooltipType" rel="config-tooltipType" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-tooltipType" class="viewSource">view source</a></div><a name="tooltipType"></a><a name="config-tooltipType"></a><a href="Ext.tab.Tab.html#" rel="config-tooltipType" class="cls expand">tooltipType</a><span> : String</span></div><div class="description"><div class="short"><p>The type of tooltip to use. Either 'qtip' (default) for QuickTips or 'title' for title attribute.</p>
752 </div><div class="long"><p>The type of tooltip to use. Either 'qtip' (default) for QuickTips or 'title' for title attribute.</p>
753 </div></div></div><div id="config-tpl" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="config-tpl" class="cls expand">tpl</a><span> : Mixed</span></div><div class="description"><div class="short">An Ext.Template, Ext.XTemplate
754 or an array of strings to form an Ext.XTemplate.
755 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>
756 or an array of strings to form an <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a>.
757 Used in conjunction with the <code><a href="Ext.tab.Tab.html#data" rel="Ext.tab.Tab#data" class="docClass">data</a></code> and
758 <code><a href="Ext.tab.Tab.html#tplWriteMode" rel="Ext.tab.Tab#tplWriteMode" class="docClass">tplWriteMode</a></code> configurations.</p>
759 </div></div></div><div id="config-tplWriteMode" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
760 updating the content area of the Component. Defaults to 'overwrite'
761 (see Ext.X...</div><div class="long"><p>The Ext.(X)Template method to use when
762 updating the content area of the Component. Defaults to <code>'overwrite'</code>
763 (see <code><a href="Ext.XTemplate.html#overwrite" rel="Ext.XTemplate#overwrite" class="docClass">Ext.XTemplate.overwrite</a></code>).</p>
764 </div></div></div><div id="config-type" class="member inherited"><a href="Ext.tab.Tab.html#config-type" rel="config-type" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-cfg-type" class="viewSource">view source</a></div><a name="type"></a><a name="config-type"></a><a href="Ext.tab.Tab.html#" rel="config-type" class="cls expand">type</a><span> : String</span></div><div class="description"><div class="short"><p>submit, reset or button - defaults to 'button'</p>
765 </div><div class="long"><p>submit, reset or button - defaults to 'button'</p>
766 </div></div></div><div id="config-ui" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
767 </div><div class="long"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
768 </div></div></div><div id="config-width" class="member inherited"><a href="Ext.tab.Tab.html#config-width" rel="config-width" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-width" class="viewSource">view source</a></div><a name="width"></a><a name="config-width"></a><a href="Ext.tab.Tab.html#" rel="config-width" class="cls expand">width</a><span> : Number</span></div><div class="description"><div class="short"><p>The width of this component in pixels.</p>
769 </div><div class="long"><p>The width of this component in pixels.</p>
770 </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-Boolean" class="member f ni"><a href="Ext.tab.Tab.html#property-Boolean" rel="property-Boolean" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-property-Boolean" class="viewSource">view source</a></div><a name="Boolean"></a><a name="property-Boolean"></a><a href="Ext.tab.Tab.html#" rel="property-Boolean" class="cls expand">Boolean</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only property indicating that this tab is currently active. This is NOT a public configuration.</p>
771 </div><div class="long"><p>Read-only property indicating that this tab is currently active. This is NOT a public configuration.</p>
772 </div></div></div><div id="property-closable" class="member ni"><a href="Ext.tab.Tab.html#property-closable" rel="property-closable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-property-closable" class="viewSource">view source</a></div><a name="closable"></a><a name="property-closable"></a><a href="Ext.tab.Tab.html#" rel="property-closable" class="cls expand">closable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the tab is currently closable</p>
773 </div><div class="long"><p>True if the tab is currently closable</p>
774 </div></div></div><div id="property-disabled" class="member inherited"><a href="Ext.tab.Tab.html#property-disabled" rel="property-disabled" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-property-disabled" class="viewSource">view source</a></div><a name="disabled"></a><a name="property-disabled"></a><a href="Ext.tab.Tab.html#" rel="property-disabled" class="cls expand">disabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only. True if this button is disabled</p>
775 </div><div class="long"><p>Read-only. True if this button is disabled</p>
776 </div></div></div><div id="property-draggable" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
777 </div><div class="long"><p>Read-only property indicating whether or not the component can be dragged</p>
778 </div></div></div><div id="property-floatParent" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
779
780
781 Floa...</div><div class="long"><p>Optional. Only present for <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> Components which were inserted as descendant items of floating Containers.</p>
782
783
784 <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>
785
786
787 <p>For <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> Components which are child items of a Container, the floatParent will be the floating ancestor Container which is
788 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
789 z-indexing services for all its descendant floating Components.</p>
790
791
792 <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
793 <code>floatParent</code></p>
794
795
796 <p>See <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> and <a href="Ext.tab.Tab.html#zIndexManager" rel="Ext.tab.Tab#zIndexManager" class="docClass">zIndexManager</a></p>
797
798 </div></div></div><div id="property-frameSize" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
799 to ...</div><div class="long"><p>Read-only property indicating the width of any framing elements which were added within the encapsulating element
800 to provide graphical, rounded borders. See the <a href="Ext.tab.Tab.html#frame" rel="Ext.tab.Tab#frame" class="docClass">frame</a> config.</p>
801
802
803 <p> This is an object containing the frame width in pixels for all four sides of the Component containing
804 the following properties:</p>
805
806
807 <div class="mdetail-params"><ul>
808 <li><code>top</code> The width of the top framing element in pixels.</li>
809 <li><code>right</code> The width of the right framing element in pixels.</li>
810 <li><code>bottom</code> The width of the bottom framing element in pixels.</li>
811 <li><code>left</code> The width of the left framing element in pixels.</li>
812 </ul></div>
813
814 </div></div></div><div id="property-hasActiveFx" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
815 Returns thq current animation if this object has any effects actively ...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.tab.Tab.html#getActiveAnimation" rel="Ext.tab.Tab#getActiveAnimation" class="docClass">getActiveAnimation</a>
816 Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
817 </div></div></div><div id="property-hidden" class="member inherited"><a href="Ext.tab.Tab.html#property-hidden" rel="property-hidden" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-property-hidden" class="viewSource">view source</a></div><a name="hidden"></a><a name="property-hidden"></a><a href="Ext.tab.Tab.html#" rel="property-hidden" class="cls expand">hidden</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only. True if this button is hidden</p>
818 </div><div class="long"><p>Read-only. True if this button is hidden</p>
819 </div></div></div><div id="property-maskOnDisable" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
820 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.
821 By default this is set to true which means that every component gets a mask when its disabled.
822 Components like FieldContainer, FieldSet, Field, Button, Tab override this property to false
823 since they want to implement custom disable logic.</p>
824 </div></div></div><div id="property-menu" class="member inherited"><a href="Ext.tab.Tab.html#property-menu" rel="property-menu" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-property-menu" class="viewSource">view source</a></div><a name="menu"></a><a name="property-menu"></a><a href="Ext.tab.Tab.html#" rel="property-menu" class="cls expand">menu</a><span> : Menu</span></div><div class="description"><div class="short"><p>The <a href="Ext.menu.Menu.html" rel="Ext.menu.Menu" class="docClass">Menu</a> object associated with this Button when configured with the <a href="Ext.tab.Tab.html#menu" rel="Ext.tab.Tab#menu" class="docClass">menu</a> config option.</p>
825 </div><div class="long"><p>The <a href="Ext.menu.Menu.html" rel="Ext.menu.Menu" class="docClass">Menu</a> object associated with this Button when configured with the <a href="Ext.tab.Tab.html#menu" rel="Ext.tab.Tab#menu" class="docClass">menu</a> config option.</p>
826 </div></div></div><div id="property-ownerCt" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
827 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
828 this Component is added to a Container).  Read-only.</p>
829
830 <p><b>Note</b>: to access items within the Container see <tt><a href="Ext.tab.Tab.html#itemId" rel="Ext.tab.Tab#itemId" class="docClass">itemId</a></tt>.</p>
831
832 </div></div></div><div id="property-pressed" class="member inherited"><a href="Ext.tab.Tab.html#property-pressed" rel="property-pressed" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-property-pressed" class="viewSource">view source</a></div><a name="pressed"></a><a name="property-pressed"></a><a href="Ext.tab.Tab.html#" rel="property-pressed" class="cls expand">pressed</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only. True if this button is pressed (only if enableToggle = true)</p>
833 </div><div class="long"><p>Read-only. True if this button is pressed (only if enableToggle = true)</p>
834 </div></div></div><div id="property-rendered" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
835 </div><div class="long"><p>Read-only property indicating whether or not the component has been rendered.</p>
836 </div></div></div><div id="property-stopFx" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
837 any additional effects that ...</div><div class="long"><p>Stops any running effects and clears this object's internal effects queue if it contains
838 any additional effects that haven't started yet.</p>
839 </div></div></div><div id="property-template" class="member inherited"><a href="Ext.tab.Tab.html#property-template" rel="property-template" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-property-template" class="viewSource">view source</a></div><a name="template"></a><a name="property-template"></a><a href="Ext.tab.Tab.html#" rel="property-template" class="cls expand">template</a><span> : Ext.Template</span></div><div class="description"><div class="short">(Optional)
840
841 A Template used to create the Button's DOM structure.
842
843
844 Instances, or subclasses which need a different D...</div><div class="long"><p>(Optional)</p>
845
846 <p>A <a href="Ext.Template.html" rel="Ext.Template" class="docClass">Template</a> used to create the Button's DOM structure.</p>
847
848
849 <p>Instances, or subclasses which need a different DOM structure may provide a different
850 template layout in conjunction with an implementation of <a href="Ext.tab.Tab.html#getTemplateArgs" rel="Ext.tab.Tab#getTemplateArgs" class="docClass">getTemplateArgs</a>.</p>
851 </div></div></div><div id="property-zIndexManager" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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.
852
853
854 A reference to the ZIndexManager whic...</div><div class="long"><p>Optional. Only present for <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> Components after they have been rendered.</p>
855
856
857 <p>A reference to the ZIndexManager which is managing this Component's z-index.</p>
858
859
860 <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
861 mask which is insert just beneath the topmost visible modal floating Component.</p>
862
863
864 <p>Floating Components may be <a href="Ext.tab.Tab.html#toFront" rel="Ext.tab.Tab#toFront" class="docClass">brought to the front</a> or <a href="Ext.tab.Tab.html#toBack" rel="Ext.tab.Tab#toBack" class="docClass">sent to the back</a> of the z-index stack.</p>
865
866
867 <p>This defaults to the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> for floating Components that are programatically
868 <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a>.</p>
869
870
871 <p>For <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> Components which are added to a Container, the ZIndexManager is acquired from the first ancestor Container found
872 which is floating, or if not found the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> is used.</p>
873
874
875 <p>See <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> and <a href="Ext.tab.Tab.html#floatParent" rel="Ext.tab.Tab#floatParent" class="docClass">floatParent</a></p>
876
877 </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-Tab" class="member f inherited"><a href="Ext.tab.Tab.html#method-Tab" rel="method-Tab" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-constructor" class="viewSource">view source</a></div><a name="Tab"></a><a name="method-Tab"></a><a href="Ext.tab.Tab.html#" rel="method-Tab" class="cls expand">Tab</a>(
878 <span class="pre">Object config</span>)
879  : void</div><div class="description"><div class="short"><p>Create a new button</p>
880 </div><div class="long"><p>Create a new button</p>
881 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The config object</p>
882 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
883 </li></ul></div></div></div><div id="method-addClass" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-addClass" class="cls expand">addClass</a>(
884 <span class="pre">String cls</span>)
885  : Ext.Component</div><div class="description"><div class="short"><p>@deprecated 4.0 Replaced by {link:#addCls}
886 Adds a CSS class to the top level element representing this component.</p>
887 </div><div class="long"><p>@deprecated 4.0 Replaced by {link:#addCls}
888 Adds a CSS class to the top level element representing this component.</p>
889 <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>
890 </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>
891 </li></ul></div></div></div><div id="method-addCls" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-addCls" class="cls expand">addCls</a>(
892 <span class="pre">String cls</span>)
893  : Ext.Component</div><div class="description"><div class="short"><p>Adds a CSS class to the top level element representing this component.</p>
894 </div><div class="long"><p>Adds a CSS class to the top level element representing this component.</p>
895 <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>
896 </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>
897 </li></ul></div></div></div><div id="method-addClsWithUI" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-addClsWithUI" class="cls expand">addClsWithUI</a>(
898 <span class="pre">String/Array cls</span>)
899  : void</div><div class="description"><div class="short"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.tab.Tab.html#addUIClsToElement" rel="Ext.tab.Tab#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
900 to all elements of this component.</p>
901 </div><div class="long"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.tab.Tab.html#addUIClsToElement" rel="Ext.tab.Tab#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
902 to all elements of this component.</p>
903 <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>
904 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
905 </li></ul></div></div></div><div id="method-addEvents" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-addEvents" class="cls expand">addEvents</a>(
906 <span class="pre">Object/String o, String </span>)
907  : void</div><div class="description"><div class="short"><p>Adds the specified events to the list of events which this Observable may fire.</p>
908 </div><div class="long"><p>Adds the specified events to the list of events which this Observable may fire.</p>
909 <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>
910 or the first event name string if multiple event names are being passed as separate parameters.</p>
911 </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.
912 Usage:</p>
913
914 <pre><code>this.addEvents('storeloaded', 'storecleared');
915 </code></pre>
916
917 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
918 </li></ul></div></div></div><div id="method-addListener" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-addListener" class="cls expand">addListener</a>(
919 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
920  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object.</p>
921 </div><div class="long"><p>Appends an event handler to this object.</p>
922 <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>
923 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes.</p>
924 </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.
925 <b>If omitted, defaults to the object which fired the event.</b></p>
926 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.
927 properties. This may contain any of the following properties:<ul>
928 <li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
929 <b>If omitted, defaults to the object which fired the event.</b></div></li>
930 <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>
931 <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>
932 <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
933 by the specified number of milliseconds. If the event fires again within that time, the original
934 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
935 <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>
936 if the event was bubbled up from a child Observable.</div></li>
937 <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>
938 The name of a Component property which references an element to add a listener to.</p>
939
940 <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
941 will exist only after the Component is rendered. For example, to add a click listener to a Panel's body:
942 <pre><code>new Ext.panel.Panel({
943     title: 'The title',
944     listeners: {
945         click: this.handlePanelClick,
946         element: 'body'
947     }
948 });
949 </code></pre></p>
950
951
952 <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>
953
954
955 <p></div></li>
956 </ul><br></p>
957
958 <p>
959 <b>Combining Options</b><br>
960 Using the options argument, it is possible to combine different types of listeners:<br>
961 <br>
962 A delayed, one-time listener.
963 <pre><code>myPanel.on('hide', this.handleClick, this, {
964 single: true,
965 delay: 100
966 });</code></pre>
967 <p>
968 <b>Attaching multiple handlers in 1 call</b><br>
969 The method also allows for a single argument to be passed which is a config object containing properties
970 which specify multiple events. For example:
971 <pre><code>myGridPanel.on({
972     cellClick: this.onCellClick,
973     mouseover: this.onMouseOver,
974     mouseout: this.onMouseOut,
975     scope: this // Important. Ensure "this" is correct during handler execution
976 });
977 </code></pre>.
978 <p>
979
980 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
981 </li></ul></div></div></div><div id="method-addManagedListener" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-addManagedListener" class="cls expand">addManagedListener</a>(
982 <span class="pre">Observable/Element item, Object/String ename, Function fn, Object scope, Object opt</span>)
983  : void</div><div class="description"><div class="short"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
984 is destroyed.
985
986 </div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
987 is destroyed.
988
989 <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>
990 </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>
991 </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
992 is the handler function.</p>
993 </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
994 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
995 </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
996 is the <a href="Ext.util.Observable.html#addListener" rel="Ext.util.Observable#addListener" class="docClass">addListener</a> options.</p>
997 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
998 </li></ul></div></div></div><div id="method-addStateEvents" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-addStateEvents" class="cls expand">addStateEvents</a>(
999 <span class="pre">String/Array events</span>)
1000  : void</div><div class="description"><div class="short"><p>Add events that will trigger the state to be saved.</p>
1001 </div><div class="long"><p>Add events that will trigger the state to be saved.</p>
1002 <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>
1003 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1004 </li></ul></div></div></div><div id="method-afterComponentLayout" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-afterComponentLayout" class="cls expand">afterComponentLayout</a>(
1005 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1006  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
1007 <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>
1008 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1009 </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>
1010 </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>
1011 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1012 </li></ul></div></div></div><div id="method-alignTo" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-alignTo" class="cls expand">alignTo</a>(
1013 <span class="pre">Mixed element, String position, [Array offsets]</span>)
1014  : Component</div><div class="description"><div class="short"><p>Aligns this floating Component to the specified element</p>
1015 </div><div class="long"><p>Aligns this floating Component to the specified element</p>
1016 <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
1017 be a omponent instance. If a string id is passed, it will be used as an element id.</p>
1018 </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>
1019 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
1020 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1021 </li></ul></div></div></div><div id="method-animate" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-animate" class="cls expand">animate</a>(
1022 <span class="pre">Object config</span>)
1023  : Object</div><div class="description"><div class="short">Perform custom animation on this object.
1024 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>
1025 <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.
1026 It performs animated transitions of certain properties of this object over a specified timeline.</p>
1027 <p>The sole parameter is an object which specifies start property values, end property values, and properties which
1028 describe the timeline. Of the properties listed below, only <b><code>to</code></b> is mandatory.</p>
1029 <p>Properties include<ul>
1030 <li><code>from</code> <div class="sub-desc">An object which specifies start values for the properties being animated.
1031 If not supplied, properties are animated from current settings. The actual properties which may be animated depend upon
1032 ths object being animated. See the sections below on Element and Component animation.<div></li>
1033 <li><code>to</code> <div class="sub-desc">An object which specifies end values for the properties being animated.</div></li>
1034 <li><code>duration</code><div class="sub-desc">The duration <b>in milliseconds</b> for which the animation will run.</div></li>
1035 <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>
1036 <li>ease</li>
1037 <li>easeIn</li>
1038 <li>easeOut</li>
1039 <li>easeInOut</li>
1040 <li>backIn</li>
1041 <li>backOut</li>
1042 <li>elasticIn</li>
1043 <li>elasticOut</li>
1044 <li>bounceIn</li>
1045 <li>bounceOut</li>
1046 </ul></code></div></li>
1047 <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.
1048 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>
1049 <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
1050 to inject behaviour at either the <code>beforeanimate</code> event or the <code>afteranimate</code> event.</div></li>
1051 </ul></p>
1052 <h3>Animating an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a></h3>
1053 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1054 <li><code>x</code> <div class="sub-desc">The page X position in pixels.</div></li>
1055 <li><code>y</code> <div class="sub-desc">The page Y position in pixels</div></li>
1056 <li><code>left</code> <div class="sub-desc">The element's CSS <code>left</code> value. Units must be supplied.</div></li>
1057 <li><code>top</code> <div class="sub-desc">The element's CSS <code>top</code> value. Units must be supplied.</div></li>
1058 <li><code>width</code> <div class="sub-desc">The element's CSS <code>width</code> value. Units must be supplied.</div></li>
1059 <li><code>height</code> <div class="sub-desc">The element's CSS <code>height</code> value. Units must be supplied.</div></li>
1060 <li><code>scrollLeft</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1061 <li><code>scrollTop</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1062 <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>
1063 </ul>
1064 <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
1065 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
1066 directly animate certain properties of Components.</b></p>
1067 <h3>Animating a <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></h3>
1068 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1069 <li><code>x</code> <div class="sub-desc">The Component's page X position in pixels.</div></li>
1070 <li><code>y</code> <div class="sub-desc">The Component's page Y position in pixels</div></li>
1071 <li><code>left</code> <div class="sub-desc">The Component's <code>left</code> value in pixels.</div></li>
1072 <li><code>top</code> <div class="sub-desc">The Component's <code>top</code> value in pixels.</div></li>
1073 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1074 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1075 <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
1076 of the animation. <i>Use sparingly as laying out on every intermediate size change is an expensive operation</i>.</div></li>
1077 </ul>
1078 <p>For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:</p>
1079 <pre><code>myWindow = Ext.create('Ext.window.Window', {
1080     title: 'Test Component animation',
1081     width: 500,
1082     height: 300,
1083     layout: {
1084         type: 'hbox',
1085         align: 'stretch'
1086     },
1087     items: [{
1088         title: 'Left: 33%',
1089         margins: '5 0 5 5',
1090         flex: 1
1091     }, {
1092         title: 'Left: 66%',
1093         margins: '5 5 5 5',
1094         flex: 2
1095     }]
1096 });
1097 myWindow.show();
1098 myWindow.header.el.on('click', function() {
1099     myWindow.animate({
1100         to: {
1101             width: (myWindow.getWidth() == 500) ? 700 : 500,
1102             height: (myWindow.getHeight() == 300) ? 400 : 300,
1103         }
1104     });
1105 });
1106 </code></pre>
1107 <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
1108 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>
1109
1110 <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>
1111 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>this</p>
1112 </li></ul></div></div></div><div id="method-applyState" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-applyState" class="cls expand">applyState</a>(
1113 <span class="pre">Object state</span>)
1114  : void</div><div class="description"><div class="short">Applies the state to the object. This should be overridden in subclasses to do
1115 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
1116 more complex state operations. By default it applies the state properties onto
1117 the current object.</p>
1118 <h3 class="pa">Parameters</h3><ul><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The state</p>
1119 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1120 </li></ul></div></div></div><div id="method-beforeComponentLayout" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-beforeComponentLayout" class="cls expand">beforeComponentLayout</a>(
1121 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1122  : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1123 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1124 from being executed.</p>
1125 <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>
1126 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1127 </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>
1128 </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>
1129 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1130 </li></ul></div></div></div><div id="method-bubble" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-bubble" class="cls expand">bubble</a>(
1131 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1132  : 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
1133 function call will be the scope provided or the current component. The arguments to the function
1134 will be the args provided or the current component. If the function returns false at any point,
1135 the bubble is stopped.</p>
1136 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1137 </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>
1138 </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>
1139 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1140 </li></ul></div></div></div><div id="method-capture" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-capture" class="cls expand">capture</a>(
1141 <span class="pre">Observable o, Function fn, [Object scope]</span>)
1142  : void</div><div class="description"><div class="short">Starts capture on the specified Observable. All events will be passed
1143 to the supplied function with the event name + ...</div><div class="long"><p>Starts capture on the specified Observable. All events will be passed
1144 to the supplied function with the event name + standard signature of the event
1145 <b>before</b> the event is fired. If the supplied function returns false,
1146 the event will not fire.</p>
1147 <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>
1148 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call when an event is fired.</p>
1149 </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>
1150 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1151 </li></ul></div></div></div><div id="method-center" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1152 </div><div class="long"><p>Center this Component in its container.</p>
1153 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1154 </li></ul></div></div></div><div id="method-clearListeners" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1155 </div><div class="long"><p>Removes all listeners for this object including the managed listeners</p>
1156 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1157 </li></ul></div></div></div><div id="method-clearManagedListeners" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1158 </div><div class="long"><p>Removes all managed listeners for this object.</p>
1159 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1160 </li></ul></div></div></div><div id="method-cloneConfig" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-cloneConfig" class="cls expand">cloneConfig</a>(
1161 <span class="pre">Object overrides</span>)
1162  : 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>
1163 </div><div class="long"><p>Clone the current component using the original config values passed into this instance by default.</p>
1164 <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.
1165 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</p>
1166 </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>
1167 </li></ul></div></div></div><div id="method-destroy" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-destroy" class="cls expand">destroy</a> : void</div><div class="description"><div class="short"><p>Destroys this stateful object.</p>
1168 </div><div class="long"><p>Destroys this stateful object.</p>
1169 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1170 </li></ul></div></div></div><div id="method-disable" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-disable" class="cls expand">disable</a>(
1171 <span class="pre">Boolean silent</span>)
1172  : void</div><div class="description"><div class="short"><p>Disable the component.</p>
1173 </div><div class="long"><p>Disable the component.</p>
1174 <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>
1175 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1176 </li></ul></div></div></div><div id="method-doAutoRender" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-doAutoRender" class="cls expand">doAutoRender</a> : void</div><div class="description"><div class="short">Handles autoRender.
1177 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them wit...</div><div class="long"><p>Handles autoRender.
1178 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them within that
1179 ownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body</p>
1180 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1181 </li></ul></div></div></div><div id="method-doComponentLayout" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-doComponentLayout" class="cls expand">doComponentLayout</a>(
1182 <span class="pre">Object width, Object height, Object isSetSize, Object ownerCt</span>)
1183  : 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
1184 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
1185 layout to be recalculated.</p>
1186 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Object<div class="sub-desc">
1187 </div></li><li><span class="pre">height</span> : Object<div class="sub-desc">
1188 </div></li><li><span class="pre">isSetSize</span> : Object<div class="sub-desc">
1189 </div></li><li><span class="pre">ownerCt</span> : Object<div class="sub-desc">
1190 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1191 </li></ul></div></div></div><div id="method-doConstrain" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-doConstrain" class="cls expand">doConstrain</a>(
1192 <span class="pre">Mixed constrainTo</span>)
1193  : void</div><div class="description"><div class="short">Moves this floating Component into a constrain region.
1194
1195
1196 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>
1197
1198
1199 <p>By default, this Component is constrained to be within the container it was added to, or the element
1200 it was rendered to.</p>
1201
1202
1203 <p>An alternative constraint may be passed.</p>
1204
1205 <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>
1206 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1207 </li></ul></div></div></div><div id="method-enable" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-enable" class="cls expand">enable</a>(
1208 <span class="pre">Boolean silent</span>)
1209  : void</div><div class="description"><div class="short"><p>Enable the component</p>
1210 </div><div class="long"><p>Enable the component</p>
1211 <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>
1212 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1213 </li></ul></div></div></div><div id="method-enableBubble" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-enableBubble" class="cls expand">enableBubble</a>(
1214 <span class="pre">String/Array events</span>)
1215  : void</div><div class="description"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
1216 this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
1217 <code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
1218
1219
1220 <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
1221 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
1222 access the required target more quickly.</p>
1223
1224
1225 <p>Example:</p>
1226
1227
1228 <pre><code>Ext.override(Ext.form.field.Base, {
1229 //  Add functionality to Field&#39;s initComponent to enable the change event to bubble
1230 initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {
1231     this.enableBubble('change');
1232 }),
1233
1234 //  We know that we want Field&#39;s events to bubble directly to the FormPanel.
1235 getBubbleTarget : function() {
1236     if (!this.formPanel) {
1237         this.formPanel = this.findParentByType('form');
1238     }
1239     return this.formPanel;
1240 }
1241 });
1242
1243 var myForm = new Ext.formPanel({
1244 title: 'User Details',
1245 items: [{
1246     ...
1247 }],
1248 listeners: {
1249     change: function() {
1250         // Title goes red if form has been modified.
1251         myForm.header.setStyle('color', 'red');
1252     }
1253 }
1254 });
1255 </code></pre>
1256
1257 <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>
1258 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1259 </li></ul></div></div></div><div id="method-findLayoutController" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
1260 ...</div><div class="long"><p>This method finds the topmost active layout who's processing will eventually determine the size and position of this
1261 Component.<p>
1262 <p>This method is useful when dynamically adding Components into Containers, and some processing must take place after the
1263 final sizing and positioning of the Component has been performed.</p>
1264
1265 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1266 </li></ul></div></div></div><div id="method-findParentBy" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-findParentBy" class="cls expand">findParentBy</a>(
1267 <span class="pre">Function fn</span>)
1268  : 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
1269 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
1270 true, the container will be returned.</p>
1271 <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>
1272 </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>
1273 </li></ul></div></div></div><div id="method-findParentByType" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-findParentByType" class="cls expand">findParentByType</a>(
1274 <span class="pre">String/Class xtype</span>)
1275  : 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>
1276
1277
1278 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1279
1280 </div><div class="long"><p>Find a container above this component at any level by xtype or class</p>
1281
1282
1283 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1284
1285 <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>
1286 </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>
1287 </li></ul></div></div></div><div id="method-fireEvent" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-fireEvent" class="cls expand">fireEvent</a>(
1288 <span class="pre">String eventName, Object... args</span>)
1289  : Boolean</div><div class="description"><div class="short">Fires the specified event with the passed parameters (minus the event name).
1290
1291
1292 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>
1293
1294
1295 <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>)
1296 by calling <a href="Ext.tab.Tab.html#enableBubble" rel="Ext.tab.Tab#enableBubble" class="docClass">enableBubble</a>.</p>
1297
1298 <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>
1299 </div></li><li><span class="pre">args</span> : Object...<div class="sub-desc"><p>Variable number of parameters are passed to handlers.</p>
1300 </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>
1301 </li></ul></div></div></div><div id="method-focus" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-focus" class="cls expand">focus</a>(
1302 <span class="pre">[Boolean selectText], [Boolean/Number delay]</span>)
1303  : Ext.Component</div><div class="description"><div class="short"><p>Try to focus this component.</p>
1304 </div><div class="long"><p>Try to focus this component.</p>
1305 <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>
1306 </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>
1307 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1308 </li></ul></div></div></div><div id="method-getActiveAnimation" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1309 </div><div class="long"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1310 <h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>anim if element has active effects, else false</p>
1311 </li></ul></div></div></div><div id="method-getBox" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-getBox" class="cls expand">getBox</a>(
1312 <span class="pre">[Boolean local]</span>)
1313  : Object</div><div class="description"><div class="short"><p>Gets the current box measurements of the component's underlying element.</p>
1314 </div><div class="long"><p>Gets the current box measurements of the component's underlying element.</p>
1315 <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>
1316 </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>
1317 </li></ul></div></div></div><div id="method-getBubbleTarget" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1318 </div><div class="long"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1319 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>the Container which owns this Component.</p>
1320 </li></ul></div></div></div><div id="method-getEl" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1321 </div><div class="long"><p>Retrieves the top level element representing this component.</p>
1322 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1323 </li></ul></div></div></div><div id="method-getHeight" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1324 </div><div class="long"><p>Gets the current height of the component's underlying element.</p>
1325 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1326 </li></ul></div></div></div><div id="method-getId" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-getId" class="cls expand">getId</a> : void</div><div class="description"><div class="short"><p>Retrieves the id of this component.
1327 Will autogenerate an id if one has not already been set.</p>
1328 </div><div class="long"><p>Retrieves the id of this component.
1329 Will autogenerate an id if one has not already been set.</p>
1330 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1331 </li></ul></div></div></div><div id="method-getInsertPosition" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-getInsertPosition" class="cls expand">getInsertPosition</a>(
1332 <span class="pre">String/Number/Element/HTMLElement position</span>)
1333  : HTMLElement</div><div class="description"><div class="short">This function takes the position argument passed to onRender and returns a
1334 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
1335 DOM element that you can use in the insertBefore.</p>
1336 <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
1337 to put this component before.</p>
1338 </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>
1339 </li></ul></div></div></div><div id="method-getLoader" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1340 </div><div class="long"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
1341 <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>
1342 </li></ul></div></div></div><div id="method-getPlugin" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-getPlugin" class="cls expand">getPlugin</a>(
1343 <span class="pre">Object pluginId</span>)
1344  : Ext.AbstractPlugin</div><div class="description"><div class="short"><p>Retrieves a plugin by its pluginId which has been bound to this
1345 component.</p>
1346 </div><div class="long"><p>Retrieves a plugin by its pluginId which has been bound to this
1347 component.</p>
1348 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pluginId</span> : Object<div class="sub-desc">
1349 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.AbstractPlugin</span>&nbsp; &nbsp;<p>pluginInstance</p>
1350 </li></ul></div></div></div><div id="method-getPosition" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-getPosition" class="cls expand">getPosition</a>(
1351 <span class="pre">[Boolean local]</span>)
1352  : Array</div><div class="description"><div class="short"><p>Gets the current XY position of the component's underlying element.</p>
1353 </div><div class="long"><p>Gets the current XY position of the component's underlying element.</p>
1354 <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>
1355 </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>
1356 </li></ul></div></div></div><div id="method-getPressed" class="member inherited"><a href="Ext.tab.Tab.html#method-getPressed" rel="method-getPressed" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-getPressed" class="viewSource">view source</a></div><a name="getPressed"></a><a name="method-getPressed"></a><a href="Ext.tab.Tab.html#" rel="method-getPressed" class="cls expand">getPressed</a>(
1357 <span class="pre">String group</span>)
1358  : void</div><div class="description"><div class="short"><p>Gets the pressed button in the passed group or null</p>
1359 </div><div class="long"><p>Gets the pressed button in the passed group or null</p>
1360 <h3 class="pa">Parameters</h3><ul><li><span class="pre">group</span> : String<div class="sub-desc">
1361 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Button</p>
1362 </li></ul></div></div></div><div id="method-getSize" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1363 </div><div class="long"><p>Gets the current size of the component's underlying element.</p>
1364 <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>
1365 </li></ul></div></div></div><div id="method-getState" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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,
1366 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,
1367 it should be overridden in subclasses to implement methods for getting the state.</p>
1368 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The current state</p>
1369 </li></ul></div></div></div><div id="method-getStateId" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1370 </div><div class="long"><p>Gets the state id for this object.</p>
1371 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The state id, null if not found.</p>
1372 </li></ul></div></div></div><div id="method-getTemplateArgs" class="member inherited"><a href="Ext.tab.Tab.html#method-getTemplateArgs" rel="method-getTemplateArgs" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-getTemplateArgs" class="viewSource">view source</a></div><a name="getTemplateArgs"></a><a name="method-getTemplateArgs"></a><a href="Ext.tab.Tab.html#" rel="method-getTemplateArgs" class="cls expand">getTemplateArgs</a> : Array</div><div class="description"><div class="short">This method returns an object which provides substitution parameters for the XTemplate used
1373 to create this Button's D...</div><div class="long"><p>This method returns an object which provides substitution parameters for the <a href="Ext.tab.Tab.html#renderTpl" rel="Ext.tab.Tab#renderTpl" class="docClass">XTemplate</a> used
1374 to create this Button's DOM structure.</p>
1375
1376
1377 <p>Instances or subclasses which use a different Template to create a different DOM structure may need to provide their
1378 own implementation of this method.</p>
1379
1380
1381 <p>The default implementation which provides data for the default <a href="Ext.tab.Tab.html#template" rel="Ext.tab.Tab#template" class="docClass">template</a> returns an Object containing the
1382 following properties:</p>
1383
1384
1385 <div class="mdetail-params"><ul>
1386 <li><code>type</code> : The &lt;button&gt;'s <a href="Ext.tab.Tab.html#type" rel="Ext.tab.Tab#type" class="docClass">type</a></li>
1387 <li><code>splitCls</code> : A CSS class to determine the presence and position of an arrow icon. (<code>'x-btn-arrow'</code> or <code>'x-btn-arrow-bottom'</code> or <code>''</code>)</li>
1388 <li><code>cls</code> : A CSS class name applied to the Button's main &lt;tbody&gt; element which determines the button's scale and icon alignment.</li>
1389 <li><code>text</code> : The <a href="Ext.tab.Tab.html#text" rel="Ext.tab.Tab#text" class="docClass">text</a> to display ion the Button.</li>
1390 <li><code>tabIndex</code> : The tab index within the input flow.</li>
1391 </ul></div>
1392
1393 <h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>Substitution data for a Template.</p>
1394 </li></ul></div></div></div><div id="method-getText" class="member inherited"><a href="Ext.tab.Tab.html#method-getText" rel="method-getText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-getText" class="viewSource">view source</a></div><a name="getText"></a><a name="method-getText"></a><a href="Ext.tab.Tab.html#" rel="method-getText" class="cls expand">getText</a> : String</div><div class="description"><div class="short"><p>Gets the text for this Button</p>
1395 </div><div class="long"><p>Gets the text for this Button</p>
1396 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The button text</p>
1397 </li></ul></div></div></div><div id="method-getWidth" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1398 </div><div class="long"><p>Gets the current width of the component's underlying element.</p>
1399 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1400 </li></ul></div></div></div><div id="method-getXType" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
1401 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
1402 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header. Example usage:</p>
1403
1404 <pre><code>var t = new Ext.form.field.Text();
1405 alert(t.getXType());  // alerts 'textfield'
1406 </code></pre>
1407
1408 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype</p>
1409 </li></ul></div></div></div><div id="method-getXTypes" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
1410 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
1411 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
1412
1413
1414 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1415 to participate in determination of inherited xtypes.</b></p>
1416
1417
1418 <p>Example usage:</p>
1419
1420
1421 <pre><code>var t = new Ext.form.field.Text();
1422 alert(t.getXTypes());  // alerts 'component/field/textfield'
1423 </code></pre>
1424
1425 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype hierarchy string</p>
1426 </li></ul></div></div></div><div id="method-hasListener" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-hasListener" class="cls expand">hasListener</a>(
1427 <span class="pre">String eventName</span>)
1428  : Boolean</div><div class="description"><div class="short"><p>Checks to see if this object has any listeners for a specified event</p>
1429 </div><div class="long"><p>Checks to see if this object has any listeners for a specified event</p>
1430 <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>
1431 </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>
1432 </li></ul></div></div></div><div id="method-hasUICls" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-hasUICls" class="cls expand">hasUICls</a>(
1433 <span class="pre">String cls</span>)
1434  : void</div><div class="description"><div class="short"><p>Checks if there is currently a specified uiCls</p>
1435 </div><div class="long"><p>Checks if there is currently a specified uiCls</p>
1436 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The cls to check</p>
1437 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1438 </li></ul></div></div></div><div id="method-hasVisibleMenu" class="member inherited"><a href="Ext.tab.Tab.html#method-hasVisibleMenu" rel="method-hasVisibleMenu" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-hasVisibleMenu" class="viewSource">view source</a></div><a name="hasVisibleMenu"></a><a name="method-hasVisibleMenu"></a><a href="Ext.tab.Tab.html#" rel="method-hasVisibleMenu" class="cls expand">hasVisibleMenu</a> : Boolean</div><div class="description"><div class="short"><p>Returns true if the button has a menu and it is visible</p>
1439 </div><div class="long"><p>Returns true if the button has a menu and it is visible</p>
1440 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
1441 </li></ul></div></div></div><div id="method-hide" class="member inherited"><a href="Ext.tab.Tab.html#method-hide" rel="method-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="method-hide"></a><a href="Ext.tab.Tab.html#" rel="method-hide" class="cls expand">hide</a>(
1442 <span class="pre">String/Element/Component animateTarget, [Function callback], [Object scope]</span>)
1443  : Ext.Component</div><div class="description"><div class="short"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.tab.Tab.html#hideMode" rel="Ext.tab.Tab#hideMode" class="docClass">hideMode</a>.</p>
1444 </div><div class="long"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.tab.Tab.html#hideMode" rel="Ext.tab.Tab#hideMode" class="docClass">hideMode</a>.</p>
1445 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animateTarget</span> : String/Element/Component<div class="sub-desc"><p>Optional, and <b>only valid for <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> Components such as
1446 <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s or <a href="Ext.tip.ToolTip.html" rel="Ext.tip.ToolTip" class="docClass">ToolTip</a>s, or regular Components which have been configured
1447 with <code>floating: true</code>.</b>.
1448 The target to which the Component should animate while hiding (defaults to null with no animation)</p>
1449 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) A callback function to call after the Component is hidden.</p>
1450 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Component.</p>
1451 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1452 </li></ul></div></div></div><div id="method-hideMenu" class="member inherited"><a href="Ext.tab.Tab.html#method-hideMenu" rel="method-hideMenu" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-hideMenu" class="viewSource">view source</a></div><a name="hideMenu"></a><a name="method-hideMenu"></a><a href="Ext.tab.Tab.html#" rel="method-hideMenu" class="cls expand">hideMenu</a> : void</div><div class="description"><div class="short"><p>Hide this button's menu (if it has one)</p>
1453 </div><div class="long"><p>Hide this button's menu (if it has one)</p>
1454 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1455 </li></ul></div></div></div><div id="method-is" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-is" class="cls expand">is</a>(
1456 <span class="pre">String selector</span>)
1457  : Boolean</div><div class="description"><div class="short"><p>Tests whether this Component matches the selector string.</p>
1458 </div><div class="long"><p>Tests whether this Component matches the selector string.</p>
1459 <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>
1460 </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>
1461 </li></ul></div></div></div><div id="method-isDescendantOf" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-isDescendantOf" class="cls expand">isDescendantOf</a>(
1462 <span class="pre">Ext.Container container</span>)
1463  : Boolean</div><div class="description"><div class="short"><p>Determines whether this component is the descendant of a particular container.</p>
1464 </div><div class="long"><p>Determines whether this component is the descendant of a particular container.</p>
1465 <h3 class="pa">Parameters</h3><ul><li><span class="pre">container</span> : Ext.Container<div class="sub-desc">
1466 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>isDescendant</p>
1467 </li></ul></div></div></div><div id="method-isDisabled" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1468 </div><div class="long"><p>Method to determine whether this Component is currently disabled.</p>
1469 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the disabled state of this Component.</p>
1470 </li></ul></div></div></div><div id="method-isDraggable" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1471 </div><div class="long"><p>Method to determine whether this Component is draggable.</p>
1472 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the draggable state of this component.</p>
1473 </li></ul></div></div></div><div id="method-isDroppable" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1474 </div><div class="long"><p>Method to determine whether this Component is droppable.</p>
1475 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the droppable state of this component.</p>
1476 </li></ul></div></div></div><div id="method-isFloating" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1477 </div><div class="long"><p>Method to determine whether this Component is floating.</p>
1478 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the floating state of this component.</p>
1479 </li></ul></div></div></div><div id="method-isHidden" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1480 </div><div class="long"><p>Method to determine whether this Component is currently set to hidden.</p>
1481 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the hidden state of this Component.</p>
1482 </li></ul></div></div></div><div id="method-isVisible" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-isVisible" class="cls expand">isVisible</a>(
1483 <span class="pre">Boolean deep</span>)
1484  : Boolean</div><div class="description"><div class="short"><p>Returns true if this component is visible.</p>
1485 </div><div class="long"><p>Returns true if this component is visible.</p>
1486 <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
1487 parent Containers to determine whether this Component is truly visible to the user.</p></p>
1488
1489 <p>Generally, to determine whether a Component is hidden, the no argument form is needed. For example
1490 when creating dynamically laid out UIs in a hidden Container before showing them.</p>
1491
1492 </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>
1493 </li></ul></div></div></div><div id="method-isXType" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-isXType" class="cls expand">isXType</a>(
1494 <span class="pre">String xtype, [Boolean shallow]</span>)
1495  : 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
1496 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
1497 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
1498
1499
1500 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1501 to participate in determination of inherited xtypes.</b></p>
1502
1503
1504 <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>
1505
1506
1507 <p>Example usage:</p>
1508
1509
1510 <pre><code>var t = new Ext.form.field.Text();
1511 var isText = t.isXType('textfield');        // true
1512 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>
1513 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
1514 </code></pre>
1515
1516 <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>
1517 </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
1518 the default), or true to check whether this Component is directly of the specified xtype.</p>
1519 </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>
1520 </li></ul></div></div></div><div id="method-nextNode" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-nextNode" class="cls expand">nextNode</a>(
1521 <span class="pre">String selector, Object includeSelf</span>)
1522  : void</div><div class="description"><div class="short">Returns the next node in the Component tree in tree traversal order.
1523
1524
1525 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>
1526
1527
1528 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
1529 walk the tree to attempt to find a match. Contrast with <a href="Ext.tab.Tab.html#pnextSibling" rel="Ext.tab.Tab#pnextSibling" class="docClass">pnextSibling</a>.</p>
1530
1531 <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>
1532 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
1533 </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>
1534 </li></ul></div></div></div><div id="method-nextSibling" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-nextSibling" class="cls expand">nextSibling</a>(
1535 <span class="pre">String selector</span>)
1536  : void</div><div class="description"><div class="short">Returns the next sibling of this Component.
1537
1538
1539 Optionally selects the next sibling which matches the passed ComponentQ...</div><div class="long"><p>Returns the next sibling of this Component.</p>
1540
1541
1542 <p>Optionally selects the next sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
1543
1544
1545 <p>May also be refered to as <code><b>next()</b></code></p>
1546
1547
1548 <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.tab.Tab.html#nextNode" rel="Ext.tab.Tab#nextNode" class="docClass">nextNode</a></p>
1549
1550 <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>
1551 </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>
1552 </li></ul></div></div></div><div id="method-observe" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-observe" class="cls expand">observe</a>(
1553 <span class="pre">Function c, Object listeners</span>)
1554  : void</div><div class="description"><div class="short">Sets observability on the passed class constructor.
1555
1556 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>
1557
1558 <p>This makes any event fired on any instance of the passed class also fire a single event through
1559 the <strong>class</strong> allowing for central handling of events on many instances at once.</p>
1560
1561 <p>Usage:</p>
1562
1563 <pre><code>Ext.util.Observable.observe(Ext.data.Connection);
1564 Ext.data.Connection.on('beforerequest', function(con, options) {
1565     console.log('Ajax request made to ' + options.url);
1566 });
1567 </code></pre>
1568 <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>
1569 </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.tab.Tab.html#addListener" rel="Ext.tab.Tab#addListener" class="docClass">addListener</a>.</p>
1570 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1571 </li></ul></div></div></div><div id="method-on" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-on" class="cls expand">on</a>(
1572 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
1573  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object (shorthand for <a href="Ext.tab.Tab.html#addListener" rel="Ext.tab.Tab#addListener" class="docClass">addListener</a>.)</p>
1574 </div><div class="long"><p>Appends an event handler to this object (shorthand for <a href="Ext.tab.Tab.html#addListener" rel="Ext.tab.Tab#addListener" class="docClass">addListener</a>.)</p>
1575 <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>
1576 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes</p>
1577 </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.
1578 <b>If omitted, defaults to the object which fired the event.</b></p>
1579 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.</p>
1580 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1581 </li></ul></div></div></div><div id="method-previousNode" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-previousNode" class="cls expand">previousNode</a>(
1582 <span class="pre">String selector, Object includeSelf</span>)
1583  : void</div><div class="description"><div class="short">Returns the previous node in the Component tree in tree traversal order.
1584
1585
1586 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>
1587
1588
1589 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
1590 walk the tree in reverse order to attempt to find a match. Contrast with <a href="Ext.tab.Tab.html#previousSibling" rel="Ext.tab.Tab#previousSibling" class="docClass">previousSibling</a>.</p>
1591
1592 <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>
1593 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
1594 </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>
1595 </li></ul></div></div></div><div id="method-previousSibling" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-previousSibling" class="cls expand">previousSibling</a>(
1596 <span class="pre">String selector</span>)
1597  : void</div><div class="description"><div class="short">Returns the previous sibling of this Component.
1598
1599
1600 Optionally selects the previous sibling which matches the passed Co...</div><div class="long"><p>Returns the previous sibling of this Component.</p>
1601
1602
1603 <p>Optionally selects the previous sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
1604
1605
1606 <p>May also be refered to as <code><b>prev()</b></code></p>
1607
1608
1609 <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.tab.Tab.html#previousNode" rel="Ext.tab.Tab#previousNode" class="docClass">previousNode</a></p>
1610
1611 <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>
1612 </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>
1613 </li></ul></div></div></div><div id="method-relayEvents" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-relayEvents" class="cls expand">relayEvents</a>(
1614 <span class="pre">Object origin, Array events, Object prefix</span>)
1615  : 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>
1616 </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>
1617 <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>
1618 </div></li><li><span class="pre">events</span> : Array<div class="sub-desc"><p>Array of event names to relay.</p>
1619 </div></li><li><span class="pre">prefix</span> : Object<div class="sub-desc">
1620 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1621 </li></ul></div></div></div><div id="method-releaseCapture" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-releaseCapture" class="cls expand">releaseCapture</a>(
1622 <span class="pre">Observable o</span>)
1623  : void</div><div class="description"><div class="short"><p>Removes <b>all</b> added captures from the Observable.</p>
1624 </div><div class="long"><p>Removes <b>all</b> added captures from the Observable.</p>
1625 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to release</p>
1626 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1627 </li></ul></div></div></div><div id="method-removeCls" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-removeCls" class="cls expand">removeCls</a>(
1628 <span class="pre">Object className</span>)
1629  : Ext.Component</div><div class="description"><div class="short"><p>Removes a CSS class from the top level element representing this component.</p>
1630 </div><div class="long"><p>Removes a CSS class from the top level element representing this component.</p>
1631 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : Object<div class="sub-desc">
1632 </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>
1633 </li></ul></div></div></div><div id="method-removeClsWithUI" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-removeClsWithUI" class="cls expand">removeClsWithUI</a>(
1634 <span class="pre">String/Array cls</span>)
1635  : void</div><div class="description"><div class="short">Removes a cls to the uiCls array, which will also call removeUIClsToElement and removes
1636 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.tab.Tab.html#removeUIClsToElement" rel="Ext.tab.Tab#removeUIClsToElement" class="docClass">removeUIClsToElement</a> and removes
1637 it from all elements of this component.</p>
1638 <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>
1639 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1640 </li></ul></div></div></div><div id="method-removeListener" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-removeListener" class="cls expand">removeListener</a>(
1641 <span class="pre">String eventName, Function handler, [Object scope]</span>)
1642  : void</div><div class="description"><div class="short"><p>Removes an event handler.</p>
1643 </div><div class="long"><p>Removes an event handler.</p>
1644 <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>
1645 </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.tab.Tab.html#addListener" rel="Ext.tab.Tab#addListener" class="docClass">addListener</a> call.</b></p>
1646 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
1647 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1648 </li></ul></div></div></div><div id="method-removeManagedListener" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-removeManagedListener" class="cls expand">removeManagedListener</a>(
1649 <span class="pre">Observable|Element item, Object|String ename, Function fn, Object scope</span>)
1650  : void</div><div class="description"><div class="short"><p>Removes listeners that were added by the <a href="Ext.tab.Tab.html#mon" rel="Ext.tab.Tab#mon" class="docClass">mon</a> method.</p>
1651 </div><div class="long"><p>Removes listeners that were added by the <a href="Ext.tab.Tab.html#mon" rel="Ext.tab.Tab#mon" class="docClass">mon</a> method.</p>
1652 <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>
1653 </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>
1654 </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
1655 is the handler function.</p>
1656 </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
1657 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
1658 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1659 </li></ul></div></div></div><div id="method-resumeEvents" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-resumeEvents" class="cls expand">resumeEvents</a> : void</div><div class="description"><div class="short">Resume firing events. (see suspendEvents)
1660 If events were suspended using the queueSuspended parameter, then all
1661 event...</div><div class="long"><p>Resume firing events. (see <a href="Ext.tab.Tab.html#suspendEvents" rel="Ext.tab.Tab#suspendEvents" class="docClass">suspendEvents</a>)
1662 If events were suspended using the <code><b>queueSuspended</b></code> parameter, then all
1663 events fired during event suspension will be sent to any listeners now.</p>
1664 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1665 </li></ul></div></div></div><div id="method-sequenceFx" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
1666 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
1667 run in sequence.  This is the opposite of <a href="Ext.tab.Tab.html#syncFx" rel="Ext.tab.Tab#syncFx" class="docClass">syncFx</a>.</p>
1668 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1669 </li></ul></div></div></div><div id="method-setActive" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setActive" class="cls expand">setActive</a>(
1670 <span class="pre">Boolean active, Component newActive</span>)
1671  : void</div><div class="description"><div class="short">This method is called internally by Ext.ZIndexManager to signal that a floating
1672 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
1673 Component has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.</p>
1674
1675
1676 <p>If a <i>Window</i> is superceded by another Window, deactivating it hides its shadow.</p>
1677
1678
1679 <p>This method also fires the <a href="Ext.tab.Tab.html#activate" rel="Ext.tab.Tab#activate" class="docClass">activate</a> or <a href="Ext.tab.Tab.html#deactivate" rel="Ext.tab.Tab#deactivate" class="docClass">deactivate</a> event depending on which action occurred.</p>
1680
1681 <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>
1682 </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>
1683 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1684 </li></ul></div></div></div><div id="method-setAutoScroll" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setAutoScroll" class="cls expand">setAutoScroll</a>(
1685 <span class="pre">Boolean scroll</span>)
1686  : Ext.Component</div><div class="description"><div class="short"><p>Sets the overflow on the content element of the component.</p>
1687 </div><div class="long"><p>Sets the overflow on the content element of the component.</p>
1688 <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>
1689 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1690 </li></ul></div></div></div><div id="method-setCard" class="member ni"><a href="Ext.tab.Tab.html#method-setCard" rel="method-setCard" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-method-setCard" class="viewSource">view source</a></div><a name="setCard"></a><a name="method-setCard"></a><a href="Ext.tab.Tab.html#" rel="method-setCard" class="cls expand">setCard</a>(
1691 <span class="pre">Ext.Component card</span>)
1692  : void</div><div class="description"><div class="short">Sets this tab's attached card. Usually this is handled automatically by the Ext.tab.Panel that this Tab
1693 belongs to an...</div><div class="long"><p>Sets this tab's attached card. Usually this is handled automatically by the <a href="Ext.tab.Panel.html" rel="Ext.tab.Panel" class="docClass">Ext.tab.Panel</a> that this Tab
1694 belongs to and would not need to be done by the developer</p>
1695 <h3 class="pa">Parameters</h3><ul><li><span class="pre">card</span> : Ext.Component<div class="sub-desc"><p>The card to set</p>
1696 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1697 </li></ul></div></div></div><div id="method-setClosable" class="member ni"><a href="Ext.tab.Tab.html#method-setClosable" rel="method-setClosable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-method-setClosable" class="viewSource">view source</a></div><a name="setClosable"></a><a name="method-setClosable"></a><a href="Ext.tab.Tab.html#" rel="method-setClosable" class="cls expand">setClosable</a>(
1698 <span class="pre">Boolean closable</span>)
1699  : void</div><div class="description"><div class="short"><p>Sets the tab as either closable or not</p>
1700 </div><div class="long"><p>Sets the tab as either closable or not</p>
1701 <h3 class="pa">Parameters</h3><ul><li><span class="pre">closable</span> : Boolean<div class="sub-desc"><p>Pass false to make the tab not closable. Otherwise the tab will be made closable (eg a
1702 close button will appear on the tab)</p>
1703 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1704 </li></ul></div></div></div><div id="method-setDisabled" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setDisabled" class="cls expand">setDisabled</a>(
1705 <span class="pre">Boolean disabled</span>)
1706  : void</div><div class="description"><div class="short"><p>Enable or disable the component.</p>
1707 </div><div class="long"><p>Enable or disable the component.</p>
1708 <h3 class="pa">Parameters</h3><ul><li><span class="pre">disabled</span> : Boolean<div class="sub-desc">
1709 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1710 </li></ul></div></div></div><div id="method-setDocked" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setDocked" class="cls expand">setDocked</a>(
1711 <span class="pre">Object dock, Object layoutParent</span>)
1712  : Component</div><div class="description"><div class="short">Sets the dock position of this component in its parent panel. Note that
1713 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
1714 this only has effect if this item is part of the dockedItems collection
1715 of a parent that has a DockLayout (note that any Panel has a DockLayout
1716 by default)</p>
1717 <h3 class="pa">Parameters</h3><ul><li><span class="pre">dock</span> : Object<div class="sub-desc">
1718 </div></li><li><span class="pre">layoutParent</span> : Object<div class="sub-desc">
1719 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1720 </li></ul></div></div></div><div id="method-setHandler" class="member inherited"><a href="Ext.tab.Tab.html#method-setHandler" rel="method-setHandler" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-setHandler" class="viewSource">view source</a></div><a name="setHandler"></a><a name="method-setHandler"></a><a href="Ext.tab.Tab.html#" rel="method-setHandler" class="cls expand">setHandler</a>(
1721 <span class="pre">Function handler, [Object scope]</span>)
1722  : Ext.button.Button</div><div class="description"><div class="short"><p>Assigns this Button's click handler</p>
1723 </div><div class="long"><p>Assigns this Button's click handler</p>
1724 <h3 class="pa">Parameters</h3><ul><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The function to call when the button is clicked</p>
1725 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the handler function is executed.
1726 Defaults to this Button.</p>
1727 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.button.Button</span>&nbsp; &nbsp;<p>this</p>
1728 </li></ul></div></div></div><div id="method-setHeight" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setHeight" class="cls expand">setHeight</a>(
1729 <span class="pre">Number height</span>)
1730  : Ext.Component</div><div class="description"><div class="short"><p>Sets the height of the component.  This method fires the <a href="Ext.tab.Tab.html#resize" rel="Ext.tab.Tab#resize" class="docClass">resize</a> event.</p>
1731 </div><div class="long"><p>Sets the height of the component.  This method fires the <a href="Ext.tab.Tab.html#resize" rel="Ext.tab.Tab#resize" class="docClass">resize</a> event.</p>
1732 <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>
1733 <li>A Number specifying the new height in the <a href="Ext.tab.Tab.html#getEl" rel="Ext.tab.Tab#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>
1734 <li>A String used to set the CSS height style.</li>
1735 <li><i>undefined</i> to leave the height unchanged.</li>
1736 </ul></div></p>
1737 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1738 </li></ul></div></div></div><div id="method-setIcon" class="member inherited"><a href="Ext.tab.Tab.html#method-setIcon" rel="method-setIcon" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-setIcon" class="viewSource">view source</a></div><a name="setIcon"></a><a name="method-setIcon"></a><a href="Ext.tab.Tab.html#" rel="method-setIcon" class="cls expand">setIcon</a>(
1739 <span class="pre">String icon</span>)
1740  : Ext.button.Button</div><div class="description"><div class="short">Sets the background image (inline style) of the button.  This method also changes
1741 the value of the icon config intern...</div><div class="long"><p>Sets the background image (inline style) of the button.  This method also changes
1742 the value of the <a href="Ext.tab.Tab.html#icon" rel="Ext.tab.Tab#icon" class="docClass">icon</a> config internally.</p>
1743 <h3 class="pa">Parameters</h3><ul><li><span class="pre">icon</span> : String<div class="sub-desc"><p>The path to an image to display in the button</p>
1744 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.button.Button</span>&nbsp; &nbsp;<p>this</p>
1745 </li></ul></div></div></div><div id="method-setIconCls" class="member inherited"><a href="Ext.tab.Tab.html#method-setIconCls" rel="method-setIconCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-setIconCls" class="viewSource">view source</a></div><a name="setIconCls"></a><a name="method-setIconCls"></a><a href="Ext.tab.Tab.html#" rel="method-setIconCls" class="cls expand">setIconCls</a>(
1746 <span class="pre">String cls</span>)
1747  : Ext.button.Button</div><div class="description"><div class="short">Sets the CSS class that provides a background image to use as the button's icon.  This method also changes
1748 the value ...</div><div class="long"><p>Sets the CSS class that provides a background image to use as the button's icon.  This method also changes
1749 the value of the <a href="Ext.tab.Tab.html#iconCls" rel="Ext.tab.Tab#iconCls" class="docClass">iconCls</a> config internally.</p>
1750 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The CSS class providing the icon image</p>
1751 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.button.Button</span>&nbsp; &nbsp;<p>this</p>
1752 </li></ul></div></div></div><div id="method-setLoading" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setLoading" class="cls expand">setLoading</a>(
1753 <span class="pre">Boolean/Object/String load, Boolean targetEl</span>)
1754  : 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>
1755 </div><div class="long"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
1756 <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
1757 that will be passed to the LoadMask constructor, or a message String to show. False to
1758 hide the current LoadMask.</p>
1759 </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.
1760 For example, setting this to true on a Panel will cause only the body to be masked. (defaults to false)</p>
1761 </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>
1762 </li></ul></div></div></div><div id="method-setPagePosition" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setPagePosition" class="cls expand">setPagePosition</a>(
1763 <span class="pre">Number x, Number y, Mixed animate</span>)
1764  : 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.
1765 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.tab.Tab.html#setPosition" rel="Ext.tab.Tab#setPosition" class="docClass">setPosition</a>.
1766 This method fires the <a href="Ext.tab.Tab.html#move" rel="Ext.tab.Tab#move" class="docClass">move</a> event.</p>
1767 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
1768 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
1769 </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
1770 is a number, it is used as the animation duration in milliseconds.</p>
1771 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1772 </li></ul></div></div></div><div id="method-setParams" class="member inherited"><a href="Ext.tab.Tab.html#method-setParams" rel="method-setParams" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-setParams" class="viewSource">view source</a></div><a name="setParams"></a><a name="method-setParams"></a><a href="Ext.tab.Tab.html#" rel="method-setParams" class="cls expand">setParams</a>(
1773 <span class="pre">Object Parameters</span>)
1774  : void</div><div class="description"><div class="short">Only valid if the Button was originally configured with a url
1775
1776
1777 Sets the href of the link dynamically according to th...</div><div class="long"><p><b>Only valid if the Button was originally configured with a <a href="Ext.tab.Tab.html#url" rel="Ext.tab.Tab#url" class="docClass">url</a></b></p>
1778
1779
1780 <p>Sets the href of the link dynamically according to the params passed, and any <a href="Ext.tab.Tab.html#baseParams" rel="Ext.tab.Tab#baseParams" class="docClass">baseParams</a> configured.</p>
1781
1782 <h3 class="pa">Parameters</h3><ul><li><span class="pre">Parameters</span> : Object<div class="sub-desc"><p>to use in the href URL.</p>
1783 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1784 </li></ul></div></div></div><div id="method-setPosition" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setPosition" class="cls expand">setPosition</a>(
1785 <span class="pre">Number left, Number top, Mixed animate</span>)
1786  : 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.
1787 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.tab.Tab.html#setPagePosition" rel="Ext.tab.Tab#setPagePosition" class="docClass">setPagePosition</a>.
1788 This method fires the <a href="Ext.tab.Tab.html#move" rel="Ext.tab.Tab#move" class="docClass">move</a> event.</p>
1789 <h3 class="pa">Parameters</h3><ul><li><span class="pre">left</span> : Number<div class="sub-desc"><p>The new left</p>
1790 </div></li><li><span class="pre">top</span> : Number<div class="sub-desc"><p>The new top</p>
1791 </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>
1792 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1793 </li></ul></div></div></div><div id="method-setScale" class="member inherited"><a href="Ext.tab.Tab.html#method-setScale" rel="method-setScale" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-setScale" class="viewSource">view source</a></div><a name="setScale"></a><a name="method-setScale"></a><a href="Ext.tab.Tab.html#" rel="method-setScale" class="cls expand">setScale</a>(
1794 <span class="pre">String scale</span>)
1795  : void</div><div class="description"><div class="short"><p>Method to change the scale of the button. See <a href="Ext.tab.Tab.html#scale" rel="Ext.tab.Tab#scale" class="docClass">scale</a> for allowed configurations.</p>
1796 </div><div class="long"><p>Method to change the scale of the button. See <a href="Ext.tab.Tab.html#scale" rel="Ext.tab.Tab#scale" class="docClass">scale</a> for allowed configurations.</p>
1797 <h3 class="pa">Parameters</h3><ul><li><span class="pre">scale</span> : String<div class="sub-desc"><p>The scale to change to.</p>
1798 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1799 </li></ul></div></div></div><div id="method-setSize" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setSize" class="cls expand">setSize</a>(
1800 <span class="pre">Mixed width, Mixed height</span>)
1801  : 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
1802 either width ...</div><div class="long"><p>Sets the width and height of this Component. This method fires the <a href="Ext.tab.Tab.html#resize" rel="Ext.tab.Tab#resize" class="docClass">resize</a> event. This method can accept
1803 either width and height as separate arguments, or you can pass a size object like <code>{width:10, height:20}</code>.</p>
1804 <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>
1805 <li>A Number specifying the new width in the <a href="Ext.tab.Tab.html#getEl" rel="Ext.tab.Tab#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>
1806 <li>A String used to set the CSS width style.</li>
1807 <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
1808 <li><code>undefined</code> to leave the width unchanged.</li>
1809 </ul></div></p>
1810 </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).
1811 This may be one of:<div class="mdetail-params"><ul>
1812 <li>A Number specifying the new height in the <a href="Ext.tab.Tab.html#getEl" rel="Ext.tab.Tab#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>
1813 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
1814 <li><code>undefined</code> to leave the height unchanged.</li>
1815 </ul></div></p>
1816 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1817 </li></ul></div></div></div><div id="method-setText" class="member inherited"><a href="Ext.tab.Tab.html#method-setText" rel="method-setText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-setText" class="viewSource">view source</a></div><a name="setText"></a><a name="method-setText"></a><a href="Ext.tab.Tab.html#" rel="method-setText" class="cls expand">setText</a>(
1818 <span class="pre">String text</span>)
1819  : Ext.button.Button</div><div class="description"><div class="short"><p>Sets this Button's text</p>
1820 </div><div class="long"><p>Sets this Button's text</p>
1821 <h3 class="pa">Parameters</h3><ul><li><span class="pre">text</span> : String<div class="sub-desc"><p>The button text</p>
1822 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.button.Button</span>&nbsp; &nbsp;<p>this</p>
1823 </li></ul></div></div></div><div id="method-setTooltip" class="member inherited"><a href="Ext.tab.Tab.html#method-setTooltip" rel="method-setTooltip" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-setTooltip" class="viewSource">view source</a></div><a name="setTooltip"></a><a name="method-setTooltip"></a><a href="Ext.tab.Tab.html#" rel="method-setTooltip" class="cls expand">setTooltip</a>(
1824 <span class="pre">String/Object tooltip, Object initial</span>)
1825  : Ext.button.Button</div><div class="description"><div class="short"><p>Sets the tooltip for this Button.</p>
1826 </div><div class="long"><p>Sets the tooltip for this Button.</p>
1827 <h3 class="pa">Parameters</h3><ul><li><span class="pre">tooltip</span> : String/Object<div class="sub-desc"><p>. This may be:<div class="mdesc-details"><ul>
1828 <li><b>String</b> : A string to be used as innerHTML (html tags are accepted) to show in a tooltip</li>
1829 <li><b>Object</b> : A configuration object for <a href="Ext.tip.QuickTipManager.html#register" rel="Ext.tip.QuickTipManager#register" class="docClass">Ext.tip.QuickTipManager.register</a>.</li>
1830 </ul></div></p>
1831 </div></li><li><span class="pre">initial</span> : Object<div class="sub-desc">
1832 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.button.Button</span>&nbsp; &nbsp;<p>this</p>
1833 </li></ul></div></div></div><div id="method-setUI" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setUI" class="cls expand">setUI</a>(
1834 <span class="pre">String ui</span>)
1835  : 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
1836 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
1837 loop through any uiCls set on the component and rename them so they include the new UI</p>
1838 <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>
1839 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1840 </li></ul></div></div></div><div id="method-setVisible" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setVisible" class="cls expand">setVisible</a>(
1841 <span class="pre">Boolean visible</span>)
1842  : Ext.Component</div><div class="description"><div class="short"><p>Convenience function to hide or show this component by boolean.</p>
1843 </div><div class="long"><p>Convenience function to hide or show this component by boolean.</p>
1844 <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>
1845 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1846 </li></ul></div></div></div><div id="method-setWidth" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-setWidth" class="cls expand">setWidth</a>(
1847 <span class="pre">Number width</span>)
1848  : Ext.Component</div><div class="description"><div class="short"><p>Sets the width of the component.  This method fires the <a href="Ext.tab.Tab.html#resize" rel="Ext.tab.Tab#resize" class="docClass">resize</a> event.</p>
1849 </div><div class="long"><p>Sets the width of the component.  This method fires the <a href="Ext.tab.Tab.html#resize" rel="Ext.tab.Tab#resize" class="docClass">resize</a> event.</p>
1850 <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>
1851 <li>A Number specifying the new width in the <a href="Ext.tab.Tab.html#getEl" rel="Ext.tab.Tab#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>
1852 <li>A String used to set the CSS width style.</li>
1853 </ul></div></p>
1854 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1855 </li></ul></div></div></div><div id="method-show" class="member inherited"><a href="Ext.tab.Tab.html#method-show" rel="method-show" 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-show" class="viewSource">view source</a></div><a name="show"></a><a name="method-show"></a><a href="Ext.tab.Tab.html#" rel="method-show" class="cls expand">show</a>(
1856 <span class="pre">String/Element animateTarget, [Function callback], [Object scope]</span>)
1857  : Component</div><div class="description"><div class="short">Shows this Component, rendering it first if autoRender or {&quot;floating are true.
1858
1859
1860 After being shown, a floating C...</div><div class="long"><p>Shows this Component, rendering it first if <a href="Ext.tab.Tab.html#autoRender" rel="Ext.tab.Tab#autoRender" class="docClass">autoRender</a> or {<a href="Ext.tab.Tab.html"floating" rel=""floating" class="docClass">&quot;floating</a> are <code>true</code>.</p>
1861
1862
1863 <p>After being shown, a <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> Component (such as a <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Ext.window.Window</a>), is activated it and brought to the front of
1864 its <a href="Ext.tab.Tab.html#ZIndexManager" rel="Ext.tab.Tab#ZIndexManager" class="docClass">z-index stack</a>.</p>
1865
1866 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animateTarget</span> : String/Element<div class="sub-desc"><p>Optional, and <b>only valid for <a href="Ext.tab.Tab.html#floating" rel="Ext.tab.Tab#floating" class="docClass">floating</a> Components such as
1867 <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s or <a href="Ext.tip.ToolTip.html" rel="Ext.tip.ToolTip" class="docClass">ToolTip</a>s, or regular Components which have been configured
1868 with <code>floating: true</code>.</b> The target from which the Component should
1869 animate from while opening (defaults to null with no animation)</p>
1870 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) A callback function to call after the Component is displayed. Only necessary if animation was specified.</p>
1871 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Component.</p>
1872 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1873 </li></ul></div></div></div><div id="method-showMenu" class="member inherited"><a href="Ext.tab.Tab.html#method-showMenu" rel="method-showMenu" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-showMenu" class="viewSource">view source</a></div><a name="showMenu"></a><a name="method-showMenu"></a><a href="Ext.tab.Tab.html#" rel="method-showMenu" class="cls expand">showMenu</a> : void</div><div class="description"><div class="short"><p>Show this button's menu (if it has one)</p>
1874 </div><div class="long"><p>Show this button's menu (if it has one)</p>
1875 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1876 </li></ul></div></div></div><div id="method-stopAnimation" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
1877 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.tab.Tab.html#stopAnimation" rel="Ext.tab.Tab#stopAnimation" class="docClass">stopAnimation</a>
1878 Stops any running effects and clears this object's internal effects queue if it contains
1879 any additional effects that haven't started yet.</p>
1880 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1881 </li></ul></div></div></div><div id="method-suspendEvents" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-suspendEvents" class="cls expand">suspendEvents</a>(
1882 <span class="pre">Boolean queueSuspended</span>)
1883  : void</div><div class="description"><div class="short"><p>Suspend the firing of all events. (see <a href="Ext.tab.Tab.html#resumeEvents" rel="Ext.tab.Tab#resumeEvents" class="docClass">resumeEvents</a>)</p>
1884 </div><div class="long"><p>Suspend the firing of all events. (see <a href="Ext.tab.Tab.html#resumeEvents" rel="Ext.tab.Tab#resumeEvents" class="docClass">resumeEvents</a>)</p>
1885 <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
1886 after the <a href="Ext.tab.Tab.html#resumeEvents" rel="Ext.tab.Tab#resumeEvents" class="docClass">resumeEvents</a> call instead of discarding all suspended events;</p>
1887 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1888 </li></ul></div></div></div><div id="method-syncFx" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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
1889 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
1890 run concurrently.  This is the opposite of <a href="Ext.tab.Tab.html#sequenceFx" rel="Ext.tab.Tab#sequenceFx" class="docClass">sequenceFx</a>.</p>
1891 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1892 </li></ul></div></div></div><div id="method-toBack" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.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>
1893 </div><div class="long"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
1894 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1895 </li></ul></div></div></div><div id="method-toFront" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-toFront" class="cls expand">toFront</a>(
1896 <span class="pre">[Boolean preventFocus]</span>)
1897  : 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>
1898
1899
1900 <p>If this Component is modal, inserts the modal mask just below this Component in the z-index stack.</p>
1901
1902 <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>
1903 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1904 </li></ul></div></div></div><div id="method-toggle" class="member inherited"><a href="Ext.tab.Tab.html#method-toggle" rel="method-toggle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-method-toggle" class="viewSource">view source</a></div><a name="toggle"></a><a name="method-toggle"></a><a href="Ext.tab.Tab.html#" rel="method-toggle" class="cls expand">toggle</a>(
1905 <span class="pre">[Boolean state], [Boolean supressEvent]</span>)
1906  : Ext.button.Button</div><div class="description"><div class="short"><p>If a state it passed, it becomes the pressed state otherwise the current state is toggled.</p>
1907 </div><div class="long"><p>If a state it passed, it becomes the pressed state otherwise the current state is toggled.</p>
1908 <h3 class="pa">Parameters</h3><ul><li><span class="pre">state</span> : Boolean<div class="sub-desc"><p>(optional) Force a particular state</p>
1909 </div></li><li><span class="pre">supressEvent</span> : Boolean<div class="sub-desc"><p>(optional) True to stop events being fired when calling this method.</p>
1910 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.button.Button</span>&nbsp; &nbsp;<p>this</p>
1911 </li></ul></div></div></div><div id="method-un" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-un" class="cls expand">un</a>(
1912 <span class="pre">String eventName, Function handler, [Object scope]</span>)
1913  : void</div><div class="description"><div class="short"><p>Removes an event handler (shorthand for <a href="Ext.tab.Tab.html#removeListener" rel="Ext.tab.Tab#removeListener" class="docClass">removeListener</a>.)</p>
1914 </div><div class="long"><p>Removes an event handler (shorthand for <a href="Ext.tab.Tab.html#removeListener" rel="Ext.tab.Tab#removeListener" class="docClass">removeListener</a>.)</p>
1915 <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>
1916 </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.tab.Tab.html#addListener" rel="Ext.tab.Tab#addListener" class="docClass">addListener</a> call.</b></p>
1917 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
1918 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1919 </li></ul></div></div></div><div id="method-up" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-up" class="cls expand">up</a>(
1920 <span class="pre">String selector</span>)
1921  : Container</div><div class="description"><div class="short">Walks up the ownerCt axis looking for an ancestor Container which matches
1922 the passed simple selector.
1923
1924
1925 Example:
1926 var ...</div><div class="long"><p>Walks up the <code>ownerCt</code> axis looking for an ancestor Container which matches
1927 the passed simple selector.</p>
1928
1929
1930 <p>Example:
1931 <pre><code>var owningTabPanel = grid.up('tabpanel');
1932 </code></pre>
1933
1934 <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>
1935 </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>
1936 </li></ul></div></div></div><div id="method-update" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-update" class="cls expand">update</a>(
1937 <span class="pre">Mixed htmlOrData, [Boolean loadScripts], [Function callback]</span>)
1938  : void</div><div class="description"><div class="short"><p>Update the content area of a component.</p>
1939 </div><div class="long"><p>Update the content area of a component.</p>
1940 <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
1941 then it will use this argument as data to populate the template.
1942 If this component was not configured with a template, the components
1943 content area will be updated via <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> update</p>
1944 </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>
1945 </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>
1946 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1947 </li></ul></div></div></div><div id="method-updateBox" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="method-updateBox" class="cls expand">updateBox</a>(
1948 <span class="pre">Object box</span>)
1949  : Ext.Component</div><div class="description"><div class="short"><p>Sets the current box measurements of the component's underlying element.</p>
1950 </div><div class="long"><p>Sets the current box measurements of the component's underlying element.</p>
1951 <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>
1952 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1953 </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 ni"><a href="Ext.tab.Tab.html#event-activate" rel="event-activate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-event-activate" class="viewSource">view source</a></div><a name="activate"></a><a name="event-activate"></a><a href="Ext.tab.Tab.html#" rel="event-activate" class="cls expand">activate</a>(
1954 <span class="pre">Ext.tab.Tab this</span>)
1955 </div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
1956 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.tab.Tab<div class="sub-desc">
1957 </div></li></ul></div></div></div><div id="event-added" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-added" class="cls expand">added</a>(
1958 <span class="pre">Ext.Component this, Ext.container.Container container, Number pos</span>)
1959 </div><div class="description"><div class="short"><p>Fires after a Component had been added to a Container.</p>
1960 </div><div class="long"><p>Fires after a Component had been added to a Container.</p>
1961 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1962 </div></li><li><span class="pre">container</span> : Ext.container.Container<div class="sub-desc"><p>Parent Container</p>
1963 </div></li><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>position of Component</p>
1964 </div></li></ul></div></div></div><div id="event-afterrender" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-afterrender" class="cls expand">afterrender</a>(
1965 <span class="pre">Ext.Component this</span>)
1966 </div><div class="description"><div class="short">Fires after the component rendering is finished.
1967
1968
1969 The afterrender event is fired after this Component has been rende...</div><div class="long"><p>Fires after the component rendering is finished.</p>
1970
1971
1972 <p>The afterrender event is fired after this Component has been <a href="Ext.tab.Tab.html#rendered" rel="Ext.tab.Tab#rendered" class="docClass">rendered</a>, been postprocesed
1973 by any afterRender method defined for the Component.</p>
1974
1975 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1976 </div></li></ul></div></div></div><div id="event-beforeactivate" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-beforeactivate" class="cls expand">beforeactivate</a>(
1977 <span class="pre">Ext.Component this</span>)
1978 </div><div class="description"><div class="short">Fires before a Component has been visually activated.
1979 Returning false from an event listener can prevent the activate...</div><div class="long"><p>Fires before a Component has been visually activated.
1980 Returning false from an event listener can prevent the activate
1981 from occurring.</p>
1982 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1983 </div></li></ul></div></div></div><div id="event-beforeclose" class="member ni"><a href="Ext.tab.Tab.html#event-beforeclose" rel="event-beforeclose" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-event-beforeclose" class="viewSource">view source</a></div><a name="beforeclose"></a><a name="event-beforeclose"></a><a href="Ext.tab.Tab.html#" rel="event-beforeclose" class="cls expand">beforeclose</a>(
1984 <span class="pre">Ext.tab.Tab tab</span>)
1985 </div><div class="description"><div class="short"><p>Fires to indicate that the tab is to be closed, usually because the user has clicked the close button.</p>
1986 </div><div class="long"><p>Fires to indicate that the tab is to be closed, usually because the user has clicked the close button.</p>
1987 <h3 class="pa">Parameters</h3><ul><li><span class="pre">tab</span> : Ext.tab.Tab<div class="sub-desc"><p>The Tab object</p>
1988 </div></li></ul></div></div></div><div id="event-beforedeactivate" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-beforedeactivate" class="cls expand">beforedeactivate</a>(
1989 <span class="pre">Ext.Component this</span>)
1990 </div><div class="description"><div class="short">Fires before a Component has been visually deactivated.
1991 Returning false from an event listener can prevent the deacti...</div><div class="long"><p>Fires before a Component has been visually deactivated.
1992 Returning false from an event listener can prevent the deactivate
1993 from occurring.</p>
1994 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1995 </div></li></ul></div></div></div><div id="event-beforedestroy" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-beforedestroy" class="cls expand">beforedestroy</a>(
1996 <span class="pre">Ext.Component this</span>)
1997 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.tab.Tab.html#destroy" rel="Ext.tab.Tab#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.tab.Tab.html#destroy" rel="Ext.tab.Tab#destroy" class="docClass">destroy</a>.</p>
1998 </div><div class="long"><p>Fires before the component is <a href="Ext.tab.Tab.html#destroy" rel="Ext.tab.Tab#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.tab.Tab.html#destroy" rel="Ext.tab.Tab#destroy" class="docClass">destroy</a>.</p>
1999 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2000 </div></li></ul></div></div></div><div id="event-beforehide" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-beforehide" class="cls expand">beforehide</a>(
2001 <span class="pre">Ext.Component this</span>)
2002 </div><div class="description"><div class="short"><p>Fires before the component is hidden when calling the <a href="Ext.tab.Tab.html#hide" rel="Ext.tab.Tab#hide" class="docClass">hide</a> method.
2003 Return false from an event handler to stop the hide.</p>
2004 </div><div class="long"><p>Fires before the component is hidden when calling the <a href="Ext.tab.Tab.html#hide" rel="Ext.tab.Tab#hide" class="docClass">hide</a> method.
2005 Return false from an event handler to stop the hide.</p>
2006 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2007 </div></li></ul></div></div></div><div id="event-beforerender" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-beforerender" class="cls expand">beforerender</a>(
2008 <span class="pre">Ext.Component this</span>)
2009 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.tab.Tab.html#rendered" rel="Ext.tab.Tab#rendered" class="docClass">rendered</a>. Return false from an
2010 event handler to stop the <a href="Ext.tab.Tab.html#render" rel="Ext.tab.Tab#render" class="docClass">render</a>.</p>
2011 </div><div class="long"><p>Fires before the component is <a href="Ext.tab.Tab.html#rendered" rel="Ext.tab.Tab#rendered" class="docClass">rendered</a>. Return false from an
2012 event handler to stop the <a href="Ext.tab.Tab.html#render" rel="Ext.tab.Tab#render" class="docClass">render</a>.</p>
2013 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2014 </div></li></ul></div></div></div><div id="event-beforeshow" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-beforeshow" class="cls expand">beforeshow</a>(
2015 <span class="pre">Ext.Component this</span>)
2016 </div><div class="description"><div class="short"><p>Fires before the component is shown when calling the <a href="Ext.tab.Tab.html#show" rel="Ext.tab.Tab#show" class="docClass">show</a> method.
2017 Return false from an event handler to stop the show.</p>
2018 </div><div class="long"><p>Fires before the component is shown when calling the <a href="Ext.tab.Tab.html#show" rel="Ext.tab.Tab#show" class="docClass">show</a> method.
2019 Return false from an event handler to stop the show.</p>
2020 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2021 </div></li></ul></div></div></div><div id="event-beforestaterestore" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-beforestaterestore" class="cls expand">beforestaterestore</a>(
2022 <span class="pre">Ext.state.Stateful this, Object state</span>)
2023 </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>
2024 </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>
2025 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2026 </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
2027 event is not vetoed, then the state object is passed to <b><tt>applyState</tt></b>. By default,
2028 that simply copies property values into this object. The method maybe overriden to
2029 provide custom state restoration.</p>
2030 </div></li></ul></div></div></div><div id="event-beforestatesave" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-beforestatesave" class="cls expand">beforestatesave</a>(
2031 <span class="pre">Ext.state.Stateful this, Object state</span>)
2032 </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>
2033 </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>
2034 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2035 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2036 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2037 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>
2038 has a null implementation.</p>
2039 </div></li></ul></div></div></div><div id="event-click" class="member inherited"><a href="Ext.tab.Tab.html#event-click" rel="event-click" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-event-click" class="viewSource">view source</a></div><a name="click"></a><a name="event-click"></a><a href="Ext.tab.Tab.html#" rel="event-click" class="cls expand">click</a>(
2040 <span class="pre">Button this, EventObject e</span>)
2041 </div><div class="description"><div class="short"><p>Fires when this button is clicked</p>
2042 </div><div class="long"><p>Fires when this button is clicked</p>
2043 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Button<div class="sub-desc">
2044 </div></li><li><span class="pre">e</span> : EventObject<div class="sub-desc"><p>The click event</p>
2045 </div></li></ul></div></div></div><div id="event-deactivate" class="member ni"><a href="Ext.tab.Tab.html#event-deactivate" rel="event-deactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.tab.Tab.html" class="definedIn docClass">Ext.tab.Tab</a><br/><a href="../source/Tab2.html#Ext-tab.Tab-event-deactivate" class="viewSource">view source</a></div><a name="deactivate"></a><a name="event-deactivate"></a><a href="Ext.tab.Tab.html#" rel="event-deactivate" class="cls expand">deactivate</a>(
2046 <span class="pre">Ext.tab.Tab this</span>)
2047 </div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
2048 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.tab.Tab<div class="sub-desc">
2049 </div></li></ul></div></div></div><div id="event-destroy" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-destroy" class="cls expand">destroy</a>(
2050 <span class="pre">Ext.Component this</span>)
2051 </div><div class="description"><div class="short"><p>Fires after the component is <a href="Ext.tab.Tab.html#destroy" rel="Ext.tab.Tab#destroy" class="docClass">destroy</a>ed.</p>
2052 </div><div class="long"><p>Fires after the component is <a href="Ext.tab.Tab.html#destroy" rel="Ext.tab.Tab#destroy" class="docClass">destroy</a>ed.</p>
2053 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2054 </div></li></ul></div></div></div><div id="event-disable" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-disable" class="cls expand">disable</a>(
2055 <span class="pre">Ext.Component this</span>)
2056 </div><div class="description"><div class="short"><p>Fires after the component is disabled.</p>
2057 </div><div class="long"><p>Fires after the component is disabled.</p>
2058 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2059 </div></li></ul></div></div></div><div id="event-enable" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-enable" class="cls expand">enable</a>(
2060 <span class="pre">Ext.Component this</span>)
2061 </div><div class="description"><div class="short"><p>Fires after the component is enabled.</p>
2062 </div><div class="long"><p>Fires after the component is enabled.</p>
2063 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2064 </div></li></ul></div></div></div><div id="event-hide" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-hide" class="cls expand">hide</a>(
2065 <span class="pre">Ext.Component this</span>)
2066 </div><div class="description"><div class="short"><p>Fires after the component is hidden.
2067 Fires after the component is hidden when calling the <a href="Ext.tab.Tab.html#hide" rel="Ext.tab.Tab#hide" class="docClass">hide</a> method.</p>
2068 </div><div class="long"><p>Fires after the component is hidden.
2069 Fires after the component is hidden when calling the <a href="Ext.tab.Tab.html#hide" rel="Ext.tab.Tab#hide" class="docClass">hide</a> method.</p>
2070 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2071 </div></li></ul></div></div></div><div id="event-menuhide" class="member inherited"><a href="Ext.tab.Tab.html#event-menuhide" rel="event-menuhide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-event-menuhide" class="viewSource">view source</a></div><a name="menuhide"></a><a name="event-menuhide"></a><a href="Ext.tab.Tab.html#" rel="event-menuhide" class="cls expand">menuhide</a>(
2072 <span class="pre">Button this, Menu menu</span>)
2073 </div><div class="description"><div class="short"><p>If this button has a menu, this event fires when it is hidden</p>
2074 </div><div class="long"><p>If this button has a menu, this event fires when it is hidden</p>
2075 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Button<div class="sub-desc">
2076 </div></li><li><span class="pre">menu</span> : Menu<div class="sub-desc">
2077 </div></li></ul></div></div></div><div id="event-menushow" class="member inherited"><a href="Ext.tab.Tab.html#event-menushow" rel="event-menushow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-event-menushow" class="viewSource">view source</a></div><a name="menushow"></a><a name="event-menushow"></a><a href="Ext.tab.Tab.html#" rel="event-menushow" class="cls expand">menushow</a>(
2078 <span class="pre">Button this, Menu menu</span>)
2079 </div><div class="description"><div class="short"><p>If this button has a menu, this event fires when it is shown</p>
2080 </div><div class="long"><p>If this button has a menu, this event fires when it is shown</p>
2081 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Button<div class="sub-desc">
2082 </div></li><li><span class="pre">menu</span> : Menu<div class="sub-desc">
2083 </div></li></ul></div></div></div><div id="event-menutriggerout" class="member inherited"><a href="Ext.tab.Tab.html#event-menutriggerout" rel="event-menutriggerout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-event-menutriggerout" class="viewSource">view source</a></div><a name="menutriggerout"></a><a name="event-menutriggerout"></a><a href="Ext.tab.Tab.html#" rel="event-menutriggerout" class="cls expand">menutriggerout</a>(
2084 <span class="pre">Button this, Menu menu, EventObject e</span>)
2085 </div><div class="description"><div class="short"><p>If this button has a menu, this event fires when the mouse leaves the menu triggering element</p>
2086 </div><div class="long"><p>If this button has a menu, this event fires when the mouse leaves the menu triggering element</p>
2087 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Button<div class="sub-desc">
2088 </div></li><li><span class="pre">menu</span> : Menu<div class="sub-desc">
2089 </div></li><li><span class="pre">e</span> : EventObject<div class="sub-desc">
2090 </div></li></ul></div></div></div><div id="event-menutriggerover" class="member inherited"><a href="Ext.tab.Tab.html#event-menutriggerover" rel="event-menutriggerover" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-event-menutriggerover" class="viewSource">view source</a></div><a name="menutriggerover"></a><a name="event-menutriggerover"></a><a href="Ext.tab.Tab.html#" rel="event-menutriggerover" class="cls expand">menutriggerover</a>(
2091 <span class="pre">Button this, Menu menu, EventObject e</span>)
2092 </div><div class="description"><div class="short"><p>If this button has a menu, this event fires when the mouse enters the menu triggering element</p>
2093 </div><div class="long"><p>If this button has a menu, this event fires when the mouse enters the menu triggering element</p>
2094 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Button<div class="sub-desc">
2095 </div></li><li><span class="pre">menu</span> : Menu<div class="sub-desc">
2096 </div></li><li><span class="pre">e</span> : EventObject<div class="sub-desc">
2097 </div></li></ul></div></div></div><div id="event-mouseout" class="member inherited"><a href="Ext.tab.Tab.html#event-mouseout" rel="event-mouseout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-event-mouseout" class="viewSource">view source</a></div><a name="mouseout"></a><a name="event-mouseout"></a><a href="Ext.tab.Tab.html#" rel="event-mouseout" class="cls expand">mouseout</a>(
2098 <span class="pre">Button this, Event e</span>)
2099 </div><div class="description"><div class="short"><p>Fires when the mouse exits the button</p>
2100 </div><div class="long"><p>Fires when the mouse exits the button</p>
2101 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Button<div class="sub-desc">
2102 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event object</p>
2103 </div></li></ul></div></div></div><div id="event-mouseover" class="member inherited"><a href="Ext.tab.Tab.html#event-mouseover" rel="event-mouseover" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-event-mouseover" class="viewSource">view source</a></div><a name="mouseover"></a><a name="event-mouseover"></a><a href="Ext.tab.Tab.html#" rel="event-mouseover" class="cls expand">mouseover</a>(
2104 <span class="pre">Button this, Event e</span>)
2105 </div><div class="description"><div class="short"><p>Fires when the mouse hovers over the button</p>
2106 </div><div class="long"><p>Fires when the mouse hovers over the button</p>
2107 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Button<div class="sub-desc">
2108 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event object</p>
2109 </div></li></ul></div></div></div><div id="event-move" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-move" class="cls expand">move</a>(
2110 <span class="pre">Ext.Component this, Number x, Number y</span>)
2111 </div><div class="description"><div class="short"><p>Fires after the component is moved.</p>
2112 </div><div class="long"><p>Fires after the component is moved.</p>
2113 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2114 </div></li><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2115 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2116 </div></li></ul></div></div></div><div id="event-removed" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-removed" class="cls expand">removed</a>(
2117 <span class="pre">Ext.Component this, Ext.container.Container ownerCt</span>)
2118 </div><div class="description"><div class="short"><p>Fires when a component is removed from an Ext.container.Container</p>
2119 </div><div class="long"><p>Fires when a component is removed from an Ext.container.Container</p>
2120 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2121 </div></li><li><span class="pre">ownerCt</span> : Ext.container.Container<div class="sub-desc"><p>Container which holds the component</p>
2122 </div></li></ul></div></div></div><div id="event-render" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-render" class="cls expand">render</a>(
2123 <span class="pre">Ext.Component this</span>)
2124 </div><div class="description"><div class="short"><p>Fires after the component markup is <a href="Ext.tab.Tab.html#rendered" rel="Ext.tab.Tab#rendered" class="docClass">rendered</a>.</p>
2125 </div><div class="long"><p>Fires after the component markup is <a href="Ext.tab.Tab.html#rendered" rel="Ext.tab.Tab#rendered" class="docClass">rendered</a>.</p>
2126 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2127 </div></li></ul></div></div></div><div id="event-resize" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-resize" class="cls expand">resize</a>(
2128 <span class="pre">Ext.Component this, Number adjWidth, Number adjHeight</span>)
2129 </div><div class="description"><div class="short"><p>Fires after the component is resized.</p>
2130 </div><div class="long"><p>Fires after the component is resized.</p>
2131 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2132 </div></li><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
2133 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
2134 </div></li></ul></div></div></div><div id="event-show" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-show" class="cls expand">show</a>(
2135 <span class="pre">Ext.Component this</span>)
2136 </div><div class="description"><div class="short"><p>Fires after the component is shown when calling the <a href="Ext.tab.Tab.html#show" rel="Ext.tab.Tab#show" class="docClass">show</a> method.</p>
2137 </div><div class="long"><p>Fires after the component is shown when calling the <a href="Ext.tab.Tab.html#show" rel="Ext.tab.Tab#show" class="docClass">show</a> method.</p>
2138 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2139 </div></li></ul></div></div></div><div id="event-staterestore" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-staterestore" class="cls expand">staterestore</a>(
2140 <span class="pre">Ext.state.Stateful this, Object state</span>)
2141 </div><div class="description"><div class="short"><p>Fires after the state of the object is restored.</p>
2142 </div><div class="long"><p>Fires after the state of the object is restored.</p>
2143 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2144 </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
2145 to <b><tt>applyState</tt></b>. By default, that simply copies property values into this
2146 object. The method maybe overriden to provide custom state restoration.</p>
2147 </div></li></ul></div></div></div><div id="event-statesave" class="member inherited"><a href="Ext.tab.Tab.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.tab.Tab.html#" rel="event-statesave" class="cls expand">statesave</a>(
2148 <span class="pre">Ext.state.Stateful this, Object state</span>)
2149 </div><div class="description"><div class="short"><p>Fires after the state of the object is saved to the configured state provider.</p>
2150 </div><div class="long"><p>Fires after the state of the object is saved to the configured state provider.</p>
2151 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2152 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2153 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2154 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>
2155 has a null implementation.</p>
2156 </div></li></ul></div></div></div><div id="event-toggle" class="member inherited"><a href="Ext.tab.Tab.html#event-toggle" rel="event-toggle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.button.Button.html" class="definedIn docClass">Ext.button.Button</a><br/><a href="../source/Button.html#Ext-button.Button-event-toggle" class="viewSource">view source</a></div><a name="toggle"></a><a name="event-toggle"></a><a href="Ext.tab.Tab.html#" rel="event-toggle" class="cls expand">toggle</a>(
2157 <span class="pre">Button this, Boolean pressed</span>)
2158 </div><div class="description"><div class="short"><p>Fires when the 'pressed' state of this button changes (only if enableToggle = true)</p>
2159 </div><div class="long"><p>Fires when the 'pressed' state of this button changes (only if enableToggle = true)</p>
2160 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Button<div class="sub-desc">
2161 </div></li><li><span class="pre">pressed</span> : Boolean<div class="sub-desc">
2162 </div></li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>