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