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