Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 aperonnet 1
        <div class="body-wrap">
2
        <div class="top-tools">
3
            <a class="inner-link" href="#Ext.CycleButton-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4
            <a class="inner-link" href="#Ext.CycleButton-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5
            <a class="inner-link" href="#Ext.CycleButton-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6
                            <a class="inner-link" href="#Ext.CycleButton-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7
                        <a class="bookmark" href="../docs/?class=Ext.CycleButton"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8
        </div>
9
                <div class="inheritance res-block">
10
<pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
11
  <img src="resources/elbow-end.gif"/><a ext:cls="Ext.Component" ext:member="" href="output/Ext.Component.html">Component</a>
12
    <img src="resources/elbow-end.gif"/><a ext:cls="Ext.Button" ext:member="" href="output/Ext.Button.html">Button</a>
13
      <img src="resources/elbow-end.gif"/><a ext:cls="Ext.SplitButton" ext:member="" href="output/Ext.SplitButton.html">SplitButton</a>
14
        <img src="resources/elbow-end.gif"/>CycleButton</pre></div>
15
                <h1>Class Ext.CycleButton</h1>
16
        <table cellspacing="0">
17
            <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
18
            <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/widgets/CycleButton.js" target="_blank">CycleButton.js</a></td></tr>
19
            <tr><td class="label">Class:</td><td class="hd-info">CycleButton</td></tr>
20
                                    <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.SplitButton" ext:member="" href="output/Ext.SplitButton.html">SplitButton</a></td></tr>
21
                    </table>
22
        <div class="description">
23
            A specialized SplitButton that contains a menu of <a ext:cls="Ext.menu.CheckItem" href="output/Ext.menu.CheckItem.html">Ext.menu.CheckItem</a> elements.  The button automatically
24
cycles through each menu item on click, raising the button's <a ext:cls="Ext.CycleButton" ext:member="change" href="output/Ext.CycleButton.html#change">change</a> event (or calling the button's
25
<a ext:cls="Ext.CycleButton" ext:member="changeHandler" href="output/Ext.CycleButton.html#changeHandler">changeHandler</a> function, if supplied) for the active menu item. Clicking on the arrow section of the
26
button displays the dropdown menu just like a normal SplitButton.  Example usage:
27
<pre><code>var btn = <b>new</b> Ext.CycleButton({
28
    showText: true,
29
    prependText: <em>'View as '</em>,
30
    items: [{
31
        text:<em>'text only'</em>,
32
        iconCls:<em>'view-text'</em>,
33
        checked:true
34
    },{
35
        text:<em>'HTML'</em>,
36
        iconCls:<em>'view-html'</em>
37
    }],
38
    changeHandler:<b>function</b>(btn, item){
39
        Ext.Msg.alert(<em>'Change View'</em>, item.text);
40
    }
41
});</code></pre>        </div>
42
 
43
        <div class="hr"></div>
44
                <a id="Ext.CycleButton-configs"></a>
45
        <h2>Config Options</h2>
46
        <table cellspacing="0" class="member-table">
47
            <tr>
48
                <th class="sig-header" colspan="2">Config Options</th>
49
                <th class="msource-header">Defined By</th>
50
            </tr>
51
                <tr class="config-row inherited">
52
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
53
        <td class="sig">
54
        <a id="Ext.CycleButton-allowDomMove"></a>
55
            <b>allowDomMove</b> : Boolean            <div class="mdesc">
56
                            Whether the component can move the Dom node when rendering (defaults to true).                        </div>
57
        </td>
58
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
59
    </tr>
60
        <tr class="config-row inherited alt expandable">
61
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
62
        <td class="sig">
63
        <a id="Ext.CycleButton-applyTo"></a>
64
            <b>applyTo</b> : Mixed            <div class="mdesc">
65
                        <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>
66
            <div class="long">
67
                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>
68
                        </div>
69
        </td>
70
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
71
    </tr>
72
        <tr class="config-row inherited">
73
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
74
        <td class="sig">
75
        <a id="Ext.CycleButton-arrowHandler"></a>
76
            <b>arrowHandler</b> : Function            <div class="mdesc">
77
                            A function called when the arrow button is clicked (can be used instead of click event)                        </div>
78
        </td>
79
        <td class="msource"><a ext:cls="Ext.SplitButton" ext:member="#arrowHandler" href="output/Ext.SplitButton.html#arrowHandler">SplitButton</a></td>
80
    </tr>
81
        <tr class="config-row inherited alt">
82
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
83
        <td class="sig">
84
        <a id="Ext.CycleButton-arrowTooltip"></a>
85
            <b>arrowTooltip</b> : String            <div class="mdesc">
86
                            The title attribute of the arrow                        </div>
87
        </td>
88
        <td class="msource"><a ext:cls="Ext.SplitButton" ext:member="#arrowTooltip" href="output/Ext.SplitButton.html#arrowTooltip">SplitButton</a></td>
89
    </tr>
90
        <tr class="config-row inherited expandable">
91
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
92
        <td class="sig">
93
        <a id="Ext.CycleButton-autoShow"></a>
94
            <b>autoShow</b> : Boolean            <div class="mdesc">
95
                        <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>
96
            <div class="long">
97
                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>
98
                        </div>
99
        </td>
100
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
101
    </tr>
102
        <tr class="config-row alt expandable">
103
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
104
        <td class="sig">
105
        <a id="Ext.CycleButton-changeHandler"></a>
106
            <b>changeHandler</b> : Function            <div class="mdesc">
107
                        <div class="short">A callback function that will be invoked each time the active menu item in the button's menu has changed. If this cal...</div>
108
            <div class="long">
109
                A callback function that will be invoked each time the active menu item in the button's menu has changed. If this callback is not supplied, the SplitButton will instead fire the <a ext:cls="Ext.CycleButton" ext:member="change" href="output/Ext.CycleButton.html#change">change</a> event on active item change. The changeHandler function will be called with the following argument list: (SplitButton this, Ext.menu.CheckItem item)            </div>
110
                        </div>
111
        </td>
112
        <td class="msource">CycleButton</td>
113
    </tr>
114
        <tr class="config-row inherited">
115
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
116
        <td class="sig">
117
        <a id="Ext.CycleButton-clickEvent"></a>
118
            <b>clickEvent</b> : String            <div class="mdesc">
119
                            The type of event to map to the button's event handler (defaults to 'click')                        </div>
120
        </td>
121
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#clickEvent" href="output/Ext.Button.html#clickEvent">Button</a></td>
122
    </tr>
123
        <tr class="config-row inherited alt expandable">
124
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
125
        <td class="sig">
126
        <a id="Ext.CycleButton-cls"></a>
127
            <b>cls</b> : String            <div class="mdesc">
128
                        <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>
129
            <div class="long">
130
                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>
131
                        </div>
132
        </td>
133
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
134
    </tr>
135
        <tr class="config-row inherited expandable">
136
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
137
        <td class="sig">
138
        <a id="Ext.CycleButton-ctCls"></a>
139
            <b>ctCls</b> : String            <div class="mdesc">
140
                        <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>
141
            <div class="long">
142
                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>
143
                        </div>
144
        </td>
145
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
146
    </tr>
147
        <tr class="config-row inherited alt">
148
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
149
        <td class="sig">
150
        <a id="Ext.CycleButton-disabled"></a>
151
            <b>disabled</b> : Boolean            <div class="mdesc">
152
                            True to start disabled (defaults to false)                        </div>
153
        </td>
154
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#disabled" href="output/Ext.Button.html#disabled">Button</a></td>
155
    </tr>
156
        <tr class="config-row inherited">
157
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
158
        <td class="sig">
159
        <a id="Ext.CycleButton-disabledClass"></a>
160
            <b>disabledClass</b> : String            <div class="mdesc">
161
                            CSS class added to the component when it is disabled (defaults to "x-item-disabled").                        </div>
162
        </td>
163
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
164
    </tr>
165
        <tr class="config-row inherited alt">
166
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
167
        <td class="sig">
168
        <a id="Ext.CycleButton-enableToggle"></a>
169
            <b>enableToggle</b> : Boolean            <div class="mdesc">
170
                            True to enable pressed/not pressed toggling (defaults to false)                        </div>
171
        </td>
172
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#enableToggle" href="output/Ext.Button.html#enableToggle">Button</a></td>
173
    </tr>
174
        <tr class="config-row expandable">
175
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
176
        <td class="sig">
177
        <a id="Ext.CycleButton-forceIcon"></a>
178
            <b>forceIcon</b> : String            <div class="mdesc">
179
                        <div class="short">A css class which sets an image to be used as the static icon for this button. This icon will always be displayed reg...</div>
180
            <div class="long">
181
                A css class which sets an image to be used as the static icon for this button. This icon will always be displayed regardless of which item is selected in the dropdown list. This overrides the default behavior of changing the button's icon to match the selected item's icon on change.            </div>
182
                        </div>
183
        </td>
184
        <td class="msource">CycleButton</td>
185
    </tr>
186
        <tr class="config-row inherited alt">
187
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
188
        <td class="sig">
189
        <a id="Ext.CycleButton-handleMouseEvents"></a>
190
            <b>handleMouseEvents</b> : Boolean            <div class="mdesc">
191
                            False to disable visual cues on mouseover, mouseout and mousedown (defaults to true)                        </div>
192
        </td>
193
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#handleMouseEvents" href="output/Ext.Button.html#handleMouseEvents">Button</a></td>
194
    </tr>
195
        <tr class="config-row inherited">
196
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
197
        <td class="sig">
198
        <a id="Ext.CycleButton-handler"></a>
199
            <b>handler</b> : Function            <div class="mdesc">
