Constructor for a new ArrayEditor
.
This property editor allows you to edit arrays in a flat way. To get notified about changes made with the editor, you can use the valueChange
event.
Option | Type | Default | Description |
---|---|---|---|
allowAddAndRemove | boolean | true | Whether to allow adding and removing array items |
allowSorting | boolean | true | Whether to allow changing the order of array items |
collapsibleItems | boolean | true | Whether to render collapsible groups for array items or the plain array editor style |
showItemLabel | boolean | true | Whether to show the item label in the plain array editor |
template | object | {} | Editor configurations for the nested editors of each 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#constructor for a general description of the syntax of the settings object.
new sap.ui.integration.designtime.baseEditor.propertyEditor.arrayEditor.ArrayEditor()
Method | Description |
---|---|
sap.ui.integration.designtime.baseEditor.propertyEditor.arrayEditor.ArrayEditor.extend |
Creates a new subclass of class sap.ui.integration.designtime.baseEditor.propertyEditor.arrayEditor.ArrayEditor with name
|
sap.ui.integration.designtime.baseEditor.propertyEditor.arrayEditor.ArrayEditor.getMetadata |
Returns a metadata object for class sap.ui.integration.designtime.baseEditor.propertyEditor.arrayEditor.ArrayEditor. |
getValue |
Gets current value of property value. |
setValue |
Sets a new value for property value. When called with a value of |
Creates a new subclass of class sap.ui.integration.designtime.baseEditor.propertyEditor.arrayEditor.ArrayEditor 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 |
Returns a metadata object for class sap.ui.integration.designtime.baseEditor.propertyEditor.arrayEditor.ArrayEditor.
Sets a new value for property value.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
oValue | any |
New value for property |