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