class sap.ui.integration.designtime.baseEditor.PropertyEditors

Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/integration/designtime/baseEditor/PropertyEditors
Application Component: CA-UI5-CTR

Renders a group of property editors based on specified tags or custom config.


Constructor

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.PropertyEditors()

Properties

Name Type Default Value Description
config array

An array of custom configuration objects. If set, it has priority over tags. Example:

[
    {
        "label": "My property 1",
        "type": "string",
        "path": "path/to/my/property1"
    },
    {
        "label": "My property 2",
        "type": "string",
        "path": "path/to/my/property2"
    }
]
Where:
  • label = text string for the property editor label
  • type = one of the registered property editors types in BaseEditor configuration (see propertyEditors section)
  • path = a binding path to get data from

Visibility: public
layout string list Visibility: public
layoutConfig object Visibility: public
renderLabels boolean

Indicates whether the embedded BasePropertyEditor instances should render their labels.

Visibility: public
tags string

List of tags to render, e.g. "header,content". Only the properties that contain both tags will be rendered.

Visibility: public

Aggregations

Default Aggregation:

Name Cardinality Type Description
content 0..1 sap.ui.core.Control

Associations

Name Cardinality Type Description
editor 0..1 sap.ui.integration.designtime.baseEditor.BaseEditor
propertyEditors 0..1 sap.ui.integration.designtime.baseEditor.PropertyEditor

Events Overview

Event Description
configChange

Fires when config changes.

editorChange

Fires when the new editor changes.

init

Fires when the wrapper is initialized.

layoutChange

Fires when layout changes.

layoutConfigChange

Fires when layoutConfig changes.

propertyEditorsChange

Fires when the internal propertyEditors aggregation changes, e.g. called after the initial initialization or after changing tag or config properties.

ready

Fires when the nested editors are ready

tagsChange

Fires when tags changes.

validationErrorChange

Fires when the error state of one of the nested property editors changes

configChange

Fires when config changes.

Param Type Description
oControlEvent sap.ui.base.Event
getSource sap.ui.base.EventProvider
getParameters object
previousConfig array
config array

editorChange

Fires when the new editor changes.

Param Type Description
oControlEvent sap.ui.base.Event
getSource sap.ui.base.EventProvider
getParameters object
previousEditor sap.ui.integration.designtime.baseEditor.BaseEditor
editor sap.ui.integration.designtime.baseEditor.BaseEditor

init

Fires when the wrapper is initialized.

Param Type Description
oControlEvent sap.ui.base.Event
getSource sap.ui.base.EventProvider
getParameters object

layoutChange

Fires when layout changes.

Param Type Description
oControlEvent sap.ui.base.Event
getSource sap.ui.base.EventProvider
getParameters object
previousLayout string
layout string

layoutConfigChange

Fires when layoutConfig changes.

Param Type Description
oControlEvent sap.ui.base.Event
getSource sap.ui.base.EventProvider
getParameters object
previousLayoutConfig object
layoutConfig object

propertyEditorsChange

Fires when the internal propertyEditors aggregation changes, e.g. called after the initial initialization or after changing tag or config properties.

Param Type Description
oControlEvent sap.ui.base.Event
getSource sap.ui.base.EventProvider
getParameters object
previousPropertyEditors sap.ui.integration.designtime.baseEditor.PropertyEditor
propertyEditors sap.ui.integration.designtime.baseEditor.PropertyEditor

ready

Fires when the nested editors are ready

Param Type Description
oControlEvent sap.ui.base.Event
getSource sap.ui.base.EventProvider
getParameters object

tagsChange

Fires when tags changes.

Param Type Description
oControlEvent sap.ui.base.Event
getSource sap.ui.base.EventProvider
getParameters object
previousTags string
tags string

validationErrorChange

Fires when the error state of one of the nested property editors changes

Param Type Description
oControlEvent sap.ui.base.Event
getSource sap.ui.base.EventProvider
getParameters object
hasError boolean

Whether there is an error in one of the nested editors

Since: 1.96.0.


Methods Overview

Method Description
attachConfigChange

Attaches event handler fnFunction to the configChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when config changes.

attachEditorChange

Attaches event handler fnFunction to the editorChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when the new editor changes.

attachInit

Attaches event handler fnFunction to the init event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when the wrapper is initialized.

attachLayoutChange

Attaches event handler fnFunction to the layoutChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when layout changes.

attachLayoutConfigChange

Attaches event handler fnFunction to the layoutConfigChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when layoutConfig changes.

attachPropertyEditorsChange

Attaches event handler fnFunction to the propertyEditorsChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when the internal propertyEditors aggregation changes, e.g. called after the initial initialization or after changing tag or config properties.

