class sap.ui.comp.smartfield.ComboBox

Visiblity: protected
UX Guidelines:
Implements:
Available since: N/A
Extends: sap.m.ComboBox
Module: sap/ui/comp/smartfield/ComboBox
Application Component: CA-UI5-CMP

Extends the functionalities in sap.m.ComboBox


Constructor

Constructor for a new SmartField/ComboBox.

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.comp.smartfield.ComboBox(sId?, mSettings?)
Param Type Default Value Description
sId? string

ID for the new control, generated automatically if no ID is given

mSettings? object

Initial settings for the new control


Properties

Name Type Default Value Description
enteredValue string empty string Visibility: public

Methods Overview

Method Description
sap.ui.comp.smartfield.ComboBox.extend

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

oClassInfo might contain the same kind of information as described in sap.m.ComboBox.extend.

getEnteredValue

Gets current value of property enteredValue.

Default value is empty string.

sap.ui.comp.smartfield.ComboBox.getMetadata

Returns a metadata object for class sap.ui.comp.smartfield.ComboBox.

setEnteredValue

Sets a new value for property enteredValue.

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.comp.smartfield.ComboBox.extend

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

oClassInfo might contain the same kind of information as described in sap.m.ComboBox.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

getEnteredValue

Gets current value of property enteredValue.

Default value is empty string.

sap.ui.comp.smartfield.ComboBox.getMetadata

Returns a metadata object for class sap.ui.comp.smartfield.ComboBox.

setEnteredValue

Sets a new value for property enteredValue.

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
sEnteredValue string ""

New value for property enteredValue