class sap.ui.mdc.field.CustomFieldInfo

Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/mdc/field/CustomFieldInfo
Application Component: CA-UI5-MDC

A field help used in the FieldInfo aggregation in FieldBase controls that allows you to add custom content.


Constructor

Constructor for a new CustomFieldInfo.

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.mdc.field.CustomFieldInfo(sId?, mSettings?)
Param Type Default Value Description
sId? string

ID for the new control, generated automatically if no ID is given

mSettings? object

Initial settings for the new control

Borrowed Properties

Name Type Default Value Description
delegate object

Path to the Delegate module that provides the required APIs to execute model-specific logic.
Note: Ensure that the related file can be requested (any required library has to be loaded before that).
Do not bind or modify the module. This property can only be configured during control initialization.

Visibility: public

Aggregations

Default Aggregation: content

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

Content of the field information.


Methods Overview

Method Description
destroyContent

Destroys the content in the aggregation content.

sap.ui.mdc.field.CustomFieldInfo.extend

Creates a new subclass of class sap.ui.mdc.field.CustomFieldInfo 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.mdc.field.FieldInfoBase.extend.

getContent

Gets content of aggregation content.

Content of the field information.

sap.ui.mdc.field.CustomFieldInfo.getMetadata

Returns a metadata object for class sap.ui.mdc.field.CustomFieldInfo.

setContent

Sets the aggregated content.

destroyContent

Destroys the content in the aggregation content.

sap.ui.mdc.field.CustomFieldInfo.extend

Creates a new subclass of class sap.ui.mdc.field.CustomFieldInfo 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.mdc.field.FieldInfoBase.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

getContent

Gets content of aggregation content.

Content of the field information.

sap.ui.mdc.field.CustomFieldInfo.getMetadata

Returns a metadata object for class sap.ui.mdc.field.CustomFieldInfo.

setContent

Sets the aggregated content.

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

The content to set