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

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

lib/:

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