200
                            A function called when the button is clicked (can be used instead of click event)                        </div>
201
        </td>
202
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#handler" href="output/Ext.Button.html#handler">Button</a></td>
203
    </tr>
204
        <tr class="config-row inherited alt">
205
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
206
        <td class="sig">
207
        <a id="Ext.CycleButton-hidden"></a>
208
            <b>hidden</b> : Boolean            <div class="mdesc">
209
                            True to start hidden (defaults to false)                        </div>
210
        </td>
211
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#hidden" href="output/Ext.Button.html#hidden">Button</a></td>
212
    </tr>
213
        <tr class="config-row inherited expandable">
214
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
215
        <td class="sig">
216
        <a id="Ext.CycleButton-hideMode"></a>
217
            <b>hideMode</b> : String            <div class="mdesc">
218
                        <div class="short">How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset posi...</div>
219
            <div class="long">
220
                How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display".            </div>
221
                        </div>
222
        </td>
223
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
224
    </tr>
225
        <tr class="config-row inherited alt expandable">
226
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
227
        <td class="sig">
228
        <a id="Ext.CycleButton-hideParent"></a>
229
            <b>hideParent</b> : Boolean            <div class="mdesc">
230
                        <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>
231
            <div class="long">
232
                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>
233
                        </div>
234
        </td>
235
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
236
    </tr>
237
        <tr class="config-row inherited expandable">
238
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
239
        <td class="sig">
240
        <a id="Ext.CycleButton-icon"></a>
241
            <b>icon</b> : String            <div class="mdesc">
242
                        <div class="short">The path to an image to display in the button (the image will be set as the background-image CSS property of the butt...</div>
243
            <div class="long">
244
                The path to an image to display in the button (the image will be set as the background-image CSS property of the button by default, so if you want a mixed icon/text button, set cls:"x-btn-text-icon")            </div>
245
                        </div>
246
        </td>
247
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#icon" href="output/Ext.Button.html#icon">Button</a></td>
248
    </tr>
249
        <tr class="config-row inherited alt">
250
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
251
        <td class="sig">
252
        <a id="Ext.CycleButton-iconCls"></a>
253
            <b>iconCls</b> : String            <div class="mdesc">
254
                            A css class which sets a background image to be used as the icon for this button                        </div>
255
        </td>
256
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#iconCls" href="output/Ext.Button.html#iconCls">Button</a></td>
257
    </tr>
258
        <tr class="config-row inherited">
259
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
260
        <td class="sig">
261
        <a id="Ext.CycleButton-id"></a>
262
            <b>id</b> : String            <div class="mdesc">
263
                            The unique id of this component (defaults to an auto-assigned id).                        </div>
264
        </td>
265
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
266
    </tr>
267
        <tr class="config-row alt expandable">
268
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
269
        <td class="sig">
270
        <a id="Ext.CycleButton-items"></a>
271
            <b>items</b> : Array            <div class="mdesc">
272
                        <div class="short">An array of Ext.menu.CheckItem config objects to be used when creating the button's menu items (e.g., {text:'Foo', ic...</div>
273
            <div class="long">
274
                An array of <a ext:cls="Ext.menu.CheckItem" href="output/Ext.menu.CheckItem.html">Ext.menu.CheckItem</a> <b>config</b> objects to be used when creating the button's menu items (e.g., {text:'Foo', iconCls:'foo-icon'})            </div>
275
                        </div>
276
        </td>
277
        <td class="msource">CycleButton</td>
278
    </tr>
279
        <tr class="config-row inherited expandable">
280
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
281
        <td class="sig">
282
        <a id="Ext.CycleButton-listeners"></a>
283
            <b>listeners</b> : Object            <div class="mdesc">
284
                        <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
285
            <div class="long">
286
                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>
287
                        </div>
288
        </td>
289
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
290
    </tr>
291
        <tr class="config-row inherited alt expandable">
292
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
293
        <td class="sig">
294
        <a id="Ext.CycleButton-menu"></a>
295
            <b>menu</b> : Mixed            <div class="mdesc">
296
                        <div class="short">Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to unde...</div>
297
            <div class="long">
298
                Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to undefined).            </div>
299
                        </div>
300
        </td>
301
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#menu" href="output/Ext.Button.html#menu">Button</a></td>
302
    </tr>
303
        <tr class="config-row inherited">
304
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
305
        <td class="sig">
306
        <a id="Ext.CycleButton-menuAlign"></a>
307
            <b>menuAlign</b> : String            <div class="mdesc">
