class sap.ui.integration.editor.fields.viz.ColorSelect

Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/integration/editor/fields/viz/ColorSelect
Application Component: CA-UI5-CTR

Constructor

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.

new sap.ui.integration.editor.fields.viz.ColorSelect()

Properties

Name Type Default Value Description
allowCustomColors boolean false Visibility: public
background boolean true Visibility: public
colorEnum string sap.m.AvatarColor Visibility: public
colorValue string empty string Visibility: public
editable boolean true Visibility: public
enumValue string empty string Visibility: public

Aggregations

Default Aggregation:

Name Cardinality Type Description
_button 0..1 sap.m.Button
_colorpalette 0..1 sap.m.ColorPalettePopover

Methods Overview

Method Description
sap.ui.integration.editor.fields.viz.ColorSelect.extend

Creates a new subclass of class sap.ui.integration.editor.fields.viz.ColorSelect 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.

getAllowCustomColors

Gets current value of property allowCustomColors.

Default value is false.

getBackground

Gets current value of property background.

Default value is true.

getColorEnum

Gets current value of property colorEnum.

Default value is "sap.m.AvatarColor".

getColorValue

Gets current value of property colorValue.

Default value is empty string.

getEditable

Gets current value of property editable.

Default value is true.

getEnumValue

Gets current value of property enumValue.

Default value is empty string.

sap.ui.integration.editor.fields.viz.ColorSelect.getMetadata

Returns a metadata object for class sap.ui.integration.editor.fields.viz.ColorSelect.

setAllowCustomColors

Sets a new value for property allowCustomColors.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is false.

setBackground

Sets a new value for property background.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

setColorEnum

Sets a new value for property colorEnum.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is "sap.m.AvatarColor".

setColorValue

Sets a new value for property colorValue.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is empty string.

setEditable

Sets a new value for property editable.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

setEnumValue

Sets a new value for property enumValue.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is empty string.

sap.ui.integration.editor.fields.viz.ColorSelect.extend

Creates a new subclass of class sap.ui.integration.editor.fields.viz.ColorSelect 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.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

getAllowCustomColors

Gets current value of property allowCustomColors.

Default value is false.

getBackground

Gets current value of property background.

Default value is true.

getColorEnum

Gets current value of property colorEnum.

Default value is "sap.m.AvatarColor".

getColorValue

Gets current value of property colorValue.

Default value is empty string.

getEditable

Gets current value of property editable.

Default value is true.

getEnumValue

Gets current value of property enumValue.

Default value is empty string.

sap.ui.integration.editor.fields.viz.ColorSelect.getMetadata

Returns a metadata object for class sap.ui.integration.editor.fields.viz.ColorSelect.

setAllowCustomColors

Sets a new value for property allowCustomColors.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is false.

Param Type DefaultValue Description
bAllowCustomColors boolean false

New value for property allowCustomColors

setBackground

Sets a new value for property background.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

Param Type DefaultValue Description
bBackground boolean true

New value for property background

setColorEnum

Sets a new value for property colorEnum.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is "sap.m.AvatarColor".

Param Type DefaultValue Description
sColorEnum string "sap.m.AvatarColor"

New value for property colorEnum

setColorValue

Sets a new value for property colorValue.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is empty string.

Param Type DefaultValue Description
sColorValue string ""

New value for property colorValue

setEditable

Sets a new value for property editable.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

Param Type DefaultValue Description
bEditable boolean true

New value for property editable

setEnumValue

Sets a new value for property enumValue.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is empty string.

Param Type DefaultValue Description
sEnumValue string ""

New value for property enumValue