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