Class sap.ui.comp.smartform.flexibility.DialogContentModule: sap/ui/comp/smartform/flexibility/DialogContent

extends Control

The content of the personalization dialog of the SmartForm

Constructor Summary
new sap.ui.comp.smartform.flexibility.DialogContent(sId?, mSettings?)Constructor for a new smartform/flexibility/DialogContent.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ui.comp.smartform.flexibility.DialogContent.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.comp.smartform.flexibility.DialogContent with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.comp.smartform.flexibility.DialogContent.getMetadata()Returns a metadata object for class sap.ui.comp.smartform.flexibility.DialogContent.
destroyContent()Destroys the content in the aggregation content.
getContent()Gets content of aggregation content.
init()Initialisation
initialiseODataFieldSelector(oODataModel, sEntityType, sComponentName, aIgnoredFields, mBindingPathToFieldListElement, mIdToFieldListElement, mPropertyBag)Returns Ids of the assigned changes of the component (correctly sorted)
setContent(oContent)Sets the aggregated content.
setViewId(sId)Sets the first part of new control ids for the view context
Constructor Detail
new sap.ui.comp.smartform.flexibility.DialogContent(sId?, mSettings?)
Constructor for a new smartform/flexibility/DialogContent.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.

The supported settings are:

  • Aggregations

In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Method Detail
sap.ui.comp.smartform.flexibility.DialogContent.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.comp.smartform.flexibility.DialogContent 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.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.ui.comp.smartform.flexibility.DialogContent.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.comp.smartform.flexibility.DialogContent.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
Destroys the content in the aggregation content.
Returns:
{sap.ui.comp.smartform.flexibility.DialogContent} Reference to this in order to allow method chaining
getContent(): sap.ui.core.Control
Gets content of aggregation content.

Content of the control itself

Returns:
{sap.ui.core.Control}
init()
Initialisation
initialiseODataFieldSelector(oODataModel, sEntityType, sComponentName, aIgnoredFields, mBindingPathToFieldListElement, mIdToFieldListElement, mPropertyBag)
Returns Ids of the assigned changes of the component (correctly sorted)
Parameters:
{sap.ui.model.odata.ODataModel}oODataModel The list of fields will be extracetd from the models metadata
{string}sEntityType The entity type whose fields could be selected
{string}sComponentName The name of the SAPUI5 component
{array}aIgnoredFields List of fields which should be ignored
{Object.}mBindingPathToFieldListElement Map absolute odata binding paths to the field list elements
{Object.}mIdToFieldListElement Map field list element ids to the field list elements
{map}mPropertyBag (optional) contains additional data that are needed for reading of changes - appDescriptor that belongs to actual component - siteId that belongs to actual component
Sets the aggregated content.
Parameters:
{sap.ui.core.Control}oContent The content to set
Returns:
{sap.ui.comp.smartform.flexibility.DialogContent} Reference to this in order to allow method chaining
setViewId(sId)
Sets the first part of new control ids for the view context
Parameters:
{string}sId Control Id