X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Color.html diff --git a/docs/source/Color.html b/docs/source/Color.html index 03bf64cb..1130e2af 100644 --- a/docs/source/Color.html +++ b/docs/source/Color.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.picker.Color
  * @extends Ext.Component
  * <p>ColorPicker provides a simple color palette for choosing colors. The picker can be rendered to any container.
@@ -30,38 +47,38 @@ Ext.define('Ext.picker.Color', {
     alias: 'widget.colorpicker',
     alternateClassName: 'Ext.ColorPalette',
     
-    /**
+    /**
      * @cfg {String} componentCls
      * The CSS class to apply to the containing element (defaults to 'x-color-picker')
      */
     componentCls : Ext.baseCSSPrefix + 'color-picker',
     
-    /**
+    /**
      * @cfg {String} selectedCls
      * The CSS class to apply to the selected element
      */
     selectedCls: Ext.baseCSSPrefix + 'color-picker-selected',
     
-    /**
+    /**
      * @cfg {String} value
      * 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.
      */
     value : null,
     
-    /**
+    /**
      * @cfg {String} clickEvent
      * The DOM event that will cause a color to be selected. This can be any valid event name (dblclick, contextmenu).
      * Defaults to <tt>'click'</tt>.
      */
     clickEvent :'click',
 
-    /**
+    /**
      * @cfg {Boolean} allowReselect If set to true then reselecting a color that is already selected fires the {@link #select} event
      */
     allowReselect : false,
 
-    /**
+    /**
      * <p>An array of 6-digit color hex code strings (without the # symbol).  This array can contain any number
      * of colors, and each hex code should be unique.  The width of the picker is controlled via CSS by adjusting
      * the width property of the 'x-color-picker' class (or assigning a custom class), so you can balance the number
@@ -87,7 +104,7 @@ cp.colors = ['000000', '993300', '333300'];
         'FF99CC', 'FFCC99', 'FFFF99', 'CCFFCC', 'CCFFFF', '99CCFF', 'CC99FF', 'FFFFFF'
     ],
 
-    /**
+    /**
      * @cfg {Function} handler
      * Optional. A function that will handle the select event of this picker.
      * The handler is passed the following parameters:<div class="mdetail-params"><ul>
@@ -95,7 +112,7 @@ cp.colors = ['000000', '993300', '333300'];
      * <li><code>color</code> : String<div class="sub-desc">The 6-digit color hex code (without the # symbol).</div></li>
      * </ul></div>
      */
-    /**
+    /**
      * @cfg {Object} scope
      * The scope (<tt><b>this</b></tt> reference) in which the <code>{@link #handler}</code>
      * function will be called.  Defaults to this ColorPicker instance.
@@ -114,7 +131,7 @@ cp.colors = ['000000', '993300', '333300'];
         
         this.callParent(arguments);
         me.addEvents(
-            /**
+            /**
              * @event select
              * Fires when a color is selected
              * @param {Ext.picker.Color} this
@@ -172,7 +189,7 @@ cp.colors = ['000000', '993300', '333300'];
         }
     },
 
-    /**
+    /**
      * Selects the specified color in the picker (fires the {@link #select} event)
      * @param {String} color A valid 6-digit color hex code (# will be stripped if included)
      * @param {Boolean} suppressEvent (optional) True to stop the select event from firing. Defaults to <tt>false</tt>.
@@ -205,7 +222,7 @@ cp.colors = ['000000', '993300', '333300'];
         }
     },
     
-    /**
+    /**
      * Get the currently selected color value.
      * @return {String} value The selected value. Null if nothing is selected.
      */
@@ -213,4 +230,6 @@ cp.colors = ['000000', '993300', '333300'];
         return this.value || null;
     }
 });
-
\ No newline at end of file +
+ +