attachReady

Attaches event handler fnFunction to the ready event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when the nested editors are ready

attachTagsChange

Attaches event handler fnFunction to the tagsChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when tags changes.

attachValidationErrorChange

Attaches event handler fnFunction to the validationErrorChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when the error state of one of the nested property editors changes

destroyContent

Destroys the content in the aggregation content.

detachConfigChange

Detaches event handler fnFunction from the configChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

detachEditorChange

Detaches event handler fnFunction from the editorChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

detachInit

Detaches event handler fnFunction from the init event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

detachLayoutChange

Detaches event handler fnFunction from the layoutChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

detachLayoutConfigChange

Detaches event handler fnFunction from the layoutConfigChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

detachPropertyEditorsChange

Detaches event handler fnFunction from the propertyEditorsChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

detachReady

Detaches event handler fnFunction from the ready event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

detachTagsChange

Detaches event handler fnFunction from the tagsChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

detachValidationErrorChange

Detaches event handler fnFunction from the validationErrorChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

sap.ui.integration.designtime.baseEditor.PropertyEditors.extend

Creates a new subclass of class sap.ui.integration.designtime.baseEditor.PropertyEditors 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.core.Control.extend.

fireConfigChange

Fires event configChange to attached listeners.

fireEditorChange

Fires event editorChange to attached listeners.

fireInit

Fires event init to attached listeners.

fireLayoutChange

Fires event layoutChange to attached listeners.

fireLayoutConfigChange

Fires event layoutConfigChange to attached listeners.

firePropertyEditorsChange

Fires event propertyEditorsChange to attached listeners.

fireReady

Fires event ready to attached listeners.

fireTagsChange

Fires event tagsChange to attached listeners.

fireValidationErrorChange

Fires event validationErrorChange to attached listeners.

getConfig

Gets current value of property config.

An array of custom configuration objects. If set, it has priority over tags. Example:

[
    {
        "label": "My property 1",
        "type": "string",
        "path": "path/to/my/property1"
    },
    {
        "label": "My property 2",
        "type": "string",
        "path": "path/to/my/property2"
    }
]
Where:
  • label = text string for the property editor label
  • type = one of the registered property editors types in BaseEditor configuration (see propertyEditors section)
  • path = a binding path to get data from

getContent

Gets content of aggregation content.

getEditor

ID of the element which is the current target of the association editor, or null.

getLayout

Gets current value of property layout.

Default value is "list".

getLayoutConfig

Gets current value of property layoutConfig.

sap.ui.integration.designtime.baseEditor.PropertyEditors.getMetadata

Returns a metadata object for class sap.ui.integration.designtime.baseEditor.PropertyEditors.

getRenderLabels

Gets current value of property renderLabels.

Indicates whether the embedded BasePropertyEditor instances should render their labels.

getTags

Gets current value of property tags.

List of tags to render, e.g. "header,content". Only the properties that contain both tags will be rendered.

setConfig

Sets a new value for property config.

An array of custom configuration objects. If set, it has priority over tags. Example:

[
    {
        "label": "My property 1",
        "type": "string",
        "path": "path/to/my/property1"
    },
    {
        "label": "My property 2",
        "type": "string",
        "path": "path/to/my/property2"
    }
]
Where:
  • label = text string for the property editor label
  • type = one of the registered property editors types in BaseEditor configuration (see propertyEditors section)
  • path = a binding path to get data from

When called with a value of null or undefined, the default value of the property will be restored.

setContent

Sets the aggregated content.

setEditor

Sets the associated editor.

setLayout

Sets a new value for property layout.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is "list".

setLayoutConfig

Sets a new value for property layoutConfig.

When called with a value of null or undefined, the default value of the property will be restored.

setRenderLabels

Sets a new value for property renderLabels.

Indicates whether the embedded BasePropertyEditor instances should render their labels.

When called with a value of null or undefined, the default value of the property will be restored.

setTags

Sets a new value for property tags.

List of tags to render, e.g. "header,content". Only the properties that contain both tags will be rendered.

When called with a value of null or undefined, the default value of the property will be restored.

attachConfigChange

Attaches event handler fnFunction to the configChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when config changes.

Param Type DefaultValue Description
oData object

An application-specific payload object that will be passed to the event handler along with the event object when firing the event

fnFunction function(sap.ui.base.Event) : void

The function to be called when the event occurs

oListener object

Context object to call the event handler with. Defaults to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself

attachEditorChange

Attaches event handler fnFunction to the editorChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when the new editor changes.

Param Type DefaultValue Description
oData object

An application-specific payload object that will be passed to the event handler along with the event object when firing the event

fnFunction function(sap.ui.base.Event) : void

