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>
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>
22 <div class="description">
24 Adds a menu item that contains a checkbox by default, but can also be part of a radio group. </div>
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">
31 <th class="sig-header" colspan="2">Config Options</th>
32 <th class="msource-header">Defined By</th>
34 <tr class="config-row inherited">
\r
35 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
41 <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#activeClass" href="output/Ext.menu.BaseItem.html#activeClass">BaseItem</a></td>
\r
43 <tr class="config-row inherited alt">
\r
44 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
50 <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
\r
52 <tr class="config-row inherited expandable">
\r
53 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
62 <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
\r
64 <tr class="config-row inherited alt expandable">
\r
65 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
75 <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoEl" href="output/Ext.Component.html#autoEl">Component</a></td>
\r
77 <tr class="config-row inherited expandable">
\r
78 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
87 <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
\r
89 <tr class="config-row inherited alt">
\r
90 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
96 <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#canActivate" href="output/Ext.menu.BaseItem.html#canActivate">BaseItem</a></td>
\r
98 <tr class="config-row expandable">
\r
99 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
108 <td class="msource">CheckItem</td>
\r
110 <tr class="config-row inherited alt expandable">
\r
111 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
120 <td class="msource"><a ext:cls="Ext.Component" ext:member="#clearCls" href="output/Ext.Component.html#clearCls">Component</a></td>
\r
122 <tr class="config-row inherited expandable">
\r
123 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
132 <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
\r
134 <tr class="config-row inherited alt expandable">
\r
135 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
144 <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
\r
146 <tr class="config-row inherited">
\r
147 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
153 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
\r
155 <tr class="config-row inherited alt">
\r
156 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
162 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
\r
164 <tr class="config-row inherited expandable">
\r
165 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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({
173 renderTo: Ext.getBody(),
175 xtype: <em>'textfield'</em>,
176 fieldLabel: <em>'Name'</em>
178 });</code></pre> </div>
\r
181 <td class="msource"><a ext:cls="Ext.Component" ext:member="#fieldLabel" href="output/Ext.Component.html#fieldLabel">Component</a></td>
\r
183 <tr class="config-row alt expandable">
\r
184 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
190 All check items with the same group name will automatically be grouped into a single-select radio button group (defaults to '') </div>
\r
193 <td class="msource">CheckItem</td>
\r
195 <tr class="config-row">
\r
196 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
202 <td class="msource">CheckItem</td>
\r
204 <tr class="config-row inherited alt">
\r
205 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
211 <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#handler" href="output/Ext.menu.BaseItem.html#handler">BaseItem</a></td>
\r
213 <tr class="config-row inherited">
\r
214 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
220 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
\r
222 <tr class="config-row inherited alt">
\r
223 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
229 <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#hideDelay" href="output/Ext.menu.BaseItem.html#hideDelay">BaseItem</a></td>
\r
231 <tr class="config-row inherited expandable">
\r
232 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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({
240 renderTo: Ext.getBody(),
242 xtype: <em>'textfield'</em>
245 });</code></pre> </div>
\r
248 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideLabel" href="output/Ext.Component.html#hideLabel">Component</a></td>
\r
250 <tr class="config-row inherited alt expandable">
\r
251 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
260 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
\r
262 <tr class="config-row inherited">
\r
263 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
269 <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#hideOnClick" href="output/Ext.menu.BaseItem.html#hideOnClick">BaseItem</a></td>
\r
271 <tr class="config-row inherited alt expandable">
\r
272 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
281 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
\r
283 <tr class="config-row inherited">
\r
284 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
290 <td class="msource"><a ext:cls="Ext.menu.Item" ext:member="#href" href="output/Ext.menu.Item.html#href">Item</a></td>
\r
292 <tr class="config-row inherited alt">
\r
293 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
299 <td class="msource"><a ext:cls="Ext.menu.Item" ext:member="#hrefTarget" href="output/Ext.menu.Item.html#hrefTarget">Item</a></td>
\r
301 <tr class="config-row inherited expandable">
\r
302 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
311 <td class="msource"><a ext:cls="Ext.menu.Item" ext:member="#icon" href="output/Ext.menu.Item.html#icon">Item</a></td>
\r
313 <tr class="config-row inherited alt expandable">
\r
314 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
323 <td class="msource"><a ext:cls="Ext.menu.Item" ext:member="#iconCls" href="output/Ext.menu.Item.html#iconCls">Item</a></td>
\r
325 <tr class="config-row inherited expandable">
\r
326 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
335 <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
\r
337 <tr class="config-row alt">
\r
338 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
344 <td class="msource">CheckItem</td>
\r
346 <tr class="config-row inherited expandable">
\r
347 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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({
355 renderTo: Ext.getBody(),
357 xtype: <em>'textfield'</em>,
358 fieldLabel: <em>'Name'</em>,
359 labelSeparator: <em>'...'</em>
361 });</code></pre> </div>
\r
364 <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelSeparator" href="output/Ext.Component.html#labelSeparator">Component</a></td>
\r
366 <tr class="config-row inherited alt expandable">
\r
367 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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({
375 renderTo: Ext.getBody(),
377 xtype: <em>'textfield'</em>,
378 fieldLabel: <em>'Name'</em>,
379 labelStyle: <em>'font-weight:bold;'</em>
381 });</code></pre> </div>
\r
384 <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelStyle" href="output/Ext.Component.html#labelStyle">Component</a></td>
\r
386 <tr class="config-row inherited expandable">
\r
387 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
396 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
\r
398 <tr class="config-row inherited alt expandable">
\r
399 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
408 <td class="msource"><a ext:cls="Ext.menu.Item" ext:member="#menu" href="output/Ext.menu.Item.html#menu">Item</a></td>
\r
410 <tr class="config-row inherited expandable">
\r
411 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
420 <td class="msource"><a ext:cls="Ext.Component" ext:member="#overCls" href="output/Ext.Component.html#overCls">Component</a></td>
\r
422 <tr class="config-row inherited alt expandable">
\r
423 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
432 <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
\r
434 <tr class="config-row inherited expandable">
\r
435 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
444 <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
\r
446 <tr class="config-row inherited alt">
\r
447 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
453 <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#scope" href="output/Ext.menu.BaseItem.html#scope">BaseItem</a></td>
\r
455 <tr class="config-row inherited">
\r
456 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
462 <td class="msource"><a ext:cls="Ext.menu.Item" ext:member="#showDelay" href="output/Ext.menu.Item.html#showDelay">Item</a></td>
\r
464 <tr class="config-row inherited alt expandable">
\r
465 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
474 <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
\r
476 <tr class="config-row inherited expandable">
\r
477 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
486 <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
\r
488 <tr class="config-row inherited alt expandable">
\r
489 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
498 <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
\r
500 <tr class="config-row inherited expandable">
\r
501 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
510 <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
\r
512 <tr class="config-row inherited alt">
\r
513 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
519 <td class="msource"><a ext:cls="Ext.menu.Item" ext:member="#text" href="output/Ext.menu.Item.html#text">Item</a></td>
\r
521 <tr class="config-row inherited expandable">
\r
522 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
531 <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
\r
534 <a id="Ext.menu.CheckItem-props"></a>
535 <h2>Public Properties</h2>
536 <table cellspacing="0" class="member-table">
538 <th class="sig-header" colspan="2">Property</th>
539 <th class="msource-header">Defined By</th>
541 <tr class="property-row inherited">
\r
542 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
548 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
\r
550 <tr class="property-row inherited alt">
\r
551 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
553 <a id="Ext.menu.CheckItem-hidden"></a>
\r
554 <b>hidden</b> : Boolean <div class="mdesc">
\r
556 True if this component is hidden. Read-only. </div>
\r
558 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
\r
560 <tr class="property-row inherited">
\r
561 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
567 <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
\r
569 <tr class="property-row inherited alt expandable">
\r
570 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
581 <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
\r
583 <tr class="property-row inherited">
\r
584 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
590 <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#parentMenu" href="output/Ext.menu.BaseItem.html#parentMenu">BaseItem</a></td>
\r
592 <tr class="property-row inherited alt">
\r
593 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
599 <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
\r
602 <a id="Ext.menu.CheckItem-methods"></a>
603 <h2>Public Methods</h2>
604 <table cellspacing="0" class="member-table">
606 <th class="sig-header" colspan="2">Method</th>
607 <th class="msource-header">Defined By</th>
609 <tr class="method-row expandable">
\r
610 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
612 <a id="Ext.menu.CheckItem-CheckItem"></a>
\r
613 <b>CheckItem</b>( <code>Object config</code> ) <div class="mdesc">
\r
614 <div class="short">Creates a new CheckItem</div>
\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
621 <li><code></code></li>
\r
627 <td class="msource">CheckItem</td>
\r
629 <tr class="method-row inherited alt expandable">
\r
630 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
632 <a id="Ext.menu.CheckItem-addClass"></a>
\r
633 <b>addClass</b>( <code>string cls</code> ) : void <div class="mdesc">
\r
634 <div class="short">Adds a CSS class to the component's underlying element.</div>
\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
641 <li><code>void</code></li>
\r
647 <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
\r
649 <tr class="method-row inherited expandable">
\r
650 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
652 <a id="Ext.menu.CheckItem-addEvents"></a>
\r
653 <b>addEvents</b>( <code>Object object</code> ) : void <div class="mdesc">
\r
654 <div class="short">Used to define events on this Observable</div>
\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
661 <li><code>void</code></li>
\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
669 <tr class="method-row inherited alt expandable">
\r
670 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
672 <a id="Ext.menu.CheckItem-addListener"></a>
\r
673 <b>addListener</b>( <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> ) : void <div class="mdesc">
\r
674 <div class="short">Appends an event handler to this component</div>
\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>
689 <b>Combining Options</b><br>
690 Using the options argument, it is possible to combine different types of listeners:<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>, {
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.
705 fn: <b>this</b>.onClick,
709 <em>'mouseover'</em> : {
710 fn: <b>this</b>.onMouseOver,
713 <em>'mouseout'</em> : {
714 fn: <b>this</b>.onMouseOut,
719 Or a shorthand syntax:<br>
721 <em>'click'</em> : <b>this</b>.onClick,
722 <em>'mouseover'</em> : <b>this</b>.onMouseOver,
723 <em>'mouseout'</em> : <b>this</b>.onMouseOut,
725 });</code></pre></div></li> </ul>
\r
726 <strong>Returns:</strong>
\r
728 <li><code>void</code></li>
\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
736 <tr class="method-row inherited expandable">
\r
737 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
739 <a id="Ext.menu.CheckItem-applyToMarkup"></a>
\r
740 <b>applyToMarkup</b>( <code>String/HTMLElement el</code> ) : 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
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
748 <li><code>void</code></li>
\r
754 <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
\r
756 <tr class="method-row alt expandable">
\r
757 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
759 <a id="Ext.menu.CheckItem-checkHandler"></a>
\r
760 <b>checkHandler</b>( <code>Ext.menu.CheckItem this</code>, <code>Boolean checked</code> ) : 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
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
770 <li><code>void</code></li>
\r
776 <td class="msource">CheckItem</td>
\r
778 <tr class="method-row inherited expandable">
\r
779 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
781 <a id="Ext.menu.CheckItem-cloneConfig"></a>
\r
782 <b>cloneConfig</b>( <code>Object overrides</code> ) : 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
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
791 <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
\r
797 <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
\r
799 <tr class="method-row inherited alt expandable">
\r
800 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
815 <li><code>void</code></li>
\r
821 <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
\r
823 <tr class="method-row inherited expandable">
\r
824 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
835 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
841 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
\r
843 <tr class="method-row inherited alt expandable">
\r
844 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
855 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
861 <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
\r
863 <tr class="method-row inherited expandable">
\r
864 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
866 <a id="Ext.menu.CheckItem-findParentBy"></a>
\r
867 <b>findParentBy</b>( <code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : 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
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
877 <li><code>Ext.Container</code><div class="sub-desc">The first Container for which the custom function returns true</div></li>
\r
883 <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>
\r
885 <tr class="method-row inherited alt expandable">
\r
886 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
888 <a id="Ext.menu.CheckItem-findParentByType"></a>
\r
889 <b>findParentByType</b>( <code>String/Class xtype</code> ) : 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
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
897 <li><code>Ext.Container</code><div class="sub-desc">The first Container which matches the given xtype or class</div></li>
\r
903 <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>
\r
905 <tr class="method-row inherited expandable">
\r
906 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
908 <a id="Ext.menu.CheckItem-fireEvent"></a>
\r
909 <b>fireEvent</b>( <code>String eventName</code>, <code>Object... args</code> ) : Boolean <div class="mdesc">
\r
910 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
\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
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
923 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
\r
925 <tr class="method-row inherited alt expandable">
\r
926 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
928 <a id="Ext.menu.CheckItem-focus"></a>
\r
929 <b>focus</b>( <span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span> ) : Ext.Component <div class="mdesc">
\r
930 <div class="short">Try to focus this component.</div>
\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
937 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
943 <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
\r
945 <tr class="method-row inherited expandable">
\r
946 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
957 <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
\r
963 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
\r
965 <tr class="method-row inherited alt expandable">
\r
966 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
977 <li><code>String</code></li>
\r
983 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
\r
985 <tr class="method-row inherited expandable">
\r
986 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
997 <li><code>String</code></li>
\r
1003 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
\r
1005 <tr class="method-row inherited alt expandable">
\r
1006 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1021 <li><code>String</code><div class="sub-desc">The xtype</div></li>
\r
1027 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
\r
1029 <tr class="method-row inherited expandable">
\r
1030 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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>
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
1049 <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
\r
1055 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
\r
1057 <tr class="method-row inherited alt expandable">
\r
1058 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1060 <a id="Ext.menu.CheckItem-hasListener"></a>
\r
1061 <b>hasListener</b>( <code>String eventName</code> ) : 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
1069 <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
\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
1077 <tr class="method-row inherited expandable">
\r
1078 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1089 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1095 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
\r
1097 <tr class="method-row inherited alt expandable">
\r
1098 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1109 <li><code>void</code></li>
\r
1115 <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
\r
1117 <tr class="method-row inherited expandable">
\r
1118 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1120 <a id="Ext.menu.CheckItem-isXType"></a>
\r
1121 <b>isXType</b>( <code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span> ) : 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
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
1140 <li><code>void</code></li>
\r
1146 <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
\r
1148 <tr class="method-row inherited alt expandable">
\r
1149 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1151 <a id="Ext.menu.CheckItem-on"></a>
\r
1152 <b>on</b>( <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> ) : 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
1161 <li><code>void</code></li>
\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
1169 <tr class="method-row inherited expandable">
\r
1170 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1181 <li><code>void</code></li>
\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
1189 <tr class="method-row inherited alt expandable">
\r
1190 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1192 <a id="Ext.menu.CheckItem-relayEvents"></a>
\r
1193 <b>relayEvents</b>( <code>Object o</code>, <code>Array events</code> ) : 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
1201 <li><code>void</code></li>
\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
1209 <tr class="method-row inherited expandable">
\r
1210 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1212 <a id="Ext.menu.CheckItem-removeClass"></a>
\r
1213 <b>removeClass</b>( <code>string cls</code> ) : 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
1221 <li><code>void</code></li>
\r
1227 <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
\r
1229 <tr class="method-row inherited alt expandable">
\r
1230 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1232 <a id="Ext.menu.CheckItem-removeListener"></a>
\r
1233 <b>removeListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : 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
1241 <li><code>void</code></li>
\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
1249 <tr class="method-row inherited expandable">
\r
1250 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1252 <a id="Ext.menu.CheckItem-render"></a>
\r
1253 <b>render</b>( <span class="optional" title="Optional">[<code>Element/HTMLElement/String container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span> ) : 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
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
1283 <li><code>void</code></li>
\r
1289 <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
\r
1291 <tr class="method-row inherited alt expandable">
\r
1292 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1303 <li><code>void</code></li>
\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
1311 <tr class="method-row expandable">
\r
1312 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1314 <a id="Ext.menu.CheckItem-setChecked"></a>
\r
1315 <b>setChecked</b>( <code>Boolean checked</code>, <span class="optional" title="Optional">[<code>Boolean suppressEvent</code>]</span> ) : 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
1323 <li><code>void</code></li>
\r
1329 <td class="msource">CheckItem</td>
\r
1331 <tr class="method-row inherited alt expandable">
\r
1332 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1334 <a id="Ext.menu.CheckItem-setDisabled"></a>
\r
1335 <b>setDisabled</b>( <code>Boolean disabled</code> ) : 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
1343 <li><code>void</code></li>
\r
1349 <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
\r
1351 <tr class="method-row inherited expandable">
\r
1352 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1354 <a id="Ext.menu.CheckItem-setHandler"></a>
\r
1355 <b>setHandler</b>( <code>Function handler</code>, <code>Object scope</code> ) : 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
1365 <li><code>void</code></li>
\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
1373 <tr class="method-row inherited alt expandable">
\r
1374 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1376 <a id="Ext.menu.CheckItem-setIconClass"></a>
\r
1377 <b>setIconClass</b>( <code>String cls</code> ) : 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
1385 <li><code>void</code></li>
\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
1393 <tr class="method-row inherited expandable">
\r
1394 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1396 <a id="Ext.menu.CheckItem-setText"></a>
\r
1397 <b>setText</b>( <code>String text</code> ) : 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
1405 <li><code>void</code></li>
\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
1413 <tr class="method-row inherited alt expandable">
\r
1414 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1416 <a id="Ext.menu.CheckItem-setVisible"></a>
\r
1417 <b>setVisible</b>( <code>Boolean visible</code> ) : 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
1425 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1431 <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
\r
1433 <tr class="method-row inherited expandable">
\r
1434 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1445 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1451 <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
\r
1453 <tr class="method-row inherited alt expandable">
\r
1454 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1465 <li><code>void</code></li>
\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
1473 <tr class="method-row inherited expandable">
\r
1474 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1476 <a id="Ext.menu.CheckItem-un"></a>
\r
1477 <b>un</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : 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
1485 <li><code>void</code></li>
\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
1494 <a id="Ext.menu.CheckItem-events"></a>
1495 <h2>Public Events</h2>
1496 <table cellspacing="0" class="member-table">
1498 <th class="sig-header" colspan="2">Event</th>
1499 <th class="msource-header">Defined By</th>
1501 <tr class="event-row inherited expandable">
\r
1502 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1504 <a id="Ext.menu.CheckItem-activate"></a>
\r
1505 <b>activate</b> : ( <code>Ext.menu.BaseItem this</code> ) <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
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
1517 <tr class="event-row alt expandable">
\r
1518 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1520 <a id="Ext.menu.CheckItem-beforecheckchange"></a>
\r
1521 <b>beforecheckchange</b> : ( <code>Ext.menu.CheckItem this</code>, <code>Boolean checked</code> ) <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
1531 <td class="msource">CheckItem</td>
\r
1533 <tr class="event-row inherited expandable">
\r
1534 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1536 <a id="Ext.menu.CheckItem-beforedestroy"></a>
\r
1537 <b>beforedestroy</b> : ( <code>Ext.Component this</code> ) <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
1547 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
\r
1549 <tr class="event-row inherited alt expandable">
\r
1550 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1552 <a id="Ext.menu.CheckItem-beforehide"></a>
\r
1553 <b>beforehide</b> : ( <code>Ext.Component this</code> ) <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
1563 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
\r
1565 <tr class="event-row inherited expandable">
\r
1566 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1568 <a id="Ext.menu.CheckItem-beforerender"></a>
\r
1569 <b>beforerender</b> : ( <code>Ext.Component this</code> ) <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
1579 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
\r
1581 <tr class="event-row inherited alt expandable">
\r
1582 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1584 <a id="Ext.menu.CheckItem-beforeshow"></a>
\r
1585 <b>beforeshow</b> : ( <code>Ext.Component this</code> ) <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
1595 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
\r
1597 <tr class="event-row inherited expandable">
\r
1598 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1600 <a id="Ext.menu.CheckItem-beforestaterestore"></a>
\r
1601 <b>beforestaterestore</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <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
1611 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
\r
1613 <tr class="event-row inherited alt expandable">
\r
1614 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1616 <a id="Ext.menu.CheckItem-beforestatesave"></a>
\r
1617 <b>beforestatesave</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <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
1627 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
\r
1629 <tr class="event-row expandable">
\r
1630 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1632 <a id="Ext.menu.CheckItem-checkchange"></a>
\r
1633 <b>checkchange</b> : ( <code>Ext.menu.CheckItem this</code>, <code>Boolean checked</code> ) <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
1643 <td class="msource">CheckItem</td>
\r
1645 <tr class="event-row inherited alt expandable">
\r
1646 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1648 <a id="Ext.menu.CheckItem-click"></a>
\r
1649 <b>click</b> : ( <code>Ext.menu.BaseItem this</code>, <code>Ext.EventObject e</code> ) <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
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
1661 <tr class="event-row inherited expandable">
\r
1662 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1664 <a id="Ext.menu.CheckItem-deactivate"></a>
\r
1665 <b>deactivate</b> : ( <code>Ext.menu.BaseItem this</code> ) <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
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
1677 <tr class="event-row inherited alt expandable">
\r
1678 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1680 <a id="Ext.menu.CheckItem-destroy"></a>
\r
1681 <b>destroy</b> : ( <code>Ext.Component this</code> ) <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
1691 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
\r
1693 <tr class="event-row inherited expandable">
\r
1694 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1696 <a id="Ext.menu.CheckItem-disable"></a>
\r
1697 <b>disable</b> : ( <code>Ext.Component this</code> ) <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
1707 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
\r
1709 <tr class="event-row inherited alt expandable">
\r
1710 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1712 <a id="Ext.menu.CheckItem-enable"></a>
\r
1713 <b>enable</b> : ( <code>Ext.Component this</code> ) <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
1723 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
\r
1725 <tr class="event-row inherited expandable">
\r
1726 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1728 <a id="Ext.menu.CheckItem-hide"></a>
\r
1729 <b>hide</b> : ( <code>Ext.Component this</code> ) <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
1739 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
\r
1741 <tr class="event-row inherited alt expandable">
\r
1742 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1744 <a id="Ext.menu.CheckItem-render"></a>
\r
1745 <b>render</b> : ( <code>Ext.Component this</code> ) <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
1755 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
\r
1757 <tr class="event-row inherited expandable">
\r
1758 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1760 <a id="Ext.menu.CheckItem-show"></a>
\r
1761 <b>show</b> : ( <code>Ext.Component this</code> ) <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
1771 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
\r
1773 <tr class="event-row inherited alt expandable">
\r
1774 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1776 <a id="Ext.menu.CheckItem-staterestore"></a>
\r
1777 <b>staterestore</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <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
1787 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
\r
1789 <tr class="event-row inherited expandable">
\r
1790 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1792 <a id="Ext.menu.CheckItem-statesave"></a>
\r
1793 <b>statesave</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <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
1803 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
\r