Class sap.ui.comp.variants.EditableVariantItemModule: sap/ui/comp/variants/EditableVariantItem
The EditableVariantItem class describes an editable variant list item for the Manage Variants popup.
sClassName and enriches it with the information contained in oClassInfo. 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
- key : string
- global : boolean
- lifecyclePackage : string
- lifecycleTransportId : string
- namespace : string
- readOnly : boolean (default: false)
- accessOptions : string
- labelReadOnly : boolean (default: false)
- author : string
In addition, all settings applicable to the base type sap.m.ColumnListItem 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.m.ColumnListItem.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 |
author. Author of the variant
- Since:
- 1.38.0
| {string} | Value of property author |
global. Indicator if a variant is visible for all users.
- Since:
- 1.26.0
| {boolean} | Value of property global |
key. Key of the List Item
- Since:
- 1.22.0
| {string} | Value of property key |
labelReadOnly. Indicates if the variant label can be changed
Default value is false.
- Since:
- 1.28.0
| {boolean} | Value of property labelReadOnly |
lifecyclePackage. ABAP Package the variant is assigned. Used for transport functionality
- Since:
- 1.26.0
| {string} | Value of property lifecyclePackage |
lifecycleTransportId. Identifier of the transport object the variant is assigned to.
- Since:
- 1.26.0
| {string} | Value of property lifecycleTransportId |
namespace. Variant namespace
- Since:
- 1.26.0
| {string} | Value of property namespace |
readOnly. Indication if variant can be changed
Default value is false.
- Since:
- 1.26.0
| {boolean} | Value of property readOnly |
author. Author of the variant
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sAuthor | New value for property author |
- Since:
- 1.38.0
| {sap.ui.comp.variants.EditableVariantItem} | Reference to this in order to allow method chaining |
global. Indicator if a variant is visible for all users.
When called with a value of null or undefined, the default value of the property will be restored.
| {boolean} | bGlobal | New value for property global |
- Since:
- 1.26.0
| {sap.ui.comp.variants.EditableVariantItem} | Reference to this in order to allow method chaining |
key. Key of the List Item
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sKey | New value for property key |
- Since:
- 1.22.0
| {sap.ui.comp.variants.EditableVariantItem} | Reference to this in order to allow method chaining |
labelReadOnly. Indicates if the variant label can be changed
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
| {boolean} | bLabelReadOnly | New value for property labelReadOnly |
- Since:
- 1.28.0
| {sap.ui.comp.variants.EditableVariantItem} | Reference to this in order to allow method chaining |
lifecyclePackage. ABAP Package the variant is assigned. Used for transport functionality
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sLifecyclePackage | New value for property lifecyclePackage |
- Since:
- 1.26.0
| {sap.ui.comp.variants.EditableVariantItem} | Reference to this in order to allow method chaining |
lifecycleTransportId. Identifier of the transport object the variant is assigned to.
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sLifecycleTransportId | New value for property lifecycleTransportId |
- Since:
- 1.26.0
| {sap.ui.comp.variants.EditableVariantItem} | Reference to this in order to allow method chaining |
namespace. Variant namespace
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sNamespace | New value for property namespace |
- Since:
- 1.26.0
| {sap.ui.comp.variants.EditableVariantItem} | Reference to this in order to allow method chaining |
readOnly. Indication if variant can be changed
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
| {boolean} | bReadOnly | New value for property readOnly |
- Since:
- 1.26.0
| {sap.ui.comp.variants.EditableVariantItem} | Reference to this in order to allow method chaining |
accessOptions. Flags for a variant to indicate why it might be read-only
- Deprecated:
- Since version 1.28.0. Replaced by property
labelReadOnly
- Since:
- 1.26.0
| {string} | Value of property accessOptions |
accessOptions. Flags for a variant to indicate why it might be read-only
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sAccessOptions | New value for property accessOptions |
- Deprecated:
- Since version 1.28.0. Replaced by property
labelReadOnly
- Since:
- 1.26.0
| {sap.ui.comp.variants.EditableVariantItem} | Reference to this in order to allow method chaining |