Class sap.ui.core.ComponentContainerModule: sap/ui/core/ComponentContainer
Component Container
sClassName and enriches it with the information contained in oClassInfo. 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:
- Properties
- name : string
- url : sap.ui.core.URI
- handleValidation : boolean (default: false)
- settings : object
- propagateModel : boolean (default: false)
- width : sap.ui.core.CSSSize
- height : sap.ui.core.CSSSize
In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.
| {string} | sId? | id for the new control, generated automatically if no id is given |
| {object} | mSettings? | initial settings for the new control |
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.
| {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 |
| {function} | Created class / constructor function |
| {sap.ui.base.Metadata} | Metadata object describing this class |
component, or null. | {sap.ui.core.UIComponent} |
handleValidation. Enable/disable validation handling by MessageManager for this component. The resulting Messages will be propagated to the controls.
Default value is false.
| {boolean} | Value of property handleValidation |
height. Container height in CSS size
| {sap.ui.core.CSSSize} | Value of property height |
name. Component name, the package where the component is contained. The property can only be applied initially.
| {string} | Value of property name |
propagateModel. Defines whether binding information is propagated to the component.
Default value is false.
| {boolean} | Value of property propagateModel |
settings. The settings object passed to the component when created. The property can only be applied initially.
| {object} | Value of property settings |
url. The URL of the component. The property can only be applied initially.
| {sap.ui.core.URI} | Value of property url |
width. Container width in CSS size
| {sap.ui.core.CSSSize} | Value of property width |
component. | {sap.ui.core.UIComponent} | oComponent | Id of an element which becomes the new target of this component association; alternatively, an element instance may be given |
| {sap.ui.core.ComponentContainer} | Reference to this in order to allow method chaining |
handleValidation. Enable/disable validation handling by MessageManager for this component. The resulting Messages will be propagated to the controls.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
| {boolean} | bHandleValidation | New value for property handleValidation |
| {sap.ui.core.ComponentContainer} | Reference to this in order to allow method chaining |
height. Container height in CSS size
When called with a value of null or undefined, the default value of the property will be restored.
| {sap.ui.core.CSSSize} | sHeight | New value for property height |
| {sap.ui.core.ComponentContainer} | Reference to this in order to allow method chaining |
name. Component name, the package where the component is contained. The property can only be applied initially.
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sName | New value for property name |
| {sap.ui.core.ComponentContainer} | Reference to this in order to allow method chaining |
propagateModel. Defines whether binding information is propagated to the component.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
| {boolean} | bPropagateModel | New value for property propagateModel |
| {sap.ui.core.ComponentContainer} | Reference to this in order to allow method chaining |
settings. The settings object passed to the component when created. The property can only be applied initially.
When called with a value of null or undefined, the default value of the property will be restored.
| {object} | oSettings | New value for property settings |
| {sap.ui.core.ComponentContainer} | Reference to this in order to allow method chaining |
url. The URL of the component. The property can only be applied initially.
When called with a value of null or undefined, the default value of the property will be restored.
| {sap.ui.core.URI} | sUrl | New value for property url |
| {sap.ui.core.ComponentContainer} | Reference to this in order to allow method chaining |
width. Container width in CSS size
When called with a value of null or undefined, the default value of the property will be restored.
| {sap.ui.core.CSSSize} | sWidth | New value for property width |
| {sap.ui.core.ComponentContainer} | Reference to this in order to allow method chaining |