308
                            The position to align the menu to (see <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">Ext.Element.alignTo</a> for more details, defaults to 'tl-bl?').                        </div>
309
        </td>
310
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#menuAlign" href="output/Ext.Button.html#menuAlign">Button</a></td>
311
    </tr>
312
        <tr class="config-row inherited alt">
313
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
314
        <td class="sig">
315
        <a id="Ext.CycleButton-minWidth"></a>
316
            <b>minWidth</b> : Number            <div class="mdesc">
317
                            The minimum width for this button (used to give a set of buttons a common width)                        </div>
318
        </td>
319
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#minWidth" href="output/Ext.Button.html#minWidth">Button</a></td>
320
    </tr>
321
        <tr class="config-row inherited expandable">
322
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
323
        <td class="sig">
324
        <a id="Ext.CycleButton-plugins"></a>
325
            <b>plugins</b> : Object/Array            <div class="mdesc">
326
                        <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
327
            <div class="long">
328
                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>
329
                        </div>
330
        </td>
331
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
332
    </tr>
333
        <tr class="config-row alt expandable">
334
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
335
        <td class="sig">
336
        <a id="Ext.CycleButton-prependText"></a>
337
            <b>prependText</b> : String            <div class="mdesc">
338
                        <div class="short">A static string to prepend before the active item's text when displayed as the button's text (only applies when showT...</div>
339
            <div class="long">
340
                A static string to prepend before the active item's text when displayed as the button's text (only applies when showText = true, defaults to '')            </div>
341
                        </div>
342
        </td>
343
        <td class="msource">CycleButton</td>
344
    </tr>
345
        <tr class="config-row inherited">
346
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
347
        <td class="sig">
348
        <a id="Ext.CycleButton-pressed"></a>
349
            <b>pressed</b> : Boolean            <div class="mdesc">
350
                            True to start pressed (only if enableToggle = true)                        </div>
351
        </td>
352
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#pressed" href="output/Ext.Button.html#pressed">Button</a></td>
353
    </tr>
354
        <tr class="config-row inherited alt expandable">
355
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
356
        <td class="sig">
357
        <a id="Ext.CycleButton-renderTo"></a>
358
            <b>renderTo</b> : Mixed            <div class="mdesc">
359
                        <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>
360
            <div class="long">
361
                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>
362
                        </div>
363
        </td>
364
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
365
    </tr>
366
        <tr class="config-row inherited expandable">
367
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
368
        <td class="sig">
369
        <a id="Ext.CycleButton-repeat"></a>
370
            <b>repeat</b> : Boolean/Object            <div class="mdesc">
371
                        <div class="short">True to repeat fire the click event while the mouse is down. This can also be an Ext.util.ClickRepeater config object...</div>
372
            <div class="long">
373
                True to repeat fire the click event while the mouse is down. This can also be an <a ext:cls="Ext.util.ClickRepeater" href="output/Ext.util.ClickRepeater.html">Ext.util.ClickRepeater</a> config object (defaults to false).            </div>
374
                        </div>
375
        </td>
376
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#repeat" href="output/Ext.Button.html#repeat">Button</a></td>
377
    </tr>
378
        <tr class="config-row inherited alt">
379
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
380
        <td class="sig">
381
        <a id="Ext.CycleButton-scope"></a>
382
            <b>scope</b> : Object            <div class="mdesc">
383
                            The scope of the handler                        </div>
384
        </td>
385
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#scope" href="output/Ext.Button.html#scope">Button</a></td>
386
    </tr>
387
        <tr class="config-row">
388
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
389
        <td class="sig">
390
        <a id="Ext.CycleButton-showText"></a>
391
            <b>showText</b> : Boolean            <div class="mdesc">
392
                            True to display the active item's text as the button text (defaults to false)                        </div>
393
        </td>
394
        <td class="msource">CycleButton</td>
395
    </tr>
396
        <tr class="config-row inherited alt expandable">
397
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
398
        <td class="sig">
399
        <a id="Ext.CycleButton-stateEvents"></a>
400
            <b>stateEvents</b> : Array            <div class="mdesc">
401
                        <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>
402
            <div class="long">
403
                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>
404
                        </div>
405
        </td>
406
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
407
    </tr>
408
        <tr class="config-row inherited expandable">
409
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
410
        <td class="sig">
411
        <a id="Ext.CycleButton-stateId"></a>
412
            <b>stateId</b> : String            <div class="mdesc">
413
                        <div class="short">The unique id for this component to use for state management purposes (defaults to the component id). See stateful fo...</div>
414
            <div class="long">
415
                The unique id for this component to use for state management purposes (defaults to the component 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>
416
                        </div>
417
        </td>
418
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
419
    </tr>
420
        <tr class="config-row inherited alt expandable">
421
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
422
        <td class="sig">
423
        <a id="Ext.CycleButton-stateful"></a>
424
            <b>stateful</b> : Boolean            <div class="mdesc">
425
                        <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>
426
            <div class="long">
427
                A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup.<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="staterestore" href="output/staterestore.html">staterestore</a>, <a ext:cls="beforestatesave" href="output/beforestatesave.html">beforestatesave</a> and <a ext:cls="statesave" href="output/statesave.html">statesave</a> events</p>            </div>
428
                        </div>
429
        </td>
430
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
431
    </tr>
432
        <tr class="config-row inherited expandable">
433
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
434
        <td class="sig">
435
        <a id="Ext.CycleButton-style"></a>
436
            <b>style</b> : String            <div class="mdesc">
437
                        <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>
438
            <div class="long">
439
                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>
440
                        </div>
441
        </td>
442
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
443
    </tr>
444
        <tr class="config-row inherited alt">
445
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
446
        <td class="sig">
447
        <a id="Ext.CycleButton-tabIndex"></a>
448
            <b>tabIndex</b> : Number            <div class="mdesc">
449
                            Set a DOM tabIndex for this button (defaults to undefined)                        </div>
450
        </td>
451
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tabIndex" href="output/Ext.Button.html#tabIndex">Button</a></td>
452
    </tr>
453
        <tr class="config-row inherited">
454
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
455
        <td class="sig">
456
        <a id="Ext.CycleButton-text"></a>
457
            <b>text</b> : String            <div class="mdesc">
458
                            The button text                        </div>
459
        </td>
460
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#text" href="output/Ext.Button.html#text">Button</a></td>
461
    </tr>
462
        <tr class="config-row inherited alt">
463
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
464
        <td class="sig">
465
        <a id="Ext.CycleButton-toggleGroup"></a>
466
            <b>toggleGroup</b> : String            <div class="mdesc">
467
                            The group this toggle button is a member of (only 1 per group can be pressed, only applies if enableToggle = true)                        </div>
468
        </td>
469
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#toggleGroup" href="output/Ext.Button.html#toggleGroup">Button</a></td>
470
    </tr>
471
        <tr class="config-row inherited">
472
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
473
        <td class="sig">
474
        <a id="Ext.CycleButton-tooltip"></a>
475
            <b>tooltip</b> : String/Object            <div class="mdesc">
476
                            The tooltip for the button - can be a string or QuickTips config object                        </div>
477
        </td>
478
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tooltip" href="output/Ext.Button.html#tooltip">Button</a></td>
479
    </tr>
480
        <tr class="config-row inherited alt">
481
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
482
        <td class="sig">
483
        <a id="Ext.CycleButton-tooltipType"></a>
484
            <b>tooltipType</b> : String            <div class="mdesc">
485
                            The type of tooltip to use. Either "qtip" (default) for QuickTips or "title" for title attribute.                        </div>
486
        </td>
487
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tooltipType" href="output/Ext.Button.html#tooltipType">Button</a></td>
488
    </tr>
489
        <tr class="config-row inherited">
490
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
491
        <td class="sig">
492
        <a id="Ext.CycleButton-type"></a>
493
            <b>type</b> : String            <div class="mdesc">
494
                            submit, reset or button - defaults to 'button'                        </div>
495
        </td>
496
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#type" href="output/Ext.Button.html#type">Button</a></td>
497
    </tr>
498
        <tr class="config-row inherited alt expandable">
499
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
500
        <td class="sig">
501
        <a id="Ext.CycleButton-xtype"></a>
502
            <b>xtype</b> : String            <div class="mdesc">
503
                        <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
504
            <div class="long">
505
                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>
506
                        </div>
507
        </td>
508
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
509
    </tr>
510
            </table>
511
                <a id="Ext.CycleButton-props"></a>
512
        <h2>Public Properties</h2>
513
                <table cellspacing="0" class="member-table">
514
            <tr>
515
                <th class="sig-header" colspan="2">Property</th>
516
                <th class="msource-header">Defined By</th>
517
            </tr>
518
                <tr class="property-row inherited">
519
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
520
        <td class="sig">
521
        <a id="Ext.CycleButton-disabled"></a>
522
            <b>disabled</b> : Boolean            <div class="mdesc">
523
                            True if this component is disabled. Read-only.                        </div>
524
        </td>
525
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
526
    </tr>
527
        <tr class="property-row inherited alt">
528
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
529
        <td class="sig">
530
        <a id="Ext.CycleButton-hidden"></a>
531
            <b>hidden</b> : Boolean            <div class="mdesc">
532
 
533
True if this component is hidden. Read-only.                        </div>
534
        </td>
535
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
536
    </tr>
537
        <tr class="property-row inherited">
538
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
539
        <td class="sig">
540
        <a id="Ext.CycleButton-initialConfig"></a>
541
            <b>initialConfig</b> : Object            <div class="mdesc">
542
                            This Component's initial configuration specification. Read-only.                        </div>
543
        </td>
544
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
545
    </tr>
546
        <tr class="property-row inherited alt expandable">
547
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
548
        <td class="sig">
549
        <a id="Ext.CycleButton-ownerCt"></a>
550
            <b>ownerCt</b> : Ext.Container            <div class="mdesc">
551
                        <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
552
the component is added to a...</div>
553
            <div class="long">
554
                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
555
the component is added to a container).  Read-only.            </div>
556
                        </div>
557
        </td>
558
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
559
    </tr>
560
        <tr class="property-row inherited">
561
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
562
        <td class="sig">
563
        <a id="Ext.CycleButton-pressed"></a>
564
            <b>pressed</b> : Boolean            <div class="mdesc">
565
                            Read-only. True if this button is pressed (only if enableToggle = true)                        </div>
566
        </td>
567
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#pressed" href="output/Ext.Button.html#pressed">Button</a></td>
568
    </tr>
569
        <tr class="property-row inherited alt">
570
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
571
        <td class="sig">
572
        <a id="Ext.CycleButton-rendered"></a>
573
            <b>rendered</b> : Boolean            <div class="mdesc">
574
                            True if this component has been rendered. Read-only.                        </div>
575
        </td>
576
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
577
    </tr>
578
            </table>
579
                <a id="Ext.CycleButton-methods"></a>
580
        <h2>Public Methods</h2>
581
                <table cellspacing="0" class="member-table">
582
            <tr>
583
                <th class="sig-header" colspan="2">Method</th>
584
                <th class="msource-header">Defined By</th>
585
            </tr>
586
                <tr class="method-row expandable">
587
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
588
        <td class="sig">
589
        <a id="Ext.CycleButton-CycleButton"></a>
590
            <b>CycleButton</b>(&nbsp;<code>Object config</code>&nbsp;)            <div class="mdesc">
591
                        <div class="short">Create a new split button</div>
592
            <div class="long">
593
                Create a new split button    <div class="mdetail-params">
594
        <strong>Parameters:</strong>
595
        <ul><li><code>config</code> : Object<div class="sub-desc">The config object</div></li>        </ul>
596
        <strong>Returns:</strong>
597
        <ul>
598
            <li><code></code></li>
599
        </ul>
600
    </div>
601
                </div>
602
                        </div>
603
        </td>
604
        <td class="msource">CycleButton</td>
605
    </tr>
606
        <tr class="method-row inherited alt expandable">
607
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
608
        <td class="sig">
609
        <a id="Ext.CycleButton-addClass"></a>
610
            <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
611
                        <div class="short">Adds a CSS class to the component's underlying element.</div>
612
            <div class="long">
613
                Adds a CSS class to the component's underlying element.    <div class="mdetail-params">
614
        <strong>Parameters:</strong>
615
        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li>        </ul>
616
        <strong>Returns:</strong>
617
        <ul>
618
            <li><code>void</code></li>
619
        </ul>
620
    </div>
621
                </div>
622
                        </div>
623
        </td>
624
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
625
    </tr>
626
        <tr class="method-row inherited expandable">
627
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
628
        <td class="sig">
629
        <a id="Ext.CycleButton-addEvents"></a>
630
            <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">
631
                        <div class="short">Used to define events on this Observable</div>
632
            <div class="long">
633
                Used to define events on this Observable    <div class="mdetail-params">
634
        <strong>Parameters:</strong>
635
        <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>
636
        <strong>Returns:</strong>
637
        <ul>
638
            <li><code>void</code></li>
639
        </ul>
640
    </div>
641
                </div>
642
                        </div>
643
        </td>
644
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
645
    </tr>
646
        <tr class="method-row inherited alt expandable">
647
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
648
        <td class="sig">
649
        <a id="Ext.CycleButton-addListener"></a>
650
            <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
651
                        <div class="short">Appends an event handler to this component</div>
652
            <div class="long">
653
                Appends an event handler to this component    <div class="mdetail-params">
654
        <strong>Parameters:</strong>
655
        <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
656
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
657
properties. This may contain any of the following properties:<ul>
658
<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>
659
<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>
660
<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>
661
<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
662
by the specified number of milliseconds. If the event fires again within that time, the original
663
handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
664
</ul><br>
665
<p>
666
<b>Combining Options</b><br>
667
Using the options argument, it is possible to combine different types of listeners:<br>
668
<br>
669
A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
670
<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
671
    single: true,
672
    delay: 100,
673
    forumId: 4
674
});</code></pre>
675
<p>
676
<b>Attaching multiple handlers in 1 call</b><br>
677
The method also allows for a single argument to be passed which is a config object containing properties
678
which specify multiple handlers.
679
<p>
680
<pre><code>foo.on({
681
    <em>'click'</em> : {
682
        fn: <b>this</b>.onClick,
683
        scope: <b>this</b>,
684
        delay: 100
685
    },
686
    <em>'mouseover'</em> : {
687
        fn: <b>this</b>.onMouseOver,
688
        scope: <b>this</b>
689
    },
690
    <em>'mouseout'</em> : {
691
        fn: <b>this</b>.onMouseOut,
692
        scope: <b>this</b>
693
    }
694
});</code></pre>
695
<p>
696
Or a shorthand syntax:<br>
697
<pre><code>foo.on({
698
    <em>'click'</em> : <b>this</b>.onClick,
699
    <em>'mouseover'</em> : <b>this</b>.onMouseOver,
700
    <em>'mouseout'</em> : <b>this</b>.onMouseOut,
701
     scope: <b>this</b>
702
});</code></pre></div></li>        </ul>
703
        <strong>Returns:</strong>
