class sap.ui.commons.MenuTextFieldItem

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/commons/MenuTextFieldItem
Application Component: CA-UI5-CTR

Special menu item which contains a label and a text field. This menu item is e.g. helpful for filter implementations. The aggregation submenu (inherited from parent class) is not supported for this type of menu item.


Constructor

Constructor for a new MenuTextFieldItem element.

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.

This class does not have its own settings, but all settings applicable to the base type sap.ui.unified.MenuTextFieldItem can be used.

new sap.ui.commons.MenuTextFieldItem(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


Methods Overview

Method Description
sap.ui.commons.MenuTextFieldItem.extend

Creates a new subclass of class sap.ui.commons.MenuTextFieldItem 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.unified.MenuTextFieldItem.extend.

sap.ui.commons.MenuTextFieldItem.getMetadata

Returns a metadata object for class sap.ui.commons.MenuTextFieldItem.

sap.ui.commons.MenuTextFieldItem.extend

Creates a new subclass of class sap.ui.commons.MenuTextFieldItem 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.unified.MenuTextFieldItem.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.ui.commons.MenuTextFieldItem.getMetadata

Returns a metadata object for class sap.ui.commons.MenuTextFieldItem.