A field help used in the FieldInfo
aggregation in FieldBase
controls that allows you to add custom content.
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 |
Name | Type | Default Value | Description |
---|---|---|---|
delegate | object | Path to the |
Default Aggregation: content
Name | Cardinality | Type | Description |
---|---|---|---|
content (default) | 0..1 | sap.ui.core.Control |
Content of the field information. |
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
|
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. |
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 |
Returns a metadata object for class sap.ui.mdc.field.CustomFieldInfo.
Sets the aggregated content.
Param | Type | DefaultValue | Description |
---|---|---|---|
oContent | sap.ui.core.Control |
The content to set |