704
        <ul>
705
            <li><code>void</code></li>
706
        </ul>
707
    </div>
708
                </div>
709
                        </div>
710
        </td>
711
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
712
    </tr>
713
        <tr class="method-row inherited expandable">
714
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
715
        <td class="sig">
716
        <a id="Ext.CycleButton-applyToMarkup"></a>
717
            <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void            <div class="mdesc">
718
                        <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
719
            <div class="long">
720
                Apply this component to existing markup that is valid. With this function, no call to render() is required.    <div class="mdetail-params">
721
        <strong>Parameters:</strong>
722
        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li>        </ul>
723
        <strong>Returns:</strong>
724
        <ul>
725
            <li><code>void</code></li>
726
        </ul>
727
    </div>
728
                </div>
729
                        </div>
730
        </td>
731
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
732
    </tr>
733
        <tr class="method-row inherited alt expandable">
734
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
735
        <td class="sig">
736
        <a id="Ext.CycleButton-cloneConfig"></a>
737
            <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component            <div class="mdesc">
738
                        <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
739
            <div class="long">
740
                Clone the current component using the original config values passed into this instance by default.    <div class="mdetail-params">
741
        <strong>Parameters:</strong>
742
        <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
743
An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li>        </ul>
744
        <strong>Returns:</strong>
745
        <ul>
746
            <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
747
        </ul>
748
    </div>
749
                </div>
750
                        </div>
751
        </td>
752
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
753
    </tr>
754
        <tr class="method-row inherited expandable">
755
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
756
        <td class="sig">
757
        <a id="Ext.CycleButton-destroy"></a>
758
            <b>destroy</b>() : void            <div class="mdesc">
759
                        <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
760
removing the c...</div>
761
            <div class="long">
762
                Destroys this component by purging any event listeners, removing the component's element from the DOM,
763
removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
764
<a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>.  Destruction is generally handled automatically by the framework and this method
765
should usually not need to be called directly.    <div class="mdetail-params">
766
        <strong>Parameters:</strong>
767
        <ul><li>None.</li>        </ul>
768
        <strong>Returns:</strong>
769
        <ul>
770
            <li><code>void</code></li>
771
        </ul>
772
    </div>
773
                </div>
774
                        </div>
775
        </td>
776
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
777
    </tr>
778
        <tr class="method-row inherited alt expandable">
779
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
780
        <td class="sig">
781
        <a id="Ext.CycleButton-disable"></a>
782
            <b>disable</b>() : Ext.Component            <div class="mdesc">
783
                        <div class="short">Disable this component.</div>
784
            <div class="long">
785
                Disable this component.    <div class="mdetail-params">
786
        <strong>Parameters:</strong>
787
        <ul><li>None.</li>        </ul>
788
        <strong>Returns:</strong>
789
        <ul>
790
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
791
        </ul>
792
    </div>
793
                </div>
794
                        </div>
795
        </td>
796
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
797
    </tr>
798
        <tr class="method-row inherited expandable">
799
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
800
        <td class="sig">
801
        <a id="Ext.CycleButton-enable"></a>
802
            <b>enable</b>() : Ext.Component            <div class="mdesc">
803
                        <div class="short">Enable this component.</div>
804
            <div class="long">
805
                Enable this component.    <div class="mdetail-params">
806
        <strong>Parameters:</strong>
807
        <ul><li>None.</li>        </ul>
808
        <strong>Returns:</strong>
809
        <ul>
810
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
811
        </ul>
812
    </div>
813
                </div>
814
                        </div>
815
        </td>
816
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
817
    </tr>
818
        <tr class="method-row inherited alt expandable">
819
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
820
        <td class="sig">
821
        <a id="Ext.CycleButton-findParentBy"></a>
822
            <b>findParentBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Array            <div class="mdesc">
823
                        <div class="short">Find a container above this component at any level by a custom function. If the passed function returns
824
true, the con...</div>
825
            <div class="long">
826
                Find a container above this component at any level by a custom function. If the passed function returns
827
true, the container will be returned. The passed function is called with the arguments (container, this component).    <div class="mdetail-params">
828
        <strong>Parameters:</strong>
829
        <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>
830
        <strong>Returns:</strong>
831
        <ul>
832
            <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
833
        </ul>
834
    </div>
835
                </div>
836
                        </div>
837
        </td>
838
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>
839
    </tr>
840
        <tr class="method-row inherited expandable">
841
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
842
        <td class="sig">
843
        <a id="Ext.CycleButton-findParentByType"></a>
844
            <b>findParentByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Container            <div class="mdesc">
845
                        <div class="short">Find a container above this component at any level by xtype or class</div>
846
            <div class="long">
847
                Find a container above this component at any level by xtype or class    <div class="mdetail-params">
848
        <strong>Parameters:</strong>
849
        <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>
850
        <strong>Returns:</strong>
851
        <ul>
852
            <li><code>Container</code><div class="sub-desc">The found container</div></li>
853
        </ul>
854
    </div>
855
                </div>
856
                        </div>
857
        </td>
858
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>
859
    </tr>
860
        <tr class="method-row inherited alt expandable">
861
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
862
        <td class="sig">
863
        <a id="Ext.CycleButton-fireEvent"></a>
864
            <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">
865
                        <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
866
            <div class="long">
867
                Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">
868
        <strong>Parameters:</strong>
869
        <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>
870
        <strong>Returns:</strong>
871
        <ul>
872
            <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
873
        </ul>
874
    </div>
875
                </div>
876
                        </div>
877
        </td>
878
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
879
    </tr>
880
        <tr class="method-row inherited expandable">
881
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
882
        <td class="sig">
883
        <a id="Ext.CycleButton-focus"></a>
884
            <b>focus</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span>&nbsp;) : Ext.Component            <div class="mdesc">
885
                        <div class="short">Try to focus this component.</div>
886
            <div class="long">
887
                Try to focus this component.    <div class="mdetail-params">
888
        <strong>Parameters:</strong>
889
        <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>
890
        <strong>Returns:</strong>
891
        <ul>
892
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
893
        </ul>
894
    </div>
895
                </div>
896
                        </div>
897
        </td>
898
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
899
    </tr>
900
        <tr class="method-row alt expandable">
901
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
902
        <td class="sig">
903
        <a id="Ext.CycleButton-getActiveItem"></a>
904
            <b>getActiveItem</b>() : Ext.menu.CheckItem            <div class="mdesc">
905
                        <div class="short">Gets the currently active menu item.</div>
906
            <div class="long">
907
                Gets the currently active menu item.    <div class="mdetail-params">
908
        <strong>Parameters:</strong>
909
        <ul><li>None.</li>        </ul>
910
        <strong>Returns:</strong>
911
        <ul>
912
            <li><code>Ext.menu.CheckItem</code><div class="sub-desc">The active item</div></li>
913
        </ul>
914
    </div>
915
                </div>
916
                        </div>
917
        </td>
918
        <td class="msource">CycleButton</td>
919
    </tr>
920
        <tr class="method-row inherited expandable">
921
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
922
        <td class="sig">
923
        <a id="Ext.CycleButton-getEl"></a>
924
            <b>getEl</b>() : Ext.Element            <div class="mdesc">
925
                        <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
926
            <div class="long">
927
                Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">
928
        <strong>Parameters:</strong>
929
        <ul><li>None.</li>        </ul>
930
        <strong>Returns:</strong>
931
        <ul>
932
            <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
933
        </ul>
934
    </div>
935
                </div>
936
                        </div>
937
        </td>
938
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
939
    </tr>
940
        <tr class="method-row inherited alt expandable">
941
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
942
        <td class="sig">
943
        <a id="Ext.CycleButton-getId"></a>
944
            <b>getId</b>() : String            <div class="mdesc">
945
                        <div class="short">Returns the id of this component.</div>
946
            <div class="long">
947
                Returns the id of this component.    <div class="mdetail-params">
948
        <strong>Parameters:</strong>
949
        <ul><li>None.</li>        </ul>
950
        <strong>Returns:</strong>
951
        <ul>
952
            <li><code>String</code></li>
953
        </ul>
954
    </div>
955
                </div>
956
                        </div>
957
        </td>
958
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
959
    </tr>
960
        <tr class="method-row inherited expandable">
961
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
962
        <td class="sig">
963
        <a id="Ext.CycleButton-getItemId"></a>
964
            <b>getItemId</b>() : String            <div class="mdesc">
965
                        <div class="short">Returns the item id of this component.</div>
966
            <div class="long">
967
                Returns the item id of this component.    <div class="mdetail-params">
968
        <strong>Parameters:</strong>
969
        <ul><li>None.</li>        </ul>
970
        <strong>Returns:</strong>
971
        <ul>
972
            <li><code>String</code></li>
973
        </ul>
974
    </div>
975
                </div>
976
                        </div>
977
        </td>
978
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
979
    </tr>
980
        <tr class="method-row inherited alt expandable">
981
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
982
        <td class="sig">
983
        <a id="Ext.CycleButton-getText"></a>
984
            <b>getText</b>() : String            <div class="mdesc">
985
                        <div class="short">Gets the text for this button</div>
986
            <div class="long">
987
                Gets the text for this button    <div class="mdetail-params">
988
        <strong>Parameters:</strong>
989
        <ul><li>None.</li>        </ul>
990
        <strong>Returns:</strong>
