Class sap.ui.layout.ResponsiveFlowLayoutDataModule: sap/ui/layout/ResponsiveFlowLayoutData
This is a LayoutData element that can be added to a control if this control is used within a ResponsiveFlowLayout.
Since: 1.16.0.
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
- minWidth : int (default: 100)
- weight : int (default: 1)
- linebreak : boolean (default: false)
- margin : boolean (default: true)
- linebreakable : boolean (default: true)
In addition, all settings applicable to the base type sap.ui.core.LayoutData 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.LayoutData.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 |
linebreak. If this property is set, the control in which the LayoutData is added, will always cause a line break within the ResponsiveFlowLayout.
Default value is false.
| {boolean} | Value of property linebreak |
linebreakable. Shows if an element can be wrapped into a new row. If this value is set to false, the min-width will be set to 0 and the wrapping is up to the previous element.
Default value is true.
| {boolean} | Value of property linebreakable |
margin. Prevents any margin of the element if set to false.
Default value is true.
| {boolean} | Value of property margin |
minWidth. Defines the minimal size in px of an ResponsiveFlowLayout element. The element will be shrunk down to this value.
Default value is 100.
| {int} | Value of property minWidth |
weight. Defines the weight of the element, that influences the resulting width. If there are several elements within a row of the ResponsiveFlowLayout, each element could have another weight. The bigger the weight of a single element, the wider it will be stretched, i.e. a bigger weight results in a larger width.
Default value is 1.
| {int} | Value of property weight |
linebreak. If this property is set, the control in which the LayoutData is added, will always cause a line break within the ResponsiveFlowLayout.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
| {boolean} | bLinebreak | New value for property linebreak |
| {sap.ui.layout.ResponsiveFlowLayoutData} | Reference to this in order to allow method chaining |
linebreakable. Shows if an element can be wrapped into a new row. If this value is set to false, the min-width will be set to 0 and the wrapping is up to the previous element.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is true.
| {boolean} | bLinebreakable | New value for property linebreakable |
| {sap.ui.layout.ResponsiveFlowLayoutData} | Reference to this in order to allow method chaining |
margin. Prevents any margin of the element if set to false.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is true.
| {boolean} | bMargin | New value for property margin |
| {sap.ui.layout.ResponsiveFlowLayoutData} | Reference to this in order to allow method chaining |
minWidth. Defines the minimal size in px of an ResponsiveFlowLayout element. The element will be shrunk down to this value.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is 100.
| {int} | iMinWidth | New value for property minWidth |
| {sap.ui.layout.ResponsiveFlowLayoutData} | Reference to this in order to allow method chaining |
weight. Defines the weight of the element, that influences the resulting width. If there are several elements within a row of the ResponsiveFlowLayout, each element could have another weight. The bigger the weight of a single element, the wider it will be stretched, i.e. a bigger weight results in a larger width.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is 1.
| {int} | iWeight | New value for property weight |
| {sap.ui.layout.ResponsiveFlowLayoutData} | Reference to this in order to allow method chaining |