The function to be called when the event occurs

oListener object

Context object to call the event handler with. Defaults to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself

attachInit

Attaches event handler fnFunction to the init event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when the wrapper is initialized.

Param Type DefaultValue Description
oData object

An application-specific payload object that will be passed to the event handler along with the event object when firing the event

fnFunction function(sap.ui.base.Event) : void

The function to be called when the event occurs

oListener object

Context object to call the event handler with. Defaults to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself

attachLayoutChange

Attaches event handler fnFunction to the layoutChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when layout changes.

Param Type DefaultValue Description
oData object

An application-specific payload object that will be passed to the event handler along with the event object when firing the event

fnFunction function(sap.ui.base.Event) : void

The function to be called when the event occurs

oListener object

Context object to call the event handler with. Defaults to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself

attachLayoutConfigChange

Attaches event handler fnFunction to the layoutConfigChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when layoutConfig changes.

Param Type DefaultValue Description
oData object

An application-specific payload object that will be passed to the event handler along with the event object when firing the event

fnFunction function(sap.ui.base.Event) : void

The function to be called when the event occurs

oListener object

Context object to call the event handler with. Defaults to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself

attachPropertyEditorsChange

Attaches event handler fnFunction to the propertyEditorsChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when the internal propertyEditors aggregation changes, e.g. called after the initial initialization or after changing tag or config properties.

Param Type DefaultValue Description
oData object

An application-specific payload object that will be passed to the event handler along with the event object when firing the event

fnFunction function(sap.ui.base.Event) : void

The function to be called when the event occurs

oListener object

Context object to call the event handler with. Defaults to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself

attachReady

Attaches event handler fnFunction to the ready event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when the nested editors are ready

Param Type DefaultValue Description
oData object

An application-specific payload object that will be passed to the event handler along with the event object when firing the event

fnFunction function(sap.ui.base.Event) : void

The function to be called when the event occurs

oListener object

Context object to call the event handler with. Defaults to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself

attachTagsChange

Attaches event handler fnFunction to the tagsChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when tags changes.

Param Type DefaultValue Description
oData object

An application-specific payload object that will be passed to the event handler along with the event object when firing the event

fnFunction function(sap.ui.base.Event) : void

The function to be called when the event occurs

oListener object

Context object to call the event handler with. Defaults to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself

attachValidationErrorChange

Attaches event handler fnFunction to the validationErrorChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself.

Fires when the error state of one of the nested property editors changes

Param Type DefaultValue Description
oData object

An application-specific payload object that will be passed to the event handler along with the event object when firing the event

fnFunction function(sap.ui.base.Event) : void

The function to be called when the event occurs

oListener object

Context object to call the event handler with. Defaults to this sap.ui.integration.designtime.baseEditor.PropertyEditors itself

destroyContent

Destroys the content in the aggregation content.

detachConfigChange

Detaches event handler fnFunction from the configChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

Param Type DefaultValue Description
fnFunction function(sap.ui.base.Event) : void

The function to be called, when the event occurs

oListener object

Context object on which the given function had to be called

detachEditorChange

Detaches event handler fnFunction from the editorChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

Param Type DefaultValue Description
fnFunction function(sap.ui.base.Event) : void

The function to be called, when the event occurs

oListener object

Context object on which the given function had to be called

detachInit

Detaches event handler fnFunction from the init event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

Param Type DefaultValue Description
fnFunction function(sap.ui.base.Event) : void

The function to be called, when the event occurs

oListener object

Context object on which the given function had to be called

detachLayoutChange

Detaches event handler fnFunction from the layoutChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

Param Type DefaultValue Description
fnFunction function(sap.ui.base.Event) : void

The function to be called, when the event occurs

oListener object

Context object on which the given function had to be called

detachLayoutConfigChange

Detaches event handler fnFunction from the layoutConfigChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

Param Type DefaultValue Description
fnFunction function(sap.ui.base.Event) : void

The function to be called, when the event occurs

oListener object

Context object on which the given function had to be called

detachPropertyEditorsChange

Detaches event handler fnFunction from the propertyEditorsChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

Param Type DefaultValue Description
fnFunction function(sap.ui.base.Event) : void

The function to be called, when the event occurs

oListener object

Context object on which the given function had to be called

detachReady

Detaches event handler fnFunction from the ready event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

Param Type DefaultValue Description
fnFunction function(sap.ui.base.Event) : void

The function to be called, when the event occurs

oListener object

Context object on which the given function had to be called

detachTagsChange

Detaches event handler fnFunction from the tagsChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

Param Type DefaultValue Description
fnFunction function(sap.ui.base.Event) : void

The function to be called, when the event occurs