991
        <ul>
992
            <li><code>String</code><div class="sub-desc">The button text</div></li>
993
        </ul>
994
    </div>
995
                </div>
996
                        </div>
997
        </td>
998
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#getText" href="output/Ext.Button.html#getText">Button</a></td>
999
    </tr>
1000
        <tr class="method-row inherited expandable">
1001
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1002
        <td class="sig">
1003
        <a id="Ext.CycleButton-getXType"></a>
1004
            <b>getXType</b>() : String            <div class="mdesc">
1005
                        <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
1006
available xtypes, see the Ex...</div>
1007
            <div class="long">
1008
                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
1009
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1010
<pre><code>var t = <b>new</b> Ext.form.TextField();
1011
alert(t.getXType());  // alerts <em>'textfield'</em></code></pre>    <div class="mdetail-params">
1012
        <strong>Parameters:</strong>
1013
        <ul><li>None.</li>        </ul>
1014
        <strong>Returns:</strong>
1015
        <ul>
1016
            <li><code>String</code><div class="sub-desc">The xtype</div></li>
1017
        </ul>
1018
    </div>
1019
                </div>
1020
                        </div>
1021
        </td>
1022
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
1023
    </tr>
1024
        <tr class="method-row inherited alt expandable">
1025
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1026
        <td class="sig">
1027
        <a id="Ext.CycleButton-getXTypes"></a>
1028
            <b>getXTypes</b>() : String            <div class="mdesc">
1029
                        <div class="short">Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
1030
available xtypes, see the Ext...</div>
1031
            <div class="long">
1032
                Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
1033
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1034
<pre><code>
1035
var t = new Ext.form.TextField();
1036
alert(t.getXTypes());  // alerts 'component/box/field/textfield'</pre></code>    <div class="mdetail-params">
1037
        <strong>Parameters:</strong>
1038
        <ul><li>None.</li>        </ul>
1039
        <strong>Returns:</strong>
1040
        <ul>
1041
            <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
1042
        </ul>
1043
    </div>
1044
                </div>
1045
                        </div>
1046
        </td>
1047
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
1048
    </tr>
1049
        <tr class="method-row inherited expandable">
1050
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1051
        <td class="sig">
1052
        <a id="Ext.CycleButton-hasListener"></a>
1053
            <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">
1054
                        <div class="short">Checks to see if this object has any listeners for a specified event</div>
1055
            <div class="long">
1056
                Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">
1057
        <strong>Parameters:</strong>
1058
        <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>
1059
        <strong>Returns:</strong>
1060
        <ul>
1061
            <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
1062
        </ul>
1063
    </div>
1064
                </div>
1065
                        </div>
1066
        </td>
1067
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
1068
    </tr>
1069
        <tr class="method-row inherited alt expandable">
1070
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1071
        <td class="sig">
1072
        <a id="Ext.CycleButton-hasVisibleMenu"></a>
1073
            <b>hasVisibleMenu</b>() : Boolean            <div class="mdesc">
1074
                        <div class="short">Returns true if the button has a menu and it is visible</div>
1075
            <div class="long">
1076
                Returns true if the button has a menu and it is visible    <div class="mdetail-params">
1077
        <strong>Parameters:</strong>
1078
        <ul><li>None.</li>        </ul>
1079
        <strong>Returns:</strong>
1080
        <ul>
1081
            <li><code>Boolean</code></li>
1082
        </ul>
1083
    </div>
1084
                </div>
1085
                        </div>
1086
        </td>
1087
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#hasVisibleMenu" href="output/Ext.Button.html#hasVisibleMenu">Button</a></td>
1088
    </tr>
1089
        <tr class="method-row inherited expandable">
1090
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1091
        <td class="sig">
1092
        <a id="Ext.CycleButton-hide"></a>
1093
            <b>hide</b>() : Ext.Component            <div class="mdesc">
1094
                        <div class="short">Hide this component.</div>
1095
            <div class="long">
1096
                Hide this component.    <div class="mdetail-params">
1097
        <strong>Parameters:</strong>
1098
        <ul><li>None.</li>        </ul>
1099
        <strong>Returns:</strong>
1100
        <ul>
1101
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1102
        </ul>
1103
    </div>
1104
                </div>
1105
                        </div>
1106
        </td>
1107
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
1108
    </tr>
1109
        <tr class="method-row inherited alt expandable">
1110
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1111
        <td class="sig">
1112
        <a id="Ext.CycleButton-hideMenu"></a>
1113
            <b>hideMenu</b>() : void            <div class="mdesc">
1114
                        <div class="short">Hide this button's menu (if it has one)</div>
1115
            <div class="long">
1116
                Hide this button's menu (if it has one)    <div class="mdetail-params">
1117
        <strong>Parameters:</strong>
1118
        <ul><li>None.</li>        </ul>
1119
        <strong>Returns:</strong>
1120
        <ul>
1121
            <li><code>void</code></li>
1122
        </ul>
1123
    </div>
1124
                </div>
1125
                        </div>
1126
        </td>
1127
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#hideMenu" href="output/Ext.Button.html#hideMenu">Button</a></td>
1128
    </tr>
1129
        <tr class="method-row inherited expandable">
1130
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1131
        <td class="sig">
1132
        <a id="Ext.CycleButton-initComponent"></a>
1133
            <b>initComponent</b>() : void            <div class="mdesc">
1134
                        <div class="short"></div>
1135
            <div class="long">
1136
                    <div class="mdetail-params">
1137
        <strong>Parameters:</strong>
1138
        <ul><li>None.</li>        </ul>
1139
        <strong>Returns:</strong>
1140
        <ul>
1141
            <li><code>void</code></li>
1142
        </ul>
1143
    </div>
1144
                </div>
1145
                        </div>
1146
        </td>
1147
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#initComponent" href="output/Ext.Button.html#initComponent">Button</a></td>
1148
    </tr>
1149
        <tr class="method-row inherited alt expandable">
1150
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1151
        <td class="sig">
1152
        <a id="Ext.CycleButton-isVisible"></a>
1153
            <b>isVisible</b>() : void            <div class="mdesc">
1154
                        <div class="short">Returns true if this component is visible.</div>
1155
            <div class="long">
1156
                Returns true if this component is visible.    <div class="mdetail-params">
1157
        <strong>Parameters:</strong>
1158
        <ul><li>None.</li>        </ul>
1159
        <strong>Returns:</strong>
1160
        <ul>
1161
            <li><code>void</code></li>
1162
        </ul>
1163
    </div>
1164
                </div>
1165
                        </div>
1166
        </td>
1167
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
1168
    </tr>
1169
        <tr class="method-row inherited expandable">
1170
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1171
        <td class="sig">
1172
        <a id="Ext.CycleButton-isXType"></a>
1173
            <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void            <div class="mdesc">
1174
                        <div class="short">Tests whether or not this component is of a specific xtype. This can test whether this component is descended
1175
from th...</div>
1176
            <div class="long">
1177
                Tests whether or not this component is of a specific xtype. This can test whether this component is descended
1178
from the xtype (default) or whether it is directly of the xtype specified (shallow = true). For a list of all
1179
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1180
<pre><code>var t = <b>new</b> Ext.form.TextField();
1181
<b>var</b> isText = t.isXType(<em>'textfield'</em>);        <i>// true</i>
1182
<b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>);       <i>// true, descended from BoxComponent</i>
1183
<b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre>    <div class="mdetail-params">
1184
        <strong>Parameters:</strong>
1185
        <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
1186
the default), or true to check whether this component is directly of the specified xtype.</div></li>        </ul>
1187
        <strong>Returns:</strong>
1188
        <ul>
1189
            <li><code>void</code></li>
1190
        </ul>
1191
    </div>
1192
                </div>
1193
                        </div>
1194
        </td>
1195
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
1196
    </tr>
1197
        <tr class="method-row inherited alt expandable">
1198
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1199
        <td class="sig">
1200
        <a id="Ext.CycleButton-on"></a>
1201
            <b>on</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
1202
                        <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1203
            <div class="long">
1204
                Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">
1205
        <strong>Parameters:</strong>
1206
        <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
1207
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
1208
        <strong>Returns:</strong>
1209
        <ul>
1210
            <li><code>void</code></li>
1211
        </ul>
1212
    </div>
1213
                </div>
1214
                        </div>
1215
        </td>
1216
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
1217
    </tr>
1218
        <tr class="method-row inherited expandable">
1219
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1220
        <td class="sig">
1221
        <a id="Ext.CycleButton-purgeListeners"></a>
1222
            <b>purgeListeners</b>() : void            <div class="mdesc">
1223
                        <div class="short">Removes all listeners for this object</div>
1224
            <div class="long">
1225
                Removes all listeners for this object    <div class="mdetail-params">
1226
        <strong>Parameters:</strong>
1227
        <ul><li>None.</li>        </ul>
1228
        <strong>Returns:</strong>
1229
        <ul>
1230
            <li><code>void</code></li>
1231
        </ul>
1232
    </div>
1233
                </div>
1234
                        </div>
1235
        </td>
1236
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
1237
    </tr>
1238
        <tr class="method-row inherited alt expandable">
1239
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1240
        <td class="sig">
1241
        <a id="Ext.CycleButton-removeClass"></a>
1242
            <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
1243
                        <div class="short">Removes a CSS class from the component's underlying element.</div>
1244
            <div class="long">
1245
                Removes a CSS class from the component's underlying element.    <div class="mdetail-params">
1246
        <strong>Parameters:</strong>
1247
        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li>        </ul>
1248
        <strong>Returns:</strong>
1249
        <ul>
1250
            <li><code>void</code></li>
