commit extjs-2.2.1
[extjs.git] / docs / output / Ext.menu.TextItem.html
1         <div class="body-wrap">
2         <div class="top-tools">
3             <a class="inner-link" href="#Ext.menu.TextItem-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4             <a class="inner-link" href="#Ext.menu.TextItem-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5             <a class="inner-link" href="#Ext.menu.TextItem-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6                             <a class="inner-link" href="#Ext.menu.TextItem-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7                         <a class="bookmark" href="../docs/?class=Ext.menu.TextItem"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8         </div>
9                 <div class="inheritance res-block">
10 <pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
11   <img src="resources/elbow-end.gif"/><a ext:cls="Ext.Component" ext:member="" href="output/Ext.Component.html">Component</a>
12     <img src="resources/elbow-end.gif"/><a ext:cls="Ext.menu.BaseItem" ext:member="" href="output/Ext.menu.BaseItem.html">BaseItem</a>
13       <img src="resources/elbow-end.gif"/>TextItem</pre></div>
14                 <h1>Class Ext.menu.TextItem</h1>
15         <table cellspacing="0">
16             <tr><td class="label">Package:</td><td class="hd-info">Ext.menu</td></tr>
17             <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/TextItem.js" target="_blank">TextItem.js</a></td></tr>
18             <tr><td class="label">Class:</td><td class="hd-info">TextItem</td></tr>
19                                     <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.menu.BaseItem" ext:member="" href="output/Ext.menu.BaseItem.html">BaseItem</a></td></tr>
20                     </table>
21         <div class="description">
22             *
23 Adds a static text string to a menu, usually used as either a heading or group separator.        </div>
24         
25         <div class="hr"></div>
26                 <a id="Ext.menu.TextItem-configs"></a>
27         <h2>Config Options</h2>
28         <table cellspacing="0" class="member-table">
29             <tr>
30                 <th class="sig-header" colspan="2">Config Options</th>
31                 <th class="msource-header">Defined By</th>
32             </tr>
33                 <tr class="config-row inherited">\r
34         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
35         <td class="sig">\r
36         <a id="Ext.menu.TextItem-activeClass"></a>\r
37             <b>activeClass</b> : String            <div class="mdesc">\r
38                             The CSS class to use when the item becomes activated (defaults to "x-menu-item-active")                        </div>\r
39         </td>\r
40         <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#activeClass" href="output/Ext.menu.BaseItem.html#activeClass">BaseItem</a></td>\r
41     </tr>\r
42         <tr class="config-row inherited alt">\r
43         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
44         <td class="sig">\r
45         <a id="Ext.menu.TextItem-allowDomMove"></a>\r
46             <b>allowDomMove</b> : Boolean            <div class="mdesc">\r
47                             Whether the component can move the Dom node when rendering (defaults to true).                        </div>\r
48         </td>\r
49         <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>\r
50     </tr>\r
51         <tr class="config-row inherited expandable">\r
52         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
53         <td class="sig">\r
54         <a id="Ext.menu.TextItem-applyTo"></a>\r
55             <b>applyTo</b> : Mixed            <div class="mdesc">\r
56                         <div class="short">The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document ...</div>\r
57             <div class="long">\r
58                 The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. When applyTo is used, constituent parts of the component can also be specified by id or CSS class name within the main element, and the component being created may attempt to create its subcomponents from that markup if applicable. Using this config, a call to render() is not required. If applyTo is specified, any value passed for <a ext:cls="Ext.Component" ext:member="renderTo" href="output/Ext.Component.html#renderTo">renderTo</a> will be ignored and the target element's parent node will automatically be used as the component's container.            </div>\r
59                         </div>\r
60         </td>\r
61         <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>\r
62     </tr>\r
63         <tr class="config-row inherited alt expandable">\r
64         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
65         <td class="sig">\r
66         <a id="Ext.menu.TextItem-autoEl"></a>\r
67             <b>autoEl</b> : String/Object            <div class="mdesc">\r
68                         <div class="short">A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inlin...</div>\r
69             <div class="long">\r
70                 A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inline via JSON. It should not be used for higher level components which already create their own elements. Example usage: <pre><code>{xtype:<em>'box'</em>, autoEl: <em>'div'</em>, cls:<em>'my-class'</em>}
71 {xtype:<em>'box'</em>, autoEl: {tag:<em>'blockquote'</em>, html:<em>'autoEl is cool!'</em>}} // <b>with</b> DomHelper</code></pre>            </div>\r
72                         </div>\r
73         </td>\r
74         <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoEl" href="output/Ext.Component.html#autoEl">Component</a></td>\r
75     </tr>\r
76         <tr class="config-row inherited expandable">\r
77         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
78         <td class="sig">\r
79         <a id="Ext.menu.TextItem-autoShow"></a>\r
80             <b>autoShow</b> : Boolean            <div class="mdesc">\r
81                         <div class="short">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render...</div>\r
82             <div class="long">\r
83                 True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render (defaults to false).            </div>\r
84                         </div>\r
85         </td>\r
86         <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>\r
87     </tr>\r
88         <tr class="config-row inherited alt">\r
89         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
90         <td class="sig">\r
91         <a id="Ext.menu.TextItem-canActivate"></a>\r
92             <b>canActivate</b> : Boolean            <div class="mdesc">\r
93                             True if this item can be visually activated (defaults to false)                        </div>\r
94         </td>\r
95         <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#canActivate" href="output/Ext.menu.BaseItem.html#canActivate">BaseItem</a></td>\r
96     </tr>\r
97         <tr class="config-row inherited expandable">\r
98         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
99         <td class="sig">\r
100         <a id="Ext.menu.TextItem-clearCls"></a>\r
101             <b>clearCls</b> : String            <div class="mdesc">\r
102                         <div class="short">The CSS class used to provide field clearing (defaults to 'x-form-clear-left'). This config is only used when this Co...</div>\r
103             <div class="long">\r
104                 The CSS class used to provide field clearing (defaults to 'x-form-clear-left'). <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p>            </div>\r
105                         </div>\r
106         </td>\r
107         <td class="msource"><a ext:cls="Ext.Component" ext:member="#clearCls" href="output/Ext.Component.html#clearCls">Component</a></td>\r
108     </tr>\r
109         <tr class="config-row inherited alt expandable">\r
110         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
111         <td class="sig">\r
112         <a id="Ext.menu.TextItem-cls"></a>\r
113             <b>cls</b> : String            <div class="mdesc">\r
114                         <div class="short">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for a...</div>\r
115             <div class="long">\r
116                 An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules.            </div>\r
117                         </div>\r
118         </td>\r
119         <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>\r
120     </tr>\r
121         <tr class="config-row inherited expandable">\r
122         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
123         <td class="sig">\r
124         <a id="Ext.menu.TextItem-ctCls"></a>\r
125             <b>ctCls</b> : String            <div class="mdesc">\r
126                         <div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div>\r
127             <div class="long">\r
128                 An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules.            </div>\r
129                         </div>\r
130         </td>\r
131         <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>\r
132     </tr>\r
133         <tr class="config-row inherited alt">\r
134         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
135         <td class="sig">\r
136         <a id="Ext.menu.TextItem-disabled"></a>\r
137             <b>disabled</b> : Boolean            <div class="mdesc">\r
138                             Render this component disabled (default is false).                        </div>\r
139         </td>\r
140         <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>\r
141     </tr>\r
142         <tr class="config-row inherited">\r
143         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
144         <td class="sig">\r
145         <a id="Ext.menu.TextItem-disabledClass"></a>\r
146             <b>disabledClass</b> : String            <div class="mdesc">\r
147                             CSS class added to the component when it is disabled (defaults to "x-item-disabled").                        </div>\r
148         </td>\r
149         <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>\r
150     </tr>\r
151         <tr class="config-row inherited alt expandable">\r
152         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
153         <td class="sig">\r
154         <a id="Ext.menu.TextItem-fieldLabel"></a>\r
155             <b>fieldLabel</b> : String            <div class="mdesc">\r
156                         <div class="short">The label text to display next to this Component (defaults to '') This config is only used when this Component is ren...</div>\r
157             <div class="long">\r
158                 The label text to display next to this Component (defaults to '') <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
159     height: 100,
160     renderTo: Ext.getBody(),
161     items: [{
162         xtype: <em>'textfield'</em>,
163         fieldLabel: <em>'Name'</em>
164     }]
165 });</code></pre>            </div>\r
166                         </div>\r
167         </td>\r
168         <td class="msource"><a ext:cls="Ext.Component" ext:member="#fieldLabel" href="output/Ext.Component.html#fieldLabel">Component</a></td>\r
169     </tr>\r
170         <tr class="config-row inherited">\r
171         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
172         <td class="sig">\r
173         <a id="Ext.menu.TextItem-handler"></a>\r
174             <b>handler</b> : Function            <div class="mdesc">\r
175                             A function that will handle the click event of this menu item (defaults to undefined)                        </div>\r
176         </td>\r
177         <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#handler" href="output/Ext.menu.BaseItem.html#handler">BaseItem</a></td>\r
178     </tr>\r
179         <tr class="config-row inherited alt">\r
180         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
181         <td class="sig">\r
182         <a id="Ext.menu.TextItem-hidden"></a>\r
183             <b>hidden</b> : Boolean            <div class="mdesc">\r
184                             Render this component hidden (default is false).                        </div>\r
185         </td>\r
186         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>\r
187     </tr>\r
188         <tr class="config-row inherited">\r
189         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
190         <td class="sig">\r
191         <a id="Ext.menu.TextItem-hideDelay"></a>\r
192             <b>hideDelay</b> : Number            <div class="mdesc">\r
193                             Length of time in milliseconds to wait before hiding after a click (defaults to 100)                        </div>\r
194         </td>\r
195         <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#hideDelay" href="output/Ext.menu.BaseItem.html#hideDelay">BaseItem</a></td>\r
196     </tr>\r
197         <tr class="config-row inherited alt expandable">\r
198         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
199         <td class="sig">\r
200         <a id="Ext.menu.TextItem-hideLabel"></a>\r
201             <b>hideLabel</b> : Boolean            <div class="mdesc">\r
202                         <div class="short">True to completely hide the label element (defaults to false). By default, even if you do not specify a fieldLabel th...</div>\r
203             <div class="long">\r
204                 True to completely hide the label element (defaults to false). By default, even if you do not specify a <a ext:cls="fieldLabel" href="output/fieldLabel.html">fieldLabel</a> the space will still be reserved so that the field will line up with other fields that do have labels. Setting this to true will cause the field to not reserve that space. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
205     height: 100,
206     renderTo: Ext.getBody(),
207     items: [{
208         xtype: <em>'textfield'</em>
209         hideLabel: true
210     }]
211 });</code></pre>            </div>\r
212                         </div>\r
213         </td>\r
214         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideLabel" href="output/Ext.Component.html#hideLabel">Component</a></td>\r
215     </tr>\r
216         <tr class="config-row inherited expandable">\r
217         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
218         <td class="sig">\r
219         <a id="Ext.menu.TextItem-hideMode"></a>\r
220             <b>hideMode</b> : String            <div class="mdesc">\r
221                         <div class="short">How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset p...</div>\r
222             <div class="long">\r
223                 <p>How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display".</p> <p>For Containers which may be hidden and shown as part of a <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">card layout</a> Container such as a <a ext:cls="Ext.TabPanel" href="output/Ext.TabPanel.html">TabPanel</a>, it is recommended that hideMode is configured as "offsets". This ensures that hidden Components still have height and width so that layout managers can perform measurements when calculating layouts.</p>            </div>\r
224                         </div>\r
225         </td>\r
226         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>\r
227     </tr>\r
228         <tr class="config-row alt">\r
229         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
230         <td class="sig">\r
231         <a id="Ext.menu.TextItem-hideOnClick"></a>\r
232             <b>hideOnClick</b> : Boolean            <div class="mdesc">\r
233                             True to hide the containing menu after this item is clicked (defaults to false)                        </div>\r
234         </td>\r
235         <td class="msource">TextItem</td>\r
236     </tr>\r
237         <tr class="config-row inherited expandable">\r
238         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
239         <td class="sig">\r
240         <a id="Ext.menu.TextItem-hideParent"></a>\r
241             <b>hideParent</b> : Boolean            <div class="mdesc">\r
242                         <div class="short">True to hide and show the component's container when hide/show is called on the component, false to hide and show the...</div>\r
243             <div class="long">\r
244                 True to hide and show the component's container when hide/show is called on the component, false to hide and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide button on a window by setting hide:true on the button when adding it to its parent container.            </div>\r
245                         </div>\r
246         </td>\r
247         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>\r
248     </tr>\r
249         <tr class="config-row inherited alt expandable">\r
250         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
251         <td class="sig">\r
252         <a id="Ext.menu.TextItem-id"></a>\r
253             <b>id</b> : String            <div class="mdesc">\r
254                         <div class="short">The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to ...</div>\r
255             <div class="long">\r
256                 The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to access the component later and you do not have an object reference available (e.g., using <a ext:cls="Ext.ComponentMgr" ext:member="getCmp" href="output/Ext.ComponentMgr.html#getCmp">Ext.ComponentMgr.getCmp</a>). Note that this id will also be used as the element id for the containing HTML element that is rendered to the page for this component. This allows you to write id-based CSS rules to style the specific instance of this component uniquely, and also to select sub-elements using this component's id as the parent.            </div>\r
257                         </div>\r
258         </td>\r
259         <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>\r
260     </tr>\r
261         <tr class="config-row">\r
262         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
263         <td class="sig">\r
264         <a id="Ext.menu.TextItem-itemCls"></a>\r
265             <b>itemCls</b> : String            <div class="mdesc">\r
266                             The default CSS class to use for text items (defaults to "x-menu-text")                        </div>\r
267         </td>\r
268         <td class="msource">TextItem</td>\r
269     </tr>\r
270         <tr class="config-row inherited alt expandable">\r
271         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
272         <td class="sig">\r
273         <a id="Ext.menu.TextItem-labelSeparator"></a>\r
274             <b>labelSeparator</b> : String            <div class="mdesc">\r
275                         <div class="short">The standard separator to display after the text of each form label (defaults to the value of Ext.layout.FormLayout.l...</div>\r
276             <div class="long">\r
277                 The standard separator to display after the text of each form label (defaults to the value of <a ext:cls="Ext.layout.FormLayout" ext:member="labelSeparator" href="output/Ext.layout.FormLayout.html#labelSeparator">Ext.layout.FormLayout.labelSeparator</a>, which is a colon ':' by default). To display no separator for this field's label specify empty string ''. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
278     height: 100,
279     renderTo: Ext.getBody(),
280     items: [{
281         xtype: <em>'textfield'</em>,
282         fieldLabel: <em>'Name'</em>,
283         labelSeparator: <em>'...'</em>
284     }]
285 });</code></pre>            </div>\r
286                         </div>\r
287         </td>\r
288         <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelSeparator" href="output/Ext.Component.html#labelSeparator">Component</a></td>\r
289     </tr>\r
290         <tr class="config-row inherited expandable">\r
291         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
292         <td class="sig">\r
293         <a id="Ext.menu.TextItem-labelStyle"></a>\r
294             <b>labelStyle</b> : String            <div class="mdesc">\r
295                         <div class="short">A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if se...</div>\r
296             <div class="long">\r
297                 A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if set, or '').<code></code>. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
298     height: 100,
299     renderTo: Ext.getBody(),
300     items: [{
301         xtype: <em>'textfield'</em>,
302         fieldLabel: <em>'Name'</em>,
303         labelStyle: <em>'font-weight:bold;'</em>
304     }]
305 });</code></pre>            </div>\r
306                         </div>\r
307         </td>\r
308         <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelStyle" href="output/Ext.Component.html#labelStyle">Component</a></td>\r
309     </tr>\r
310         <tr class="config-row inherited alt expandable">\r
311         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
312         <td class="sig">\r
313         <a id="Ext.menu.TextItem-listeners"></a>\r
314             <b>listeners</b> : Object            <div class="mdesc">\r
315                         <div class="short">(optional) A config object containing one or more event handlers to be added to this object during initialization. Th...</div>\r
316             <div class="long">\r
317                 (optional) A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once.            </div>\r
318                         </div>\r
319         </td>\r
320         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>\r
321     </tr>\r
322         <tr class="config-row inherited expandable">\r
323         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
324         <td class="sig">\r
325         <a id="Ext.menu.TextItem-overCls"></a>\r
326             <b>overCls</b> : String            <div class="mdesc">\r
327                         <div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and...</div>\r
328             <div class="long">\r
329                 An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and removed when the mouse moves out. (defaults to ''). This can be useful for adding customized "active" or "hover" styles to the component or any of its children using standard CSS rules.            </div>\r
330                         </div>\r
331         </td>\r
332         <td class="msource"><a ext:cls="Ext.Component" ext:member="#overCls" href="output/Ext.Component.html#overCls">Component</a></td>\r
333     </tr>\r
334         <tr class="config-row inherited alt expandable">\r
335         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
336         <td class="sig">\r
337         <a id="Ext.menu.TextItem-plugins"></a>\r
338             <b>plugins</b> : Object/Array            <div class="mdesc">\r
339                         <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>\r
340             <div class="long">\r
341                 An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality.            </div>\r
342                         </div>\r
343         </td>\r
344         <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>\r
345     </tr>\r
346         <tr class="config-row inherited expandable">\r
347         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
348         <td class="sig">\r
349         <a id="Ext.menu.TextItem-renderTo"></a>\r
350             <b>renderTo</b> : Mixed            <div class="mdesc">\r
351                         <div class="short">The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using...</div>\r
352             <div class="long">\r
353                 The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using this config, a call to render() is not required.            </div>\r
354                         </div>\r
355         </td>\r
356         <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>\r
357     </tr>\r
358         <tr class="config-row inherited alt">\r
359         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
360         <td class="sig">\r
361         <a id="Ext.menu.TextItem-scope"></a>\r
362             <b>scope</b> : Object            <div class="mdesc">\r
363                             The scope in which the handler function will be called.                        </div>\r
364         </td>\r
365         <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#scope" href="output/Ext.menu.BaseItem.html#scope">BaseItem</a></td>\r
366     </tr>\r
367         <tr class="config-row inherited expandable">\r
368         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
369         <td class="sig">\r
370         <a id="Ext.menu.TextItem-stateEvents"></a>\r
371             <b>stateEvents</b> : Array            <div class="mdesc">\r
372                         <div class="short">An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be...</div>\r
373             <div class="long">\r
374                 An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>\r
375                         </div>\r
376         </td>\r
377         <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>\r
378     </tr>\r
379         <tr class="config-row inherited alt expandable">\r
380         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
381         <td class="sig">\r
382         <a id="Ext.menu.TextItem-stateId"></a>\r
383             <b>stateId</b> : String            <div class="mdesc">\r
384                         <div class="short">The unique id for this component to use for state management purposes (defaults to the component id if one was set, o...</div>\r
385             <div class="long">\r
386                 The unique id for this component to use for state management purposes (defaults to the component id if one was set, otherwise null if the component is using a generated id). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>\r
387                         </div>\r
388         </td>\r
389         <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>\r
390     </tr>\r
391         <tr class="config-row inherited expandable">\r
392         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
393         <td class="sig">\r
394         <a id="Ext.menu.TextItem-stateful"></a>\r
395             <b>stateful</b> : Boolean            <div class="mdesc">\r
396                         <div class="short">A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startu...</div>\r
397             <div class="long">\r
398                 <p>A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup. The component must have either a <a ext:cls="Ext.Component" ext:member="stateId" href="output/Ext.Component.html#stateId">stateId</a> or <a ext:cls="Ext.Component" ext:member="id" href="output/Ext.Component.html#id">id</a> assigned for state to be managed. Auto-generated ids are not guaranteed to be stable across page loads and cannot be relied upon to save and restore the same state for a component.<p> For state saving to work, the state manager's provider must have been set to an implementation of <a ext:cls="Ext.state.Provider" href="output/Ext.state.Provider.html">Ext.state.Provider</a> which overrides the <a ext:cls="Ext.state.Provider" ext:member="set" href="output/Ext.state.Provider.html#set">set</a> and <a ext:cls="Ext.state.Provider" ext:member="get" href="output/Ext.state.Provider.html#get">get</a> methods to save and recall name/value pairs. A built-in implementation, <a ext:cls="Ext.state.CookieProvider" href="output/Ext.state.CookieProvider.html">Ext.state.CookieProvider</a> is available.</p> <p>To set the state provider for the current page:</p> <pre><code>Ext.state.Manager.setProvider(<b>new</b> Ext.state.CookieProvider());</code></pre> <p>Components attempt to save state when one of the events listed in the <a ext:cls="Ext.Component" ext:member="stateEvents" href="output/Ext.Component.html#stateEvents">stateEvents</a> configuration fires.</p> <p>You can perform extra processing on state save and restore by attaching handlers to the <a ext:cls="Ext.Component" ext:member="beforestaterestore" href="output/Ext.Component.html#beforestaterestore">beforestaterestore</a>, <a ext:cls="Ext.Component" ext:member="staterestore" href="output/Ext.Component.html#staterestore">staterestore</a>, <a ext:cls="Ext.Component" ext:member="beforestatesave" href="output/Ext.Component.html#beforestatesave">beforestatesave</a> and <a ext:cls="Ext.Component" ext:member="statesave" href="output/Ext.Component.html#statesave">statesave</a> events</p>            </div>\r
399                         </div>\r
400         </td>\r
401         <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>\r
402     </tr>\r
403         <tr class="config-row inherited alt expandable">\r
404         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
405         <td class="sig">\r
406         <a id="Ext.menu.TextItem-style"></a>\r
407             <b>style</b> : String            <div class="mdesc">\r
408                         <div class="short">A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.app...</div>\r
409             <div class="long">\r
410                 A custom style specification to be applied to this component's Element. Should be a valid argument to <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a>.            </div>\r
411                         </div>\r
412         </td>\r
413         <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>\r
414     </tr>\r
415         <tr class="config-row">\r
416         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
417         <td class="sig">\r
418         <a id="Ext.menu.TextItem-text"></a>\r
419             <b>text</b> : String            <div class="mdesc">\r
420                             The text to display for this item (defaults to '')                        </div>\r
421         </td>\r
422         <td class="msource">TextItem</td>\r
423     </tr>\r
424         <tr class="config-row inherited alt expandable">\r
425         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
426         <td class="sig">\r
427         <a id="Ext.menu.TextItem-xtype"></a>\r
428             <b>xtype</b> : String            <div class="mdesc">\r
429                         <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>\r
430             <div class="long">\r
431                 The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>. The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed <a ext:cls="Ext.Component" href="output/Ext.Component.html">here</a>. <br><br> If you subclass Components to create your own Components, you may register them using <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a> in order to be able to take advantage of lazy instantiation and rendering.            </div>\r
432                         </div>\r
433         </td>\r
434         <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>\r
435     </tr>\r
436             </table>
437                 <a id="Ext.menu.TextItem-props"></a>
438         <h2>Public Properties</h2>
439                 <table cellspacing="0" class="member-table">
440             <tr>
441                 <th class="sig-header" colspan="2">Property</th>
442                 <th class="msource-header">Defined By</th>
443             </tr>
444                 <tr class="property-row inherited">\r
445         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
446         <td class="sig">\r
447         <a id="Ext.menu.TextItem-disabled"></a>\r
448             <b>disabled</b> : Boolean            <div class="mdesc">\r
449                             True if this component is disabled. Read-only.                        </div>\r
450         </td>\r
451         <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>\r
452     </tr>\r
453         <tr class="property-row inherited alt">\r
454         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
455         <td class="sig">\r
456         <a id="Ext.menu.TextItem-hidden"></a>\r
457             <b>hidden</b> : Boolean            <div class="mdesc">\r
458                             
459 True if this component is hidden. Read-only.                        </div>\r
460         </td>\r
461         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>\r
462     </tr>\r
463         <tr class="property-row inherited">\r
464         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
465         <td class="sig">\r
466         <a id="Ext.menu.TextItem-initialConfig"></a>\r
467             <b>initialConfig</b> : Object            <div class="mdesc">\r
468                             This Component's initial configuration specification. Read-only.                        </div>\r
469         </td>\r
470         <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>\r
471     </tr>\r
472         <tr class="property-row inherited alt expandable">\r
473         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
474         <td class="sig">\r
475         <a id="Ext.menu.TextItem-ownerCt"></a>\r
476             <b>ownerCt</b> : Ext.Container            <div class="mdesc">\r
477                         <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
478 the component is added to a...</div>\r
479             <div class="long">\r
480                 The component's owner <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (defaults to undefined, and is set automatically when
481 the component is added to a container).  Read-only.            </div>\r
482                         </div>\r
483         </td>\r
484         <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>\r
485     </tr>\r
486         <tr class="property-row inherited">\r
487         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
488         <td class="sig">\r
489         <a id="Ext.menu.TextItem-parentMenu"></a>\r
490             <b>parentMenu</b> : Ext.menu.Menu            <div class="mdesc">\r
491                             The parent Menu of this Item.                        </div>\r
492         </td>\r
493         <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#parentMenu" href="output/Ext.menu.BaseItem.html#parentMenu">BaseItem</a></td>\r
494     </tr>\r
495         <tr class="property-row inherited alt">\r
496         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
497         <td class="sig">\r
498         <a id="Ext.menu.TextItem-rendered"></a>\r
499             <b>rendered</b> : Boolean            <div class="mdesc">\r
500                             True if this component has been rendered. Read-only.                        </div>\r
501         </td>\r
502         <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>\r
503     </tr>\r
504             </table>
505                 <a id="Ext.menu.TextItem-methods"></a>
506         <h2>Public Methods</h2>
507                 <table cellspacing="0" class="member-table">
508             <tr>
509                 <th class="sig-header" colspan="2">Method</th>
510                 <th class="msource-header">Defined By</th>
511             </tr>
512                 <tr class="method-row expandable">\r
513         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
514         <td class="sig">\r
515         <a id="Ext.menu.TextItem-TextItem"></a>\r
516             <b>TextItem</b>(&nbsp;<code>Object/String config</code>&nbsp;)            <div class="mdesc">\r
517                         <div class="short">Creates a new TextItem</div>\r
518             <div class="long">\r
519                 Creates a new TextItem    <div class="mdetail-params">\r
520         <strong>Parameters:</strong>\r
521         <ul><li><code>config</code> : Object/String<div class="sub-desc">If config is a string, it is used as the text to display, otherwise it
522 is applied as a config object (and should contain a <tt>text</tt> property).</div></li>        </ul>\r
523         <strong>Returns:</strong>\r
524         <ul>\r
525             <li><code></code></li>\r
526         </ul>\r
527     </div>\r
528                 </div>\r
529                         </div>\r
530         </td>\r
531         <td class="msource">TextItem</td>\r
532     </tr>\r
533         <tr class="method-row inherited alt expandable">\r
534         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
535         <td class="sig">\r
536         <a id="Ext.menu.TextItem-addClass"></a>\r
537             <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">\r
538                         <div class="short">Adds a CSS class to the component's underlying element.</div>\r
539             <div class="long">\r
540                 Adds a CSS class to the component's underlying element.    <div class="mdetail-params">\r
541         <strong>Parameters:</strong>\r
542         <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li>        </ul>\r
543         <strong>Returns:</strong>\r
544         <ul>\r
545             <li><code>void</code></li>\r
546         </ul>\r
547     </div>\r
548                 </div>\r
549                         </div>\r
550         </td>\r
551         <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>\r
552     </tr>\r
553         <tr class="method-row inherited expandable">\r
554         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
555         <td class="sig">\r
556         <a id="Ext.menu.TextItem-addEvents"></a>\r
557             <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">\r
558                         <div class="short">Used to define events on this Observable</div>\r
559             <div class="long">\r
560                 Used to define events on this Observable    <div class="mdetail-params">\r
561         <strong>Parameters:</strong>\r
562         <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>\r
563         <strong>Returns:</strong>\r
564         <ul>\r
565             <li><code>void</code></li>\r
566         </ul>\r
567     </div>\r
568                 </div>\r
569                         </div>\r
570         </td>\r
571         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>\r
572     </tr>\r
573         <tr class="method-row inherited alt expandable">\r
574         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
575         <td class="sig">\r
576         <a id="Ext.menu.TextItem-addListener"></a>\r
577             <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">\r
578                         <div class="short">Appends an event handler to this component</div>\r
579             <div class="long">\r
580                 Appends an event handler to this component    <div class="mdetail-params">\r
581         <strong>Parameters:</strong>\r
582         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
583 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
584 properties. This may contain any of the following properties:<ul>
585 <li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
586 <li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
587 <li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
588 <li><b>buffer</b> : Number<p class="sub-desc">Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
589 by the specified number of milliseconds. If the event fires again within that time, the original
590 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
591 </ul><br>
592 <p>
593 <b>Combining Options</b><br>
594 Using the options argument, it is possible to combine different types of listeners:<br>
595 <br>
596 A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
597 <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
598     single: true,
599     delay: 100,
600     forumId: 4
601 });</code></pre>
602 <p>
603 <b>Attaching multiple handlers in 1 call</b><br>
604 The method also allows for a single argument to be passed which is a config object containing properties
605 which specify multiple handlers.
606 <p>
607 <pre><code>foo.on({
608     <em>'click'</em> : {
609         fn: <b>this</b>.onClick,
610         scope: <b>this</b>,
611         delay: 100
612     },
613     <em>'mouseover'</em> : {
614         fn: <b>this</b>.onMouseOver,
615         scope: <b>this</b>
616     },
617     <em>'mouseout'</em> : {
618         fn: <b>this</b>.onMouseOut,
619         scope: <b>this</b>
620     }
621 });</code></pre>
622 <p>
623 Or a shorthand syntax:<br>
624 <pre><code>foo.on({
625     <em>'click'</em> : <b>this</b>.onClick,
626     <em>'mouseover'</em> : <b>this</b>.onMouseOver,
627     <em>'mouseout'</em> : <b>this</b>.onMouseOut,
628      scope: <b>this</b>
629 });</code></pre></div></li>        </ul>\r
630         <strong>Returns:</strong>\r
631         <ul>\r
632             <li><code>void</code></li>\r
633         </ul>\r
634     </div>\r
635                 </div>\r
636                         </div>\r
637         </td>\r
638         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>\r
639     </tr>\r
640         <tr class="method-row inherited expandable">\r
641         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
642         <td class="sig">\r
643         <a id="Ext.menu.TextItem-applyToMarkup"></a>\r
644             <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void            <div class="mdesc">\r
645                         <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>\r
646             <div class="long">\r
647                 Apply this component to existing markup that is valid. With this function, no call to render() is required.    <div class="mdetail-params">\r
648         <strong>Parameters:</strong>\r
649         <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li>        </ul>\r
650         <strong>Returns:</strong>\r
651         <ul>\r
652             <li><code>void</code></li>\r
653         </ul>\r
654     </div>\r
655                 </div>\r
656                         </div>\r
657         </td>\r
658         <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>\r
659     </tr>\r
660         <tr class="method-row inherited alt expandable">\r
661         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
662         <td class="sig">\r
663         <a id="Ext.menu.TextItem-cloneConfig"></a>\r
664             <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component            <div class="mdesc">\r
665                         <div class="short">Clone the current component using the original config values passed into this instance by default.</div>\r
666             <div class="long">\r
667                 Clone the current component using the original config values passed into this instance by default.    <div class="mdetail-params">\r
668         <strong>Parameters:</strong>\r
669         <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
670 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li>        </ul>\r
671         <strong>Returns:</strong>\r
672         <ul>\r
673             <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>\r
674         </ul>\r
675     </div>\r
676                 </div>\r
677                         </div>\r
678         </td>\r
679         <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>\r
680     </tr>\r
681         <tr class="method-row inherited expandable">\r
682         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
683         <td class="sig">\r
684         <a id="Ext.menu.TextItem-destroy"></a>\r
685             <b>destroy</b>() : void            <div class="mdesc">\r
686                         <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
687 removing the c...</div>\r
688             <div class="long">\r
689                 Destroys this component by purging any event listeners, removing the component's element from the DOM,
690 removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
691 <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>.  Destruction is generally handled automatically by the framework and this method
692 should usually not need to be called directly.    <div class="mdetail-params">\r
693         <strong>Parameters:</strong>\r
694         <ul><li>None.</li>        </ul>\r
695         <strong>Returns:</strong>\r
696         <ul>\r
697             <li><code>void</code></li>\r
698         </ul>\r
699     </div>\r
700                 </div>\r
701                         </div>\r
702         </td>\r
703         <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>\r
704     </tr>\r
705         <tr class="method-row inherited alt expandable">\r
706         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
707         <td class="sig">\r
708         <a id="Ext.menu.TextItem-disable"></a>\r
709             <b>disable</b>() : Ext.Component            <div class="mdesc">\r
710                         <div class="short">Disable this component.</div>\r
711             <div class="long">\r
712                 Disable this component.    <div class="mdetail-params">\r
713         <strong>Parameters:</strong>\r
714         <ul><li>None.</li>        </ul>\r
715         <strong>Returns:</strong>\r
716         <ul>\r
717             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
718         </ul>\r
719     </div>\r
720                 </div>\r
721                         </div>\r
722         </td>\r
723         <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>\r
724     </tr>\r
725         <tr class="method-row inherited expandable">\r
726         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
727         <td class="sig">\r
728         <a id="Ext.menu.TextItem-enable"></a>\r
729             <b>enable</b>() : Ext.Component            <div class="mdesc">\r
730                         <div class="short">Enable this component.</div>\r
731             <div class="long">\r
732                 Enable this component.    <div class="mdetail-params">\r
733         <strong>Parameters:</strong>\r
734         <ul><li>None.</li>        </ul>\r
735         <strong>Returns:</strong>\r
736         <ul>\r
737             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
738         </ul>\r
739     </div>\r
740                 </div>\r
741                         </div>\r
742         </td>\r
743         <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>\r
744     </tr>\r
745         <tr class="method-row inherited alt expandable">\r
746         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
747         <td class="sig">\r
748         <a id="Ext.menu.TextItem-findParentBy"></a>\r
749             <b>findParentBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Ext.Container            <div class="mdesc">\r
750                         <div class="short">Find a container above this component at any level by a custom function. If the passed function returns
751 true, the con...</div>\r
752             <div class="long">\r
753                 Find a container above this component at any level by a custom function. If the passed function returns
754 true, the container will be returned. The passed function is called with the arguments (container, this component).    <div class="mdetail-params">\r
755         <strong>Parameters:</strong>\r
756         <ul><li><code>fcn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>\r
757         <strong>Returns:</strong>\r
758         <ul>\r
759             <li><code>Ext.Container</code><div class="sub-desc">The first Container for which the custom function returns true</div></li>\r
760         </ul>\r
761     </div>\r
762                 </div>\r
763                         </div>\r
764         </td>\r
765         <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>\r
766     </tr>\r
767         <tr class="method-row inherited expandable">\r
768         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
769         <td class="sig">\r
770         <a id="Ext.menu.TextItem-findParentByType"></a>\r
771             <b>findParentByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Ext.Container            <div class="mdesc">\r
772                         <div class="short">Find a container above this component at any level by xtype or class</div>\r
773             <div class="long">\r
774                 Find a container above this component at any level by xtype or class    <div class="mdetail-params">\r
775         <strong>Parameters:</strong>\r
776         <ul><li><code>xtype</code> : String/Class<div class="sub-desc">The xtype string for a component, or the class of the component directly</div></li>        </ul>\r
777         <strong>Returns:</strong>\r
778         <ul>\r
779             <li><code>Ext.Container</code><div class="sub-desc">The first Container which matches the given xtype or class</div></li>\r
780         </ul>\r
781     </div>\r
782                 </div>\r
783                         </div>\r
784         </td>\r
785         <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>\r
786     </tr>\r
787         <tr class="method-row inherited alt expandable">\r
788         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
789         <td class="sig">\r
790         <a id="Ext.menu.TextItem-fireEvent"></a>\r
791             <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">\r
792                         <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>\r
793             <div class="long">\r
794                 Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">\r
795         <strong>Parameters:</strong>\r
796         <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li>        </ul>\r
797         <strong>Returns:</strong>\r
798         <ul>\r
799             <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>\r
800         </ul>\r
801     </div>\r
802                 </div>\r
803                         </div>\r
804         </td>\r
805         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>\r
806     </tr>\r
807         <tr class="method-row inherited expandable">\r
808         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
809         <td class="sig">\r
810         <a id="Ext.menu.TextItem-focus"></a>\r
811             <b>focus</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span>&nbsp;) : Ext.Component            <div class="mdesc">\r
812                         <div class="short">Try to focus this component.</div>\r
813             <div class="long">\r
814                 Try to focus this component.    <div class="mdetail-params">\r
815         <strong>Parameters:</strong>\r
816         <ul><li><code>selectText</code> : Boolean<div class="sub-desc">(optional) If applicable, true to also select the text in this component</div></li><li><code>delay</code> : Boolean/Number<div class="sub-desc">(optional) Delay the focus this number of milliseconds (true for 10 milliseconds)</div></li>        </ul>\r
817         <strong>Returns:</strong>\r
818         <ul>\r
819             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
820         </ul>\r
821     </div>\r
822                 </div>\r
823                         </div>\r
824         </td>\r
825         <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>\r
826     </tr>\r
827         <tr class="method-row inherited alt expandable">\r
828         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
829         <td class="sig">\r
830         <a id="Ext.menu.TextItem-getEl"></a>\r
831             <b>getEl</b>() : Ext.Element            <div class="mdesc">\r
832                         <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>\r
833             <div class="long">\r
834                 Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">\r
835         <strong>Parameters:</strong>\r
836         <ul><li>None.</li>        </ul>\r
837         <strong>Returns:</strong>\r
838         <ul>\r
839             <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>\r
840         </ul>\r
841     </div>\r
842                 </div>\r
843                         </div>\r
844         </td>\r
845         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>\r
846     </tr>\r
847         <tr class="method-row inherited expandable">\r
848         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
849         <td class="sig">\r
850         <a id="Ext.menu.TextItem-getId"></a>\r
851             <b>getId</b>() : String            <div class="mdesc">\r
852                         <div class="short">Returns the id of this component.</div>\r
853             <div class="long">\r
854                 Returns the id of this component.    <div class="mdetail-params">\r
855         <strong>Parameters:</strong>\r
856         <ul><li>None.</li>        </ul>\r
857         <strong>Returns:</strong>\r
858         <ul>\r
859             <li><code>String</code></li>\r
860         </ul>\r
861     </div>\r
862                 </div>\r
863                         </div>\r
864         </td>\r
865         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>\r
866     </tr>\r
867         <tr class="method-row inherited alt expandable">\r
868         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
869         <td class="sig">\r
870         <a id="Ext.menu.TextItem-getItemId"></a>\r
871             <b>getItemId</b>() : String            <div class="mdesc">\r
872                         <div class="short">Returns the item id of this component.</div>\r
873             <div class="long">\r
874                 Returns the item id of this component.    <div class="mdetail-params">\r
875         <strong>Parameters:</strong>\r
876         <ul><li>None.</li>        </ul>\r
877         <strong>Returns:</strong>\r
878         <ul>\r
879             <li><code>String</code></li>\r
880         </ul>\r
881     </div>\r
882                 </div>\r
883                         </div>\r
884         </td>\r
885         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>\r
886     </tr>\r
887         <tr class="method-row inherited expandable">\r
888         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
889         <td class="sig">\r
890         <a id="Ext.menu.TextItem-getXType"></a>\r
891             <b>getXType</b>() : String            <div class="mdesc">\r
892                         <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
893 available xtypes, see the Ex...</div>\r
894             <div class="long">\r
895                 Gets the xtype for this component as registered with <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. For a list of all
896 available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
897 <pre><code>var t = <b>new</b> Ext.form.TextField();
898 alert(t.getXType());  // alerts <em>'textfield'</em></code></pre>    <div class="mdetail-params">\r
899         <strong>Parameters:</strong>\r
900         <ul><li>None.</li>        </ul>\r
901         <strong>Returns:</strong>\r
902         <ul>\r
903             <li><code>String</code><div class="sub-desc">The xtype</div></li>\r
904         </ul>\r
905     </div>\r
906                 </div>\r
907                         </div>\r
908         </td>\r
909         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>\r
910     </tr>\r
911         <tr class="method-row inherited alt expandable">\r
912         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
913         <td class="sig">\r
914         <a id="Ext.menu.TextItem-getXTypes"></a>\r
915             <b>getXTypes</b>() : String            <div class="mdesc">\r
916                         <div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
917 available xtypes, see the Ext...</div>\r
918             <div class="long">\r
919                 <p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
920 available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
921 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
922 to participate in determination of inherited xtypes.</b></p>
923 <p>Example usage:</p>
924 <pre><code>\r
925 var t = new Ext.form.TextField();\r
926 alert(t.getXTypes());  // alerts 'component/box/field/textfield'</pre></code>    <div class="mdetail-params">\r
927         <strong>Parameters:</strong>\r
928         <ul><li>None.</li>        </ul>\r
929         <strong>Returns:</strong>\r
930         <ul>\r
931             <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>\r
932         </ul>\r
933     </div>\r
934                 </div>\r
935                         </div>\r
936         </td>\r
937         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>\r
938     </tr>\r
939         <tr class="method-row inherited expandable">\r
940         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
941         <td class="sig">\r
942         <a id="Ext.menu.TextItem-hasListener"></a>\r
943             <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">\r
944                         <div class="short">Checks to see if this object has any listeners for a specified event</div>\r
945             <div class="long">\r
946                 Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">\r
947         <strong>Parameters:</strong>\r
948         <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>\r
949         <strong>Returns:</strong>\r
950         <ul>\r
951             <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>\r
952         </ul>\r
953     </div>\r
954                 </div>\r
955                         </div>\r
956         </td>\r
957         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>\r
958     </tr>\r
959         <tr class="method-row inherited alt expandable">\r
960         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
961         <td class="sig">\r
962         <a id="Ext.menu.TextItem-hide"></a>\r
963             <b>hide</b>() : Ext.Component            <div class="mdesc">\r
964                         <div class="short">Hide this component.</div>\r
965             <div class="long">\r
966                 Hide this component.    <div class="mdetail-params">\r
967         <strong>Parameters:</strong>\r
968         <ul><li>None.</li>        </ul>\r
969         <strong>Returns:</strong>\r
970         <ul>\r
971             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
972         </ul>\r
973     </div>\r
974                 </div>\r
975                         </div>\r
976         </td>\r
977         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>\r
978     </tr>\r
979         <tr class="method-row inherited expandable">\r
980         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
981         <td class="sig">\r
982         <a id="Ext.menu.TextItem-isVisible"></a>\r
983             <b>isVisible</b>() : void            <div class="mdesc">\r
984                         <div class="short">Returns true if this component is visible.</div>\r
985             <div class="long">\r
986                 Returns true if this component is visible.    <div class="mdetail-params">\r
987         <strong>Parameters:</strong>\r
988         <ul><li>None.</li>        </ul>\r
989         <strong>Returns:</strong>\r
990         <ul>\r
991             <li><code>void</code></li>\r
992         </ul>\r
993     </div>\r
994                 </div>\r
995                         </div>\r
996         </td>\r
997         <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>\r
998     </tr>\r
999         <tr class="method-row inherited alt expandable">\r
1000         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1001         <td class="sig">\r
1002         <a id="Ext.menu.TextItem-isXType"></a>\r
1003             <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void            <div class="mdesc">\r
1004                         <div class="short">Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1005 from th...</div>\r
1006             <div class="long">\r
1007                 <p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1008 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
1009 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1010 to participate in determination of inherited xtypes.</b></p>
1011 <p>For a list of all available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
1012 <p>Example usage:</p>
1013 <pre><code>var t = <b>new</b> Ext.form.TextField();
1014 <b>var</b> isText = t.isXType(<em>'textfield'</em>);        <i>// true</i>
1015 <b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>);       <i>// true, descended from BoxComponent</i>
1016 <b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre>    <div class="mdetail-params">\r
1017         <strong>Parameters:</strong>\r
1018         <ul><li><code>xtype</code> : String<div class="sub-desc">The xtype to check for this Component</div></li><li><code>shallow</code> : Boolean<div class="sub-desc">(optional) False to check whether this Component is descended from the xtype (this is
1019 the default), or true to check whether this Component is directly of the specified xtype.</div></li>        </ul>\r
1020         <strong>Returns:</strong>\r
1021         <ul>\r
1022             <li><code>void</code></li>\r
1023         </ul>\r
1024     </div>\r
1025                 </div>\r
1026                         </div>\r
1027         </td>\r
1028         <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>\r
1029     </tr>\r
1030         <tr class="method-row inherited expandable">\r
1031         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1032         <td class="sig">\r
1033         <a id="Ext.menu.TextItem-on"></a>\r
1034             <b>on</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">\r
1035                         <div class="short">Appends an event handler to this element (shorthand for addListener)</div>\r
1036             <div class="long">\r
1037                 Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">\r
1038         <strong>Parameters:</strong>\r
1039         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
1040 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>\r
1041         <strong>Returns:</strong>\r
1042         <ul>\r
1043             <li><code>void</code></li>\r
1044         </ul>\r
1045     </div>\r
1046                 </div>\r
1047                         </div>\r
1048         </td>\r
1049         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>\r
1050     </tr>\r
1051         <tr class="method-row inherited alt expandable">\r
1052         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1053         <td class="sig">\r
1054         <a id="Ext.menu.TextItem-purgeListeners"></a>\r
1055             <b>purgeListeners</b>() : void            <div class="mdesc">\r
1056                         <div class="short">Removes all listeners for this object</div>\r
1057             <div class="long">\r
1058                 Removes all listeners for this object    <div class="mdetail-params">\r
1059         <strong>Parameters:</strong>\r
1060         <ul><li>None.</li>        </ul>\r
1061         <strong>Returns:</strong>\r
1062         <ul>\r
1063             <li><code>void</code></li>\r
1064         </ul>\r
1065     </div>\r
1066                 </div>\r
1067                         </div>\r
1068         </td>\r
1069         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>\r
1070     </tr>\r
1071         <tr class="method-row inherited expandable">\r
1072         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1073         <td class="sig">\r
1074         <a id="Ext.menu.TextItem-relayEvents"></a>\r
1075             <b>relayEvents</b>(&nbsp;<code>Object o</code>, <code>Array events</code>&nbsp;) : void            <div class="mdesc">\r
1076                         <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>\r
1077             <div class="long">\r
1078                 Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.    <div class="mdetail-params">\r
1079         <strong>Parameters:</strong>\r
1080         <ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li>        </ul>\r
1081         <strong>Returns:</strong>\r
1082         <ul>\r
1083             <li><code>void</code></li>\r
1084         </ul>\r
1085     </div>\r
1086                 </div>\r
1087                         </div>\r
1088         </td>\r
1089         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>\r
1090     </tr>\r
1091         <tr class="method-row inherited alt expandable">\r
1092         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1093         <td class="sig">\r
1094         <a id="Ext.menu.TextItem-removeClass"></a>\r
1095             <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">\r
1096                         <div class="short">Removes a CSS class from the component's underlying element.</div>\r
1097             <div class="long">\r
1098                 Removes a CSS class from the component's underlying element.    <div class="mdetail-params">\r
1099         <strong>Parameters:</strong>\r
1100         <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li>        </ul>\r
1101         <strong>Returns:</strong>\r
1102         <ul>\r
1103             <li><code>void</code></li>\r
1104         </ul>\r
1105     </div>\r
1106                 </div>\r
1107                         </div>\r
1108         </td>\r
1109         <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>\r
1110     </tr>\r
1111         <tr class="method-row inherited expandable">\r
1112         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1113         <td class="sig">\r
1114         <a id="Ext.menu.TextItem-removeListener"></a>\r
1115             <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">\r
1116                         <div class="short">Removes a listener</div>\r
1117             <div class="long">\r
1118                 Removes a listener    <div class="mdetail-params">\r
1119         <strong>Parameters:</strong>\r
1120         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>\r
1121         <strong>Returns:</strong>\r
1122         <ul>\r
1123             <li><code>void</code></li>\r
1124         </ul>\r
1125     </div>\r
1126                 </div>\r
1127                         </div>\r
1128         </td>\r
1129         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>\r
1130     </tr>\r
1131         <tr class="method-row inherited alt expandable">\r
1132         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1133         <td class="sig">\r
1134         <a id="Ext.menu.TextItem-render"></a>\r
1135             <b>render</b>(&nbsp;<span class="optional" title="Optional">[<code>Element/HTMLElement/String container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span>&nbsp;) : void            <div class="mdesc">\r
1136                         <div class="short">Render this Component into the passed HTML element.
1137 If you are using a Container object to house this Component, then...</div>\r
1138             <div class="long">\r
1139                 <p>Render this Component into the passed HTML element.</p>
1140 <p><b>If you are using a <a ext:cls="Ext.Container" href="output/Ext.Container.html">Container</a> object to house this Component, then
1141 do not use the render method.</b></p>
1142 <p>A Container's child Components are rendered by that Container's
1143 <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager when the Container is first rendered.</p>
1144 <p>Certain layout managers allow dynamic addition of child components. Those that do
1145 include <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">Ext.layout.CardLayout</a>, <a ext:cls="Ext.layout.AnchorLayout" href="output/Ext.layout.AnchorLayout.html">Ext.layout.AnchorLayout</a>,
1146 <a ext:cls="Ext.layout.FormLayout" href="output/Ext.layout.FormLayout.html">Ext.layout.FormLayout</a>, <a ext:cls="Ext.layout.TableLayout" href="output/Ext.layout.TableLayout.html">Ext.layout.TableLayout</a>.</p>
1147 <p>If the Container is already rendered when a new child Component is added, you may need to call
1148 the Container's <a ext:cls="Ext.Container" ext:member="doLayout" href="output/Ext.Container.html#doLayout">doLayout</a> to refresh the view which causes any
1149 unrendered child Components to be rendered. This is required so that you can add multiple
1150 child components if needed while only refreshing the layout once.</p>
1151 <p>When creating complex UIs, it is important to remember that sizing and positioning
1152 of child items is the responsibility of the Container's <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager.
1153 If you expect child items to be sized in response to user interactions, you must
1154 configure the Container with a layout manager which creates and manages the type of layout you
1155 have in mind.</p>
1156 <p><b>Omitting the Container's <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> config means that a basic
1157 layout manager is used which does nothing but render child components sequentially into the
1158 Container. No sizing or positioning will be performed in this situation.</b></p>    <div class="mdetail-params">\r
1159         <strong>Parameters:</strong>\r
1160         <ul><li><code>container</code> : Element/HTMLElement/String<div class="sub-desc">(optional) The element this Component should be
1161 rendered into. If it is being created from existing markup, this should be omitted.</div></li><li><code>position</code> : String/Number<div class="sub-desc">(optional) The element ID or DOM node index within the container <b>before</b>
1162 which this component will be inserted (defaults to appending to the end of the container)</div></li>        </ul>\r
1163         <strong>Returns:</strong>\r
1164         <ul>\r
1165             <li><code>void</code></li>\r
1166         </ul>\r
1167     </div>\r
1168                 </div>\r
1169                         </div>\r
1170         </td>\r
1171         <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>\r
1172     </tr>\r
1173         <tr class="method-row inherited expandable">\r
1174         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1175         <td class="sig">\r
1176         <a id="Ext.menu.TextItem-resumeEvents"></a>\r
1177             <b>resumeEvents</b>() : void            <div class="mdesc">\r
1178                         <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>\r
1179             <div class="long">\r
1180                 Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)    <div class="mdetail-params">\r
1181         <strong>Parameters:</strong>\r
1182         <ul><li>None.</li>        </ul>\r
1183         <strong>Returns:</strong>\r
1184         <ul>\r
1185             <li><code>void</code></li>\r
1186         </ul>\r
1187     </div>\r
1188                 </div>\r
1189                         </div>\r
1190         </td>\r
1191         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>\r
1192     </tr>\r
1193         <tr class="method-row inherited alt expandable">\r
1194         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1195         <td class="sig">\r
1196         <a id="Ext.menu.TextItem-setDisabled"></a>\r
1197             <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void            <div class="mdesc">\r
1198                         <div class="short">Convenience function for setting disabled/enabled by boolean.</div>\r
1199             <div class="long">\r
1200                 Convenience function for setting disabled/enabled by boolean.    <div class="mdetail-params">\r
1201         <strong>Parameters:</strong>\r
1202         <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li>        </ul>\r
1203         <strong>Returns:</strong>\r
1204         <ul>\r
1205             <li><code>void</code></li>\r
1206         </ul>\r
1207     </div>\r
1208                 </div>\r
1209                         </div>\r
1210         </td>\r
1211         <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>\r
1212     </tr>\r
1213         <tr class="method-row inherited expandable">\r
1214         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1215         <td class="sig">\r
1216         <a id="Ext.menu.TextItem-setHandler"></a>\r
1217             <b>setHandler</b>(&nbsp;<code>Function handler</code>, <code>Object scope</code>&nbsp;) : void            <div class="mdesc">\r
1218                         <div class="short">Sets the function that will handle click events for this item (equivalent to passing in the handler
1219 config property)....</div>\r
1220             <div class="long">\r
1221                 Sets the function that will handle click events for this item (equivalent to passing in the <a ext:cls="Ext.menu.BaseItem" ext:member="handler" href="output/Ext.menu.BaseItem.html#handler">handler</a>
1222 config property).  If an existing handler is already registered, it will be unregistered for you.    <div class="mdetail-params">\r
1223         <strong>Parameters:</strong>\r
1224         <ul><li><code>handler</code> : Function<div class="sub-desc">The function that should be called on click</div></li><li><code>scope</code> : Object<div class="sub-desc">The scope that should be passed to the handler</div></li>        </ul>\r
1225         <strong>Returns:</strong>\r
1226         <ul>\r
1227             <li><code>void</code></li>\r
1228         </ul>\r
1229     </div>\r
1230                 </div>\r
1231                         </div>\r
1232         </td>\r
1233         <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#setHandler" href="output/Ext.menu.BaseItem.html#setHandler">BaseItem</a></td>\r
1234     </tr>\r
1235         <tr class="method-row inherited alt expandable">\r
1236         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1237         <td class="sig">\r
1238         <a id="Ext.menu.TextItem-setVisible"></a>\r
1239             <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component            <div class="mdesc">\r
1240                         <div class="short">Convenience function to hide or show this component by boolean.</div>\r
1241             <div class="long">\r
1242                 Convenience function to hide or show this component by boolean.    <div class="mdetail-params">\r
1243         <strong>Parameters:</strong>\r
1244         <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li>        </ul>\r
1245         <strong>Returns:</strong>\r
1246         <ul>\r
1247             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
1248         </ul>\r
1249     </div>\r
1250                 </div>\r
1251                         </div>\r
1252         </td>\r
1253         <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>\r
1254     </tr>\r
1255         <tr class="method-row inherited expandable">\r
1256         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1257         <td class="sig">\r
1258         <a id="Ext.menu.TextItem-show"></a>\r
1259             <b>show</b>() : Ext.Component            <div class="mdesc">\r
1260                         <div class="short">Show this component.</div>\r
1261             <div class="long">\r
1262                 Show this component.    <div class="mdetail-params">\r
1263         <strong>Parameters:</strong>\r
1264         <ul><li>None.</li>        </ul>\r
1265         <strong>Returns:</strong>\r
1266         <ul>\r
1267             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
1268         </ul>\r
1269     </div>\r
1270                 </div>\r
1271                         </div>\r
1272         </td>\r
1273         <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>\r
1274     </tr>\r
1275         <tr class="method-row inherited alt expandable">\r
1276         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1277         <td class="sig">\r
1278         <a id="Ext.menu.TextItem-suspendEvents"></a>\r
1279             <b>suspendEvents</b>() : void            <div class="mdesc">\r
1280                         <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>\r
1281             <div class="long">\r
1282                 Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)    <div class="mdetail-params">\r
1283         <strong>Parameters:</strong>\r
1284         <ul><li>None.</li>        </ul>\r
1285         <strong>Returns:</strong>\r
1286         <ul>\r
1287             <li><code>void</code></li>\r
1288         </ul>\r
1289     </div>\r
1290                 </div>\r
1291                         </div>\r
1292         </td>\r
1293         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>\r
1294     </tr>\r
1295         <tr class="method-row inherited expandable">\r
1296         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1297         <td class="sig">\r
1298         <a id="Ext.menu.TextItem-un"></a>\r
1299             <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">\r
1300                         <div class="short">Removes a listener (shorthand for removeListener)</div>\r
1301             <div class="long">\r
1302                 Removes a listener (shorthand for removeListener)    <div class="mdetail-params">\r
1303         <strong>Parameters:</strong>\r
1304         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>\r
1305         <strong>Returns:</strong>\r
1306         <ul>\r
1307             <li><code>void</code></li>\r
1308         </ul>\r
1309     </div>\r
1310                 </div>\r
1311                         </div>\r
1312         </td>\r
1313         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>\r
1314     </tr>\r
1315             </table>
1316                 <a id="Ext.menu.TextItem-events"></a>
1317         <h2>Public Events</h2>
1318                 <table cellspacing="0" class="member-table">
1319             <tr>
1320                 <th class="sig-header" colspan="2">Event</th>
1321                 <th class="msource-header">Defined By</th>
1322             </tr>
1323                 <tr class="event-row inherited expandable">\r
1324         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1325         <td class="sig">\r
1326         <a id="Ext.menu.TextItem-activate"></a>\r
1327             <b>activate</b> : (&nbsp;<code>Ext.menu.BaseItem this</code>&nbsp;)            <div class="mdesc">\r
1328                         <div class="short">Fires when this item is activated</div>\r
1329             <div class="long">\r
1330                 Fires when this item is activated    <div class="mdetail-params">\r
1331         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1332         <ul><li><code>this</code> : Ext.menu.BaseItem<div class="sub-desc"></div></li>        </ul>\r
1333     </div>\r
1334                 </div>\r
1335                         </div>\r
1336         </td>\r
1337         <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#event-activate" href="output/Ext.menu.BaseItem.html#event-activate">BaseItem</a></td>\r
1338     </tr>\r
1339         <tr class="event-row inherited alt expandable">\r
1340         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1341         <td class="sig">\r
1342         <a id="Ext.menu.TextItem-beforedestroy"></a>\r
1343             <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1344                         <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>\r
1345             <div class="long">\r
1346                 Fires before the component is destroyed. Return false to stop the destroy.    <div class="mdetail-params">\r
1347         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1348         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1349     </div>\r
1350                 </div>\r
1351                         </div>\r
1352         </td>\r
1353         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>\r
1354     </tr>\r
1355         <tr class="event-row inherited expandable">\r
1356         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1357         <td class="sig">\r
1358         <a id="Ext.menu.TextItem-beforehide"></a>\r
1359             <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1360                         <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>\r
1361             <div class="long">\r
1362                 Fires before the component is hidden. Return false to stop the hide.    <div class="mdetail-params">\r
1363         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1364         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1365     </div>\r
1366                 </div>\r
1367                         </div>\r
1368         </td>\r
1369         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>\r
1370     </tr>\r
1371         <tr class="event-row inherited alt expandable">\r
1372         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1373         <td class="sig">\r
1374         <a id="Ext.menu.TextItem-beforerender"></a>\r
1375             <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1376                         <div class="short">Fires before the component is rendered. Return false to stop the render.</div>\r
1377             <div class="long">\r
1378                 Fires before the component is rendered. Return false to stop the render.    <div class="mdetail-params">\r
1379         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1380         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1381     </div>\r
1382                 </div>\r
1383                         </div>\r
1384         </td>\r
1385         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>\r
1386     </tr>\r
1387         <tr class="event-row inherited expandable">\r
1388         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1389         <td class="sig">\r
1390         <a id="Ext.menu.TextItem-beforeshow"></a>\r
1391             <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1392                         <div class="short">Fires before the component is shown. Return false to stop the show.</div>\r
1393             <div class="long">\r
1394                 Fires before the component is shown. Return false to stop the show.    <div class="mdetail-params">\r
1395         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1396         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1397     </div>\r
1398                 </div>\r
1399                         </div>\r
1400         </td>\r
1401         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>\r
1402     </tr>\r
1403         <tr class="event-row inherited alt expandable">\r
1404         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1405         <td class="sig">\r
1406         <a id="Ext.menu.TextItem-beforestaterestore"></a>\r
1407             <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
1408                         <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>\r
1409             <div class="long">\r
1410                 Fires before the state of the component is restored. Return false to stop the restore.    <div class="mdetail-params">\r
1411         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1412         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>\r
1413     </div>\r
1414                 </div>\r
1415                         </div>\r
1416         </td>\r
1417         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>\r
1418     </tr>\r
1419         <tr class="event-row inherited expandable">\r
1420         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1421         <td class="sig">\r
1422         <a id="Ext.menu.TextItem-beforestatesave"></a>\r
1423             <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
1424                         <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>\r
1425             <div class="long">\r
1426                 Fires before the state of the component is saved to the configured state provider. Return false to stop the save.    <div class="mdetail-params">\r
1427         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1428         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>\r
1429     </div>\r
1430                 </div>\r
1431                         </div>\r
1432         </td>\r
1433         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>\r
1434     </tr>\r
1435         <tr class="event-row inherited alt expandable">\r
1436         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1437         <td class="sig">\r
1438         <a id="Ext.menu.TextItem-click"></a>\r
1439             <b>click</b> : (&nbsp;<code>Ext.menu.BaseItem this</code>, <code>Ext.EventObject e</code>&nbsp;)            <div class="mdesc">\r
1440                         <div class="short">Fires when this item is clicked</div>\r
1441             <div class="long">\r
1442                 Fires when this item is clicked    <div class="mdetail-params">\r
1443         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1444         <ul><li><code>this</code> : Ext.menu.BaseItem<div class="sub-desc"></div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc"></div></li>        </ul>\r
1445     </div>\r
1446                 </div>\r
1447                         </div>\r
1448         </td>\r
1449         <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#event-click" href="output/Ext.menu.BaseItem.html#event-click">BaseItem</a></td>\r
1450     </tr>\r
1451         <tr class="event-row inherited expandable">\r
1452         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1453         <td class="sig">\r
1454         <a id="Ext.menu.TextItem-deactivate"></a>\r
1455             <b>deactivate</b> : (&nbsp;<code>Ext.menu.BaseItem this</code>&nbsp;)            <div class="mdesc">\r
1456                         <div class="short">Fires when this item is deactivated</div>\r
1457             <div class="long">\r
1458                 Fires when this item is deactivated    <div class="mdetail-params">\r
1459         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1460         <ul><li><code>this</code> : Ext.menu.BaseItem<div class="sub-desc"></div></li>        </ul>\r
1461     </div>\r
1462                 </div>\r
1463                         </div>\r
1464         </td>\r
1465         <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#event-deactivate" href="output/Ext.menu.BaseItem.html#event-deactivate">BaseItem</a></td>\r
1466     </tr>\r
1467         <tr class="event-row inherited alt expandable">\r
1468         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1469         <td class="sig">\r
1470         <a id="Ext.menu.TextItem-destroy"></a>\r
1471             <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1472                         <div class="short">Fires after the component is destroyed.</div>\r
1473             <div class="long">\r
1474                 Fires after the component is destroyed.    <div class="mdetail-params">\r
1475         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1476         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1477     </div>\r
1478                 </div>\r
1479                         </div>\r
1480         </td>\r
1481         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>\r
1482     </tr>\r
1483         <tr class="event-row inherited expandable">\r
1484         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1485         <td class="sig">\r
1486         <a id="Ext.menu.TextItem-disable"></a>\r
1487             <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1488                         <div class="short">Fires after the component is disabled.</div>\r
1489             <div class="long">\r
1490                 Fires after the component is disabled.    <div class="mdetail-params">\r
1491         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1492         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1493     </div>\r
1494                 </div>\r
1495                         </div>\r
1496         </td>\r
1497         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>\r
1498     </tr>\r
1499         <tr class="event-row inherited alt expandable">\r
1500         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1501         <td class="sig">\r
1502         <a id="Ext.menu.TextItem-enable"></a>\r
1503             <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1504                         <div class="short">Fires after the component is enabled.</div>\r
1505             <div class="long">\r
1506                 Fires after the component is enabled.    <div class="mdetail-params">\r
1507         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1508         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1509     </div>\r
1510                 </div>\r
1511                         </div>\r
1512         </td>\r
1513         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>\r
1514     </tr>\r
1515         <tr class="event-row inherited expandable">\r
1516         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1517         <td class="sig">\r
1518         <a id="Ext.menu.TextItem-hide"></a>\r
1519             <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1520                         <div class="short">Fires after the component is hidden.</div>\r
1521             <div class="long">\r
1522                 Fires after the component is hidden.    <div class="mdetail-params">\r
1523         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1524         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1525     </div>\r
1526                 </div>\r
1527                         </div>\r
1528         </td>\r
1529         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>\r
1530     </tr>\r
1531         <tr class="event-row inherited alt expandable">\r
1532         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1533         <td class="sig">\r
1534         <a id="Ext.menu.TextItem-render"></a>\r
1535             <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1536                         <div class="short">Fires after the component is rendered.</div>\r
1537             <div class="long">\r
1538                 Fires after the component is rendered.    <div class="mdetail-params">\r
1539         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1540         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1541     </div>\r
1542                 </div>\r
1543                         </div>\r
1544         </td>\r
1545         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>\r
1546     </tr>\r
1547         <tr class="event-row inherited expandable">\r
1548         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1549         <td class="sig">\r
1550         <a id="Ext.menu.TextItem-show"></a>\r
1551             <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1552                         <div class="short">Fires after the component is shown.</div>\r
1553             <div class="long">\r
1554                 Fires after the component is shown.    <div class="mdetail-params">\r
1555         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1556         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1557     </div>\r
1558                 </div>\r
1559                         </div>\r
1560         </td>\r
1561         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>\r
1562     </tr>\r
1563         <tr class="event-row inherited alt expandable">\r
1564         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1565         <td class="sig">\r
1566         <a id="Ext.menu.TextItem-staterestore"></a>\r
1567             <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
1568                         <div class="short">Fires after the state of the component is restored.</div>\r
1569             <div class="long">\r
1570                 Fires after the state of the component is restored.    <div class="mdetail-params">\r
1571         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1572         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>\r
1573     </div>\r
1574                 </div>\r
1575                         </div>\r
1576         </td>\r
1577         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>\r
1578     </tr>\r
1579         <tr class="event-row inherited expandable">\r
1580         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1581         <td class="sig">\r
1582         <a id="Ext.menu.TextItem-statesave"></a>\r
1583             <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
1584                         <div class="short">Fires after the state of the component is saved to the configured state provider.</div>\r
1585             <div class="long">\r
1586                 Fires after the state of the component is saved to the configured state provider.    <div class="mdetail-params">\r
1587         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1588         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>\r
1589     </div>\r
1590                 </div>\r
1591                         </div>\r
1592         </td>\r
1593         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>\r
1594     </tr>\r
1595             </table>
1596         
1597         </div>