source: trunk/web/addons/job_monarch/lib/extjs/docs/output/Ext.menu.Item.html @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

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