1251
        </ul>
1252
    </div>
1253
                </div>
1254
                        </div>
1255
        </td>
1256
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
1257
    </tr>
1258
        <tr class="method-row inherited expandable">
1259
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1260
        <td class="sig">
1261
        <a id="Ext.CycleButton-removeListener"></a>
1262
            <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1263
                        <div class="short">Removes a listener</div>
1264
            <div class="long">
1265
                Removes a listener    <div class="mdetail-params">
1266
        <strong>Parameters:</strong>
1267
        <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>
1268
        <strong>Returns:</strong>
1269
        <ul>
1270
            <li><code>void</code></li>
1271
        </ul>
1272
    </div>
1273
                </div>
1274
                        </div>
1275
        </td>
1276
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
1277
    </tr>
1278
        <tr class="method-row inherited alt expandable">
1279
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1280
        <td class="sig">
1281
        <a id="Ext.CycleButton-render"></a>
1282
            <b>render</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span>&nbsp;) : void            <div class="mdesc">
1283
                        <div class="short">If this is a lazy rendering component, render it to its container element.</div>
1284
            <div class="long">
1285
                If this is a lazy rendering component, render it to its container element.    <div class="mdetail-params">
1286
        <strong>Parameters:</strong>
1287
        <ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The element this component should be rendered into. If it is being
1288
applied to existing markup, this should be left off.</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>
1289
which this component will be inserted (defaults to appending to the end of the container)</div></li>        </ul>
1290
        <strong>Returns:</strong>
1291
        <ul>
1292
            <li><code>void</code></li>
1293
        </ul>
1294
    </div>
1295
                </div>
1296
                        </div>
1297
        </td>
1298
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
1299
    </tr>
1300
        <tr class="method-row inherited expandable">
1301
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1302
        <td class="sig">
1303
        <a id="Ext.CycleButton-resumeEvents"></a>
1304
            <b>resumeEvents</b>() : void            <div class="mdesc">
1305
                        <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>
1306
            <div class="long">
1307
                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">
1308
        <strong>Parameters:</strong>
1309
        <ul><li>None.</li>        </ul>
1310
        <strong>Returns:</strong>
1311
        <ul>
1312
            <li><code>void</code></li>
1313
        </ul>
1314
    </div>
1315
                </div>
1316
                        </div>
1317
        </td>
1318
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
1319
    </tr>
1320
        <tr class="method-row alt expandable">
1321
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1322
        <td class="sig">
1323
        <a id="Ext.CycleButton-setActiveItem"></a>
1324
            <b>setActiveItem</b>(&nbsp;<code>Ext.menu.CheckItem item</code>, <code>Boolean suppressEvent</code>&nbsp;) : void            <div class="mdesc">
1325
                        <div class="short">Sets the button's active menu item.</div>
1326
            <div class="long">
1327
                Sets the button's active menu item.    <div class="mdetail-params">
1328
        <strong>Parameters:</strong>
1329
        <ul><li><code>item</code> : Ext.menu.CheckItem<div class="sub-desc">The item to activate</div></li><li><code>suppressEvent</code> : Boolean<div class="sub-desc">True to prevent the button's change event from firing (defaults to false)</div></li>        </ul>
1330
        <strong>Returns:</strong>
1331
        <ul>
1332
            <li><code>void</code></li>
1333
        </ul>
1334
    </div>
1335
                </div>
1336
                        </div>
1337
        </td>
1338
        <td class="msource">CycleButton</td>
1339
    </tr>
1340
        <tr class="method-row inherited expandable">
1341
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1342
        <td class="sig">
1343
        <a id="Ext.CycleButton-setArrowHandler"></a>
1344
            <b>setArrowHandler</b>(&nbsp;<code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1345
                        <div class="short">Sets this button's arrow click handler.</div>
1346
            <div class="long">
1347
                Sets this button's arrow click handler.    <div class="mdetail-params">
1348
        <strong>Parameters:</strong>
1349
        <ul><li><code>handler</code> : Function<div class="sub-desc">The function to call when the arrow is clicked</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) Scope for the function passed above</div></li>        </ul>
1350
        <strong>Returns:</strong>
1351
        <ul>
1352
            <li><code>void</code></li>
1353
        </ul>
1354
    </div>
1355
                </div>
1356
                        </div>
1357
        </td>
1358
        <td class="msource"><a ext:cls="Ext.SplitButton" ext:member="#setArrowHandler" href="output/Ext.SplitButton.html#setArrowHandler">SplitButton</a></td>
1359
    </tr>
1360
        <tr class="method-row inherited alt expandable">
1361
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1362
        <td class="sig">
1363
        <a id="Ext.CycleButton-setDisabled"></a>
1364
            <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void            <div class="mdesc">
1365
                        <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
1366
            <div class="long">
1367
                Convenience function for setting disabled/enabled by boolean.    <div class="mdetail-params">
1368
        <strong>Parameters:</strong>
1369
        <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li>        </ul>
1370
        <strong>Returns:</strong>
1371
        <ul>
1372
            <li><code>void</code></li>
1373
        </ul>
1374
    </div>
1375
                </div>
1376
                        </div>
1377
        </td>
1378
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
1379
    </tr>
1380
        <tr class="method-row inherited expandable">
1381
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1382
        <td class="sig">
1383
        <a id="Ext.CycleButton-setHandler"></a>
1384
            <b>setHandler</b>(&nbsp;<code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1385
                        <div class="short">Assigns this button's click handler</div>
1386
            <div class="long">
1387
                Assigns this button's click handler    <div class="mdetail-params">
1388
        <strong>Parameters:</strong>
1389
        <ul><li><code>handler</code> : Function<div class="sub-desc">The function to call when the button is clicked</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) Scope for the function passed in</div></li>        </ul>
1390
        <strong>Returns:</strong>
1391
        <ul>
1392
            <li><code>void</code></li>
1393
        </ul>
1394
    </div>
1395
                </div>
1396
                        </div>
1397
        </td>
1398
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#setHandler" href="output/Ext.Button.html#setHandler">Button</a></td>
1399
    </tr>
1400
        <tr class="method-row inherited alt expandable">
1401
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1402
        <td class="sig">
1403
        <a id="Ext.CycleButton-setIconClass"></a>
1404
            <b>setIconClass</b>(&nbsp;<code>String cls</code>&nbsp;) : void            <div class="mdesc">
1405
                        <div class="short">Sets the CSS class that provides a background image to use as the button's icon.  This method also changes
1406
the value ...</div>
1407
            <div class="long">
1408
                Sets the CSS class that provides a background image to use as the button's icon.  This method also changes
1409
the value of the <a ext:cls="iconCls" href="output/iconCls.html">iconCls</a> config internally.    <div class="mdetail-params">
1410
        <strong>Parameters:</strong>
1411
        <ul><li><code>cls</code> : String<div class="sub-desc">The CSS class providing the icon image</div></li>        </ul>
1412
        <strong>Returns:</strong>
1413
        <ul>
1414
            <li><code>void</code></li>
1415
        </ul>
1416
    </div>
1417
                </div>
1418
                        </div>
1419
        </td>
1420
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#setIconClass" href="output/Ext.Button.html#setIconClass">Button</a></td>
1421
    </tr>
1422
        <tr class="method-row inherited expandable">
1423
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1424
        <td class="sig">
1425
        <a id="Ext.CycleButton-setText"></a>
1426
            <b>setText</b>(&nbsp;<code>String text</code>&nbsp;) : void            <div class="mdesc">
1427
                        <div class="short">Sets this button's text</div>
1428
            <div class="long">
1429
                Sets this button's text    <div class="mdetail-params">
1430
        <strong>Parameters:</strong>
1431
        <ul><li><code>text</code> : String<div class="sub-desc">The button text</div></li>        </ul>
1432
        <strong>Returns:</strong>
1433
        <ul>
1434
            <li><code>void</code></li>
1435
        </ul>
1436
    </div>
1437
                </div>
1438
                        </div>
1439
        </td>
1440
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#setText" href="output/Ext.Button.html#setText">Button</a></td>
1441
    </tr>
1442
        <tr class="method-row inherited alt expandable">
1443
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1444
        <td class="sig">
1445
        <a id="Ext.CycleButton-setVisible"></a>
1446
            <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component            <div class="mdesc">
1447
                        <div class="short">Convenience function to hide or show this component by boolean.</div>
1448
            <div class="long">
1449
                Convenience function to hide or show this component by boolean.    <div class="mdetail-params">
1450
        <strong>Parameters:</strong>
1451
        <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li>        </ul>
1452
        <strong>Returns:</strong>
1453
        <ul>
1454
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1455
        </ul>
1456
    </div>
1457
                </div>
1458
                        </div>
1459
        </td>
1460
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
1461
    </tr>
1462
        <tr class="method-row inherited expandable">
1463
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1464
        <td class="sig">
1465
        <a id="Ext.CycleButton-show"></a>
1466
            <b>show</b>() : Ext.Component            <div class="mdesc">
1467
                        <div class="short">Show this component.</div>
1468
            <div class="long">
1469
                Show this component.    <div class="mdetail-params">
1470
        <strong>Parameters:</strong>
1471
        <ul><li>None.</li>        </ul>
1472
        <strong>Returns:</strong>
1473
        <ul>
1474
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1475
        </ul>
1476
    </div>
1477
                </div>
1478
                        </div>
1479
        </td>
1480
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
1481
    </tr>
1482
        <tr class="method-row inherited alt expandable">
1483
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1484
        <td class="sig">
1485
        <a id="Ext.CycleButton-showMenu"></a>
1486
            <b>showMenu</b>() : void            <div class="mdesc">
