Class sap.ui.unified.MenuTextFieldItemModule: sap/ui/unified/MenuTextFieldItem
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.
Since: 1.21.0.
sClassName
and enriches it with the information contained in oClassInfo
.submenu
(inherited from parent class) is not supported for this type of menu item.submenu
(inherited from parent class) is not supported for this type of menu item.submenu
(inherited from parent class) is not supported for this type of menu item. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- label : string
- icon : sap.ui.core.URI
- value : string
- valueState : sap.ui.core.ValueState (default: None)
In addition, all settings applicable to the base type sap.ui.unified.MenuItemBase can be used as well.
{string} | sId? | Id for the new control, generated automatically if no id is given |
{object} | mSettings? | Initial settings for the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.unified.MenuItemBase.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
icon
. Defines the icon of the sap.ui.core.IconPool or an image which should be displayed on the item.
{sap.ui.core.URI} | Value of property icon |
label
. Defines the label of the text field of the item.
{string} | Value of property label |
value
. Defines the value of the text field of the item.
{string} | Value of property value |
valueState
. Defines the value state of the text field of the item. This allows you to visualize e.g. warnings or errors.
Default value is None
.
{sap.ui.core.ValueState} | Value of property valueState |
icon
. Defines the icon of the sap.ui.core.IconPool or an image which should be displayed on the item.
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.ui.core.URI} | sIcon | New value for property icon |
{sap.ui.unified.MenuTextFieldItem} | Reference to this in order to allow method chaining |
label
. Defines the label of the text field of the item.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLabel | New value for property label |
{sap.ui.unified.MenuTextFieldItem} | Reference to this in order to allow method chaining |
value
. Defines the value of the text field of the item.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sValue | New value for property value |
{sap.ui.unified.MenuTextFieldItem} | Reference to this in order to allow method chaining |
valueState
. Defines the value state of the text field of the item. This allows you to visualize e.g. warnings or errors.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is None
.
{sap.ui.core.ValueState} | sValueState | New value for property valueState |
{sap.ui.unified.MenuTextFieldItem} | Reference to this in order to allow method chaining |
submenu
(inherited from parent class) is not supported for this type of menu item. - Deprecated:
- The aggregation
submenu
(inherited from parent class) is not supported for this type of menu item.
{sap.ui.unified.MenuTextFieldItem} | this to allow method chaining |
submenu
(inherited from parent class) is not supported for this type of menu item. - Deprecated:
- The aggregation
submenu
(inherited from parent class) is not supported for this type of menu item.
{sap.ui.unified.Menu} |
submenu
(inherited from parent class) is not supported for this type of menu item. {sap.ui.unified.Menu} | oSubmenu |
- Deprecated:
- The aggregation
submenu
(inherited from parent class) is not supported for this type of menu item.
{sap.ui.unified.MenuTextFieldItem} | this to allow method chaining |