diff options
Diffstat (limited to 'framework/Web/UI/WebControls/TColorPicker.php')
-rw-r--r-- | framework/Web/UI/WebControls/TColorPicker.php | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/framework/Web/UI/WebControls/TColorPicker.php b/framework/Web/UI/WebControls/TColorPicker.php index 7b20318c..79e48123 100644 --- a/framework/Web/UI/WebControls/TColorPicker.php +++ b/framework/Web/UI/WebControls/TColorPicker.php @@ -234,53 +234,3 @@ class TColorPicker extends TTextBox return 'Prado.WebUI.TColorPicker'; } } - -/** - * TColorPickerMode class. - * TColorPickerMode defines the enumerable type for the possible UI mode - * that a {@link TColorPicker} control can take. - * - * The following enumerable values are defined: - * # Simple - Grid with 12 simple colors. - * # Basic - Grid with the most common 70 colors. This is the default mode. - * # Full - Full-featured color picker. - * - * @author Qiang Xue <qiang.xue@gmail.com> - * @package System.Web.UI.WebControls - * @since 3.0.4 - */ -class TColorPickerMode extends TEnumerable -{ - const Simple='Simple'; - const Basic='Basic'; - const Full='Full'; -} - -/** - * TColorPickerClientSide class. - * - * Client-side javascript code options. - * - * @author Wei Zhuo <weizhuo[at]gmail[dot]com> - * @package System.Web.UI.WebControls - * @since 3.1 - */ -class TColorPickerClientSide extends TClientSideOptions -{ - /** - * @return string javascript code for when a color is selected. - */ - public function getOnColorSelected() - { - return $this->getOption('OnColorSelected'); - } - - /** - * @param string javascript code for when a color is selected. - */ - public function setOnColorSelected($javascript) - { - $this->setFunction('OnColorSelected', $javascript); - } -} - |