class sap.uxap.HierarchicalSelect

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Extends: sap.m.Select
Module: sap/uxap/HierarchicalSelect
Application Component: CA-UI5-CTR

A select that displays items on a hierarchy of 2 levels.

If a provided item has a custom data named secondLevel, then it will be displayed as a second level, otherwise it would be displayed as a first level.


Constructor

Constructor for a new HierarchicalSelect.

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.uxap.HierarchicalSelect(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
upperCase boolean false

Determines whether the HierarchicalSelect items are displayed in upper case.

Visibility: public

Methods Overview

Method Description
sap.uxap.HierarchicalSelect.extend

Creates a new subclass of class sap.uxap.HierarchicalSelect 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.Select.extend.

sap.uxap.HierarchicalSelect.getMetadata

Returns a metadata object for class sap.uxap.HierarchicalSelect.

getUpperCase

Gets current value of property upperCase.

Determines whether the HierarchicalSelect items are displayed in upper case.

Default value is false.

setUpperCase

Sets a new value for property upperCase.

Determines whether the HierarchicalSelect items are displayed in upper case.

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

Default value is false.

sap.uxap.HierarchicalSelect.extend

Creates a new subclass of class sap.uxap.HierarchicalSelect 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.Select.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

sap.uxap.HierarchicalSelect.getMetadata

Returns a metadata object for class sap.uxap.HierarchicalSelect.

getUpperCase

Gets current value of property upperCase.

Determines whether the HierarchicalSelect items are displayed in upper case.

Default value is false.

setUpperCase

Sets a new value for property upperCase.

Determines whether the HierarchicalSelect items are displayed in upper case.

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
bUpperCase boolean false

New value for property upperCase