Class sap.ui.comp.smartform.flexibility.DialogContentModule: sap/ui/comp/smartform/flexibility/DialogContent
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
Events borrowed from class sap.ui.base.ManagedObject
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.
initialiseODataFieldSelector(oODataModel, sEntityType, sComponentName, aIgnoredFields, mBindingPathToFieldListElement, mIdToFieldListElement, mPropertyBag)Returns Ids of the assigned changes of the component (correctly sorted)
Methods borrowed from class sap.ui.core.Control
addStyleClass, allowTextSelection, attachBrowserEvent, attachValidateFieldGroup, checkFieldGroupIds, clone, detachBrowserEvent, detachValidateFieldGroup, fireValidateFieldGroup, getAccessibilityInfo, getBusy, getBusyIndicatorDelay, getControlsByFieldGroupId, getFieldGroupIds, getIdForLabel, getRenderer, getVisible, hasStyleClass, invalidate, isBusy, onAfterRendering, onBeforeRendering, placeAt, removeStyleClass, rerender, setBusy, setBusyIndicatorDelay, setFieldGroupIds, setVisible, toggleStyleClass, triggerValidateFieldGroup
Methods borrowed from class sap.ui.core.Element
$, addCustomData, addDependent, addEventDelegate, applyFocusInfo, bindElement, data, destroy, destroyCustomData, destroyDependents, destroyLayoutData, destroyTooltip, enhanceAccessibilityState, exit, findElements, fireEvent, focus, getCustomData, getDependents, getDomRef, getElementBinding, getFocusDomRef, getFocusInfo, getInterface, getLayoutData, getMetadata, getTooltip, getTooltip_AsString, getTooltip_Text, indexOfCustomData, indexOfDependent, insertCustomData, insertDependent, prop, removeAllCustomData, removeAllDependents, removeCustomData, removeDependent, removeEventDelegate, setLayoutData, setTooltip, toString, unbindElement
Methods borrowed from class sap.ui.base.ManagedObject
addAggregation, addAssociation, applySettings, attachFormatError, attachModelContextChange, attachParseError, attachValidationError, attachValidationSuccess, bindAggregation, bindContext, bindObject, bindProperty, destroyAggregation, detachFormatError, detachModelContextChange, detachParseError, detachValidationError, detachValidationSuccess, findAggregatedObjects, fireFormatError, fireModelContextChange, fireParseError, fireValidationError, fireValidationSuccess, getAggregation, getAssociation, getBinding, getBindingContext, getBindingInfo, getBindingPath, getEventingParent, getId, getModel, getObjectBinding, getOriginInfo, getParent, getProperty, hasModel, indexOfAggregation, insertAggregation, isBound, isInvalidateSuppressed, isTreeBinding, propagateMessages, removeAggregation, removeAllAggregation, removeAllAssociation, removeAssociation, setAggregation, setAssociation, setBindingContext, setModel, setProperty, unbindAggregation, unbindContext, unbindObject, unbindProperty, validateAggregation, validateProperty
Methods borrowed from class sap.ui.base.EventProvider
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
- content : sap.ui.core.Control
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 |
destroyContent(): sap.ui.comp.smartform.flexibility.DialogContent
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} |
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 |
setContent(oContent): sap.ui.comp.smartform.flexibility.DialogContent
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 |