oListener object

Context object on which the given function had to be called

detachValidationErrorChange

Detaches event handler fnFunction from the validationErrorChange event of this sap.ui.integration.designtime.baseEditor.PropertyEditors.

The passed function and listener object must match the ones used for event registration.

Param Type DefaultValue Description
fnFunction function(sap.ui.base.Event) : void

The function to be called, when the event occurs

oListener object

Context object on which the given function had to be called

sap.ui.integration.designtime.baseEditor.PropertyEditors.extend

Creates a new subclass of class sap.ui.integration.designtime.baseEditor.PropertyEditors 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.core.Control.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

fireConfigChange

Fires event configChange to attached listeners.

Param Type DefaultValue Description
mParameters object

Parameters to pass along with the event

previousConfig array
config array

fireEditorChange

Fires event editorChange to attached listeners.

Param Type DefaultValue Description
mParameters object

Parameters to pass along with the event

previousEditor sap.ui.integration.designtime.baseEditor.BaseEditor
editor sap.ui.integration.designtime.baseEditor.BaseEditor

fireInit

Fires event init to attached listeners.

Param Type DefaultValue Description
mParameters object

Parameters to pass along with the event

fireLayoutChange

Fires event layoutChange to attached listeners.

Param Type DefaultValue Description
mParameters object

Parameters to pass along with the event

previousLayout string
layout string

fireLayoutConfigChange

Fires event layoutConfigChange to attached listeners.

Param Type DefaultValue Description
mParameters object

Parameters to pass along with the event

previousLayoutConfig object
layoutConfig object

firePropertyEditorsChange

Fires event propertyEditorsChange to attached listeners.

Param Type DefaultValue Description
mParameters object

Parameters to pass along with the event

previousPropertyEditors sap.ui.integration.designtime.baseEditor.PropertyEditor
propertyEditors sap.ui.integration.designtime.baseEditor.PropertyEditor

fireReady

Fires event ready to attached listeners.

Param Type DefaultValue Description
mParameters object

Parameters to pass along with the event

fireTagsChange

Fires event tagsChange to attached listeners.

Param Type DefaultValue Description
mParameters object

Parameters to pass along with the event

previousTags string
tags string

fireValidationErrorChange

Fires event validationErrorChange to attached listeners.

Param Type DefaultValue Description
mParameters object

Parameters to pass along with the event

hasError boolean

Whether there is an error in one of the nested editors

getConfig

Gets current value of property config.

An array of custom configuration objects. If set, it has priority over tags. Example:

[
    {
        "label": "My property 1",
        "type": "string",
        "path": "path/to/my/property1"
    },
    {
        "label": "My property 2",
        "type": "string",
        "path": "path/to/my/property2"
    }
]
Where:

getContent

Gets content of aggregation content.

getEditor

ID of the element which is the current target of the association editor, or null.

getLayout

Gets current value of property layout.

Default value is "list".

getLayoutConfig

Gets current value of property layoutConfig.

sap.ui.integration.designtime.baseEditor.PropertyEditors.getMetadata

Returns a metadata object for class sap.ui.integration.designtime.baseEditor.PropertyEditors.

getRenderLabels

Gets current value of property renderLabels.

Indicates whether the embedded BasePropertyEditor instances should render their labels.

getTags

Gets current value of property tags.

List of tags to render, e.g. "header,content". Only the properties that contain both tags will be rendered.

setConfig

Sets a new value for property config.

An array of custom configuration objects. If set, it has priority over tags. Example:

[
    {
        "label": "My property 1",
        "type": "string",
        "path": "path/to/my/property1"
    },
    {
        "label": "My property 2",
        "type": "string",
        "path": "path/to/my/property2"
    }
]
Where:

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
sConfig array

New value for property config

setContent

Sets the aggregated content.

Param Type DefaultValue Description
oContent sap.ui.core.Control

The content to set

setEditor

Sets the associated editor.

Param Type DefaultValue Description
oEditor sap.ui.core.ID sap.ui.integration.designtime.baseEditor.BaseEditor

ID of an element which becomes the new target of this editor association; alternatively, an element instance may be given

setLayout

Sets a new value for property layout.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is "list".

Param Type DefaultValue Description
sLayout string "list"

New value for property layout

setLayoutConfig

Sets a new value for property layoutConfig.

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
oLayoutConfig object

New value for property layoutConfig

setRenderLabels

Sets a new value for property renderLabels.

Indicates whether the embedded BasePropertyEditor instances should render their labels.

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
bRenderLabels boolean

New value for property renderLabels

setTags

Sets a new value for property tags.

List of tags to render, e.g. "header,content". Only the properties that contain both tags will be rendered.

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
sTags string

New value for property tags