1487
                        <div class="short">Show this button's menu (if it has one)</div>
1488
            <div class="long">
1489
                Show this button's menu (if it has one)    <div class="mdetail-params">
1490
        <strong>Parameters:</strong>
1491
        <ul><li>None.</li>        </ul>
1492
        <strong>Returns:</strong>
1493
        <ul>
1494
            <li><code>void</code></li>
1495
        </ul>
1496
    </div>
1497
                </div>
1498
                        </div>
1499
        </td>
1500
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#showMenu" href="output/Ext.Button.html#showMenu">Button</a></td>
1501
    </tr>
1502
        <tr class="method-row inherited expandable">
1503
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1504
        <td class="sig">
1505
        <a id="Ext.CycleButton-suspendEvents"></a>
1506
            <b>suspendEvents</b>() : void            <div class="mdesc">
1507
                        <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>
1508
            <div class="long">
1509
                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">
1510
        <strong>Parameters:</strong>
1511
        <ul><li>None.</li>        </ul>
1512
        <strong>Returns:</strong>
1513
        <ul>
1514
            <li><code>void</code></li>
1515
        </ul>
1516
    </div>
1517
                </div>
1518
                        </div>
1519
        </td>
1520
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
1521
    </tr>
1522
        <tr class="method-row inherited alt expandable">
1523
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1524
        <td class="sig">
1525
        <a id="Ext.CycleButton-toggle"></a>
1526
            <b>toggle</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean state</code>]</span>&nbsp;) : void            <div class="mdesc">
1527
                        <div class="short">If a state it passed, it becomes the pressed state otherwise the current state is toggled.</div>
1528
            <div class="long">
1529
                If a state it passed, it becomes the pressed state otherwise the current state is toggled.    <div class="mdetail-params">
1530
        <strong>Parameters:</strong>
1531
        <ul><li><code>state</code> : Boolean<div class="sub-desc">(optional) Force a particular state</div></li>        </ul>
1532
        <strong>Returns:</strong>
1533
        <ul>
1534
            <li><code>void</code></li>
1535
        </ul>
1536
    </div>
1537
                </div>
1538
                        </div>
1539
        </td>
1540
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#toggle" href="output/Ext.Button.html#toggle">Button</a></td>
1541
    </tr>
1542
        <tr class="method-row expandable">
1543
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1544
        <td class="sig">
1545
        <a id="Ext.CycleButton-toggleSelected"></a>
1546
            <b>toggleSelected</b>() : void            <div class="mdesc">
1547
                        <div class="short">This is normally called internally on button click, but can be called externally to advance the button's
1548
active item ...</div>
1549
            <div class="long">
1550
                This is normally called internally on button click, but can be called externally to advance the button's
1551
active item programmatically to the next one in the menu.  If the current item is the last one in the menu
1552
the active item will be set to the first item in the menu.    <div class="mdetail-params">
1553
        <strong>Parameters:</strong>
1554
        <ul><li>None.</li>        </ul>
1555
        <strong>Returns:</strong>
1556
        <ul>
1557
            <li><code>void</code></li>
1558
        </ul>
1559
    </div>
1560
                </div>
1561
                        </div>
1562
        </td>
1563
        <td class="msource">CycleButton</td>
1564
    </tr>
1565
        <tr class="method-row inherited alt expandable">
1566
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1567
        <td class="sig">
1568
        <a id="Ext.CycleButton-un"></a>
1569
            <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1570
                        <div class="short">Removes a listener (shorthand for removeListener)</div>
1571
            <div class="long">
1572
                Removes a listener (shorthand for removeListener)    <div class="mdetail-params">
1573
        <strong>Parameters:</strong>
1574
        <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>
1575
        <strong>Returns:</strong>
1576
        <ul>
1577
            <li><code>void</code></li>
1578
        </ul>
1579
    </div>
1580
                </div>
1581
                        </div>
1582
        </td>
1583
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
1584
    </tr>
1585
            </table>
1586
                <a id="Ext.CycleButton-events"></a>
1587
        <h2>Public Events</h2>
1588
                <table cellspacing="0" class="member-table">
1589
            <tr>
1590
                <th class="sig-header" colspan="2">Event</th>
1591
                <th class="msource-header">Defined By</th>
1592
            </tr>
1593
                <tr class="event-row inherited expandable">
1594
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1595
        <td class="sig">
1596
        <a id="Ext.CycleButton-arrowclick"></a>
1597
            <b>arrowclick</b> : (&nbsp;<code>MenuButton this</code>, <code>EventObject e</code>&nbsp;)            <div class="mdesc">
1598
                        <div class="short">Fires when this button's arrow is clicked</div>
1599
            <div class="long">
1600
                Fires when this button's arrow is clicked    <div class="mdetail-params">
1601
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1602
        <ul><li><code>this</code> : MenuButton<div class="sub-desc"></div></li><li><code>e</code> : EventObject<div class="sub-desc">The click event</div></li>        </ul>
1603
    </div>
1604
                </div>
1605
                        </div>
1606
        </td>
1607
        <td class="msource"><a ext:cls="Ext.SplitButton" ext:member="#event-arrowclick" href="output/Ext.SplitButton.html#event-arrowclick">SplitButton</a></td>
1608
    </tr>
1609
        <tr class="event-row inherited alt expandable">
1610
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1611
        <td class="sig">
1612
        <a id="Ext.CycleButton-beforedestroy"></a>
1613
            <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1614
                        <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
1615
            <div class="long">
1616
                Fires before the component is destroyed. Return false to stop the destroy.    <div class="mdetail-params">
1617
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1618
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1619
    </div>
1620
                </div>
1621
                        </div>
1622
        </td>
1623
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
1624
    </tr>
1625
        <tr class="event-row inherited expandable">
1626
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1627
        <td class="sig">
1628
        <a id="Ext.CycleButton-beforehide"></a>
1629
            <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1630
                        <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
1631
            <div class="long">
1632
                Fires before the component is hidden. Return false to stop the hide.    <div class="mdetail-params">
1633
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1634
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1635
    </div>
1636
                </div>
1637
                        </div>
1638
        </td>
1639
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
1640
    </tr>
1641
        <tr class="event-row inherited alt expandable">
1642
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1643
        <td class="sig">
1644
        <a id="Ext.CycleButton-beforerender"></a>
1645
            <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1646
                        <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
1647
            <div class="long">
1648
                Fires before the component is rendered. Return false to stop the render.    <div class="mdetail-params">
1649
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1650
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1651
    </div>
1652
                </div>
1653
                        </div>
1654
        </td>
1655
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
1656
    </tr>
1657
        <tr class="event-row inherited expandable">
1658
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1659
        <td class="sig">
1660
        <a id="Ext.CycleButton-beforeshow"></a>
1661
            <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1662
                        <div class="short">Fires before the component is shown. Return false to stop the show.</div>
1663
            <div class="long">
1664
                Fires before the component is shown. Return false to stop the show.    <div class="mdetail-params">
1665
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1666
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1667
    </div>
1668
                </div>
1669
                        </div>
1670
        </td>
1671
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
1672
    </tr>
1673
        <tr class="event-row inherited alt expandable">
1674
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1675
        <td class="sig">
1676
        <a id="Ext.CycleButton-beforestaterestore"></a>
1677
            <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1678
                        <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
1679
            <div class="long">
1680
                Fires before the state of the component is restored. Return false to stop the restore.    <div class="mdetail-params">
1681
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1682
        <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>
1683
    </div>
1684
                </div>
1685
                        </div>
1686
        </td>
1687
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
1688
    </tr>
1689
        <tr class="event-row inherited expandable">
1690
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1691
        <td class="sig">
1692
        <a id="Ext.CycleButton-beforestatesave"></a>
1693
            <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1694
                        <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
1695
            <div class="long">
1696
                Fires before the state of the component is saved to the configured state provider. Return false to stop the save.    <div class="mdetail-params">
1697
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1698
        <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>
1699
    </div>
1700
                </div>
1701
                        </div>
1702
        </td>
1703
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
1704
    </tr>
1705
        <tr class="event-row alt expandable">
1706
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1707
        <td class="sig">
1708
        <a id="Ext.CycleButton-change"></a>
1709
            <b>change</b> : (&nbsp;<code>Ext.CycleButton this</code>, <code>Ext.menu.CheckItem item</code>&nbsp;)            <div class="mdesc">
1710
                        <div class="short">Fires after the button's active menu item has changed.  Note that if a changeHandler function
1711
is set on this CycleBut...</div>
1712
            <div class="long">
1713
                Fires after the button's active menu item has changed.  Note that if a <a ext:cls="Ext.CycleButton" ext:member="changeHandler" href="output/Ext.CycleButton.html#changeHandler">changeHandler</a> function
1714
is set on this CycleButton, it will be called instead on active item change and this change event will
1715
not be fired.    <div class="mdetail-params">
1716
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1717
        <ul><li><code>this</code> : Ext.CycleButton<div class="sub-desc"></div></li><li><code>item</code> : Ext.menu.CheckItem<div class="sub-desc">The menu item that was selected</div></li>        </ul>
1718
    </div>
1719
                </div>
1720
                        </div>
1721
        </td>
1722
        <td class="msource">CycleButton</td>
1723
    </tr>
1724
        <tr class="event-row inherited expandable">
1725
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1726
        <td class="sig">
1727
        <a id="Ext.CycleButton-click"></a>
1728
            <b>click</b> : (&nbsp;<code>Button this</code>, <code>EventObject e</code>&nbsp;)            <div class="mdesc">
1729
                        <div class="short">Fires when this button is clicked</div>
1730
            <div class="long">
