Class sap.ui.commons.ColorPickerModule: sap/ui/commons/ColorPicker

extends Control

This control gives the user the opportunity to choose a color. The color can be defined using HEX-, RGB- or HSV-values or a CSS colorname.
Deprecated API:
Since version 1.38.
Constructor Summary
new sap.ui.commons.ColorPicker(sId?, mSettings?)Constructor for a new ColorPicker.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ui.commons.ColorPicker.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.commons.ColorPicker with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.commons.ColorPicker.getMetadata()Returns a metadata object for class sap.ui.commons.ColorPicker.
Constructor Detail
new sap.ui.commons.ColorPicker(sId?, mSettings?)
Constructor for a new ColorPicker.
Parameters:
stringsId?id for the new control, generated automatically if no id is given
objectmSettings?initial settings for the new control
Method Detail
sap.ui.commons.ColorPicker.extend(sClassName, oClassInfo?, FNMetaImpl?): function

Creates a new subclass of class sap.ui.commons.ColorPicker with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.core.Control.extend.

Parameters:
stringsClassNameName of the class being created
objectoClassInfo?Object literal with information about the class
functionFNMetaImpl?Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
functionCreated class / constructor function
sap.ui.commons.ColorPicker.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.commons.ColorPicker.
Returns:
sap.ui.base.MetadataMetadata object describing this class