Constructor for a new ComplexMapEditor
for editing key-value pairs with object values.
Option | Type | Default | Description |
---|---|---|---|
allowKeyChange | boolean | true | Whether to render an editor for the key attribute of map entries |
allowAddAndRemove | boolean | true | Whether to allow adding and removing map entries |
keyLabel | string | "Key" | The label to show for the key field. Default is the localized string "Key". |
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.integration.designtime.baseEditor.propertyEditor.BasePropertyEditor can be used.
new sap.ui.integration.designtime.cardEditor.propertyEditor.complexMapEditor.ComplexMapEditor()
Method | Description |
---|---|
sap.ui.integration.designtime.cardEditor.propertyEditor.complexMapEditor.ComplexMapEditor.extend |
Creates a new subclass of class sap.ui.integration.designtime.cardEditor.propertyEditor.complexMapEditor.ComplexMapEditor with name
|
sap.ui.integration.designtime.cardEditor.propertyEditor.complexMapEditor.ComplexMapEditor.getMetadata |
Returns a metadata object for class sap.ui.integration.designtime.cardEditor.propertyEditor.complexMapEditor.ComplexMapEditor. |
Creates a new subclass of class sap.ui.integration.designtime.cardEditor.propertyEditor.complexMapEditor.ComplexMapEditor 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.integration.designtime.baseEditor.propertyEditor.BasePropertyEditor.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 |