1731
                Fires when this button is clicked    <div class="mdetail-params">
1732
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1733
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>e</code> : EventObject<div class="sub-desc">The click event</div></li>        </ul>
1734
    </div>
1735
                </div>
1736
                        </div>
1737
        </td>
1738
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-click" href="output/Ext.Button.html#event-click">Button</a></td>
1739
    </tr>
1740
        <tr class="event-row inherited alt expandable">
1741
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1742
        <td class="sig">
1743
        <a id="Ext.CycleButton-destroy"></a>
1744
            <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1745
                        <div class="short">Fires after the component is destroyed.</div>
1746
            <div class="long">
1747
                Fires after the component is destroyed.    <div class="mdetail-params">
1748
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1749
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1750
    </div>
1751
                </div>
1752
                        </div>
1753
        </td>
1754
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
1755
    </tr>
1756
        <tr class="event-row inherited expandable">
1757
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1758
        <td class="sig">
1759
        <a id="Ext.CycleButton-disable"></a>
1760
            <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1761
                        <div class="short">Fires after the component is disabled.</div>
1762
            <div class="long">
1763
                Fires after the component is disabled.    <div class="mdetail-params">
1764
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1765
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1766
    </div>
1767
                </div>
1768
                        </div>
1769
        </td>
1770
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
1771
    </tr>
1772
        <tr class="event-row inherited alt expandable">
1773
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1774
        <td class="sig">
1775
        <a id="Ext.CycleButton-enable"></a>
1776
            <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1777
                        <div class="short">Fires after the component is enabled.</div>
1778
            <div class="long">
1779
                Fires after the component is enabled.    <div class="mdetail-params">
1780
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1781
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1782
    </div>
1783
                </div>
1784
                        </div>
1785
        </td>
1786
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
1787
    </tr>
1788
        <tr class="event-row inherited expandable">
1789
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1790
        <td class="sig">
1791
        <a id="Ext.CycleButton-hide"></a>
1792
            <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1793
                        <div class="short">Fires after the component is hidden.</div>
1794
            <div class="long">
1795
                Fires after the component is hidden.    <div class="mdetail-params">
1796
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1797
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1798
    </div>
1799
                </div>
1800
                        </div>
1801
        </td>
1802
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
1803
    </tr>
1804
        <tr class="event-row inherited alt expandable">
1805
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1806
        <td class="sig">
1807
        <a id="Ext.CycleButton-menuhide"></a>
1808
            <b>menuhide</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>&nbsp;)            <div class="mdesc">
1809
                        <div class="short">If this button has a menu, this event fires when it is hidden</div>
1810
            <div class="long">
1811
                If this button has a menu, this event fires when it is hidden    <div class="mdetail-params">
1812
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1813
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>menu</code> : Menu<div class="sub-desc"></div></li>        </ul>
1814
    </div>
1815
                </div>
1816
                        </div>
1817
        </td>
1818
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menuhide" href="output/Ext.Button.html#event-menuhide">Button</a></td>
1819
    </tr>
1820
        <tr class="event-row inherited expandable">
1821
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1822
        <td class="sig">
1823
        <a id="Ext.CycleButton-menushow"></a>
1824
            <b>menushow</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>&nbsp;)            <div class="mdesc">
1825
                        <div class="short">If this button has a menu, this event fires when it is shown</div>
1826
            <div class="long">
1827
                If this button has a menu, this event fires when it is shown    <div class="mdetail-params">
1828
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1829
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>menu</code> : Menu<div class="sub-desc"></div></li>        </ul>
1830
    </div>
1831
                </div>
1832
                        </div>
1833
        </td>
1834
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menushow" href="output/Ext.Button.html#event-menushow">Button</a></td>
1835
    </tr>
1836
        <tr class="event-row inherited alt expandable">
1837
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1838
        <td class="sig">
1839
        <a id="Ext.CycleButton-menutriggerout"></a>
1840
            <b>menutriggerout</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>, <code>EventObject e</code>&nbsp;)            <div class="mdesc">
1841
                        <div class="short">If this button has a menu, this event fires when the mouse leaves the menu triggering element</div>
1842
            <div class="long">
1843
                If this button has a menu, this event fires when the mouse leaves the menu triggering element    <div class="mdetail-params">
1844
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1845
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>menu</code> : Menu<div class="sub-desc"></div></li><li><code>e</code> : EventObject<div class="sub-desc"></div></li>        </ul>
1846
    </div>
1847
                </div>
1848
                        </div>
1849
        </td>
1850
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menutriggerout" href="output/Ext.Button.html#event-menutriggerout">Button</a></td>
1851
    </tr>
1852
        <tr class="event-row inherited expandable">
1853
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1854
        <td class="sig">
1855
        <a id="Ext.CycleButton-menutriggerover"></a>
1856
            <b>menutriggerover</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>, <code>EventObject e</code>&nbsp;)            <div class="mdesc">
1857
                        <div class="short">If this button has a menu, this event fires when the mouse enters the menu triggering element</div>
1858
            <div class="long">
1859
                If this button has a menu, this event fires when the mouse enters the menu triggering element    <div class="mdetail-params">
1860
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1861
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>menu</code> : Menu<div class="sub-desc"></div></li><li><code>e</code> : EventObject<div class="sub-desc"></div></li>        </ul>
1862
    </div>
1863
                </div>
1864
                        </div>
1865
        </td>
1866
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menutriggerover" href="output/Ext.Button.html#event-menutriggerover">Button</a></td>
1867
    </tr>
1868
        <tr class="event-row inherited alt expandable">
1869
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1870
        <td class="sig">
1871
        <a id="Ext.CycleButton-mouseout"></a>
1872
            <b>mouseout</b> : (&nbsp;<code>Button this</code>, <code>Event e</code>&nbsp;)            <div class="mdesc">
1873
                        <div class="short">Fires when the mouse exits the button</div>
1874
            <div class="long">
1875
                Fires when the mouse exits the button    <div class="mdetail-params">
1876
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1877
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li>        </ul>
1878
    </div>
1879
                </div>
1880
                        </div>
1881
        </td>
1882
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-mouseout" href="output/Ext.Button.html#event-mouseout">Button</a></td>
1883
    </tr>
1884
        <tr class="event-row inherited expandable">
1885
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1886
        <td class="sig">
1887
        <a id="Ext.CycleButton-mouseover"></a>
1888
            <b>mouseover</b> : (&nbsp;<code>Button this</code>, <code>Event e</code>&nbsp;)            <div class="mdesc">
1889
                        <div class="short">Fires when the mouse hovers over the button</div>
1890
            <div class="long">
1891
                Fires when the mouse hovers over the button    <div class="mdetail-params">
1892
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1893
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li>        </ul>
1894
    </div>
1895
                </div>
1896
                        </div>
1897
        </td>
1898
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-mouseover" href="output/Ext.Button.html#event-mouseover">Button</a></td>
1899
    </tr>
1900
        <tr class="event-row inherited alt expandable">
1901
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1902
        <td class="sig">
1903
        <a id="Ext.CycleButton-render"></a>
1904
            <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1905
                        <div class="short">Fires after the component is rendered.</div>
1906
            <div class="long">
1907
                Fires after the component is rendered.    <div class="mdetail-params">
1908
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1909
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1910
    </div>
1911
                </div>
1912
                        </div>
1913
        </td>
1914
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
1915
    </tr>
1916
        <tr class="event-row inherited expandable">
1917
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1918
        <td class="sig">
1919
        <a id="Ext.CycleButton-show"></a>
1920
            <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1921
                        <div class="short">Fires after the component is shown.</div>
1922
            <div class="long">
1923
                Fires after the component is shown.    <div class="mdetail-params">
1924
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1925
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1926
    </div>
1927
                </div>
1928
                        </div>
1929
        </td>
1930
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
1931
    </tr>
1932
        <tr class="event-row inherited alt expandable">
1933
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1934
        <td class="sig">
1935
        <a id="Ext.CycleButton-staterestore"></a>
1936
            <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1937
                        <div class="short">Fires after the state of the component is restored.</div>
1938
            <div class="long">
1939
                Fires after the state of the component is restored.    <div class="mdetail-params">
1940
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1941
        <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>
1942
    </div>
1943
                </div>
1944
                        </div>
1945
        </td>
1946
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
1947
    </tr>
1948
        <tr class="event-row inherited expandable">
1949
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1950
        <td class="sig">
1951
        <a id="Ext.CycleButton-statesave"></a>
1952
            <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1953
                        <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
1954
            <div class="long">
1955
                Fires after the state of the component is saved to the configured state provider.    <div class="mdetail-params">
1956
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1957
        <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>
1958
    </div>
1959
                </div>
1960
                        </div>
1961
        </td>
1962
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
1963
    </tr>
1964
        <tr class="event-row inherited alt expandable">
1965
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1966
        <td class="sig">
1967
        <a id="Ext.CycleButton-toggle"></a>
1968
            <b>toggle</b> : (&nbsp;<code>Button this</code>, <code>Boolean pressed</code>&nbsp;)            <div class="mdesc">
1969
                        <div class="short">Fires when the "pressed" state of this button changes (only if enableToggle = true)</div>
1970
            <div class="long">
1971
                Fires when the "pressed" state of this button changes (only if enableToggle = true)    <div class="mdetail-params">
1972
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1973
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>pressed</code> : Boolean<div class="sub-desc"></div></li>        </ul>
1974
    </div>
1975
                </div>
1976
                        </div>
1977
        </td>
1978
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-toggle" href="output/Ext.Button.html#event-toggle">Button</a></td>
1979
    </tr>
1980
            </table>
1981
 
1982
        </div>