Class sap.ui.vk.FlexibleControlLayoutDataModule: sap/ui/vk/FlexibleControlLayoutData
Holds layout data for the FlexibleControl contents. Allowed size values are numeric values ending in "px" and "%" and the special case "auto". (The CSS value "auto" is used internally to recalculate the size of the content dynamically and is not directly set as style property.)
Experimental API:Since 1.32.0 This class is experimental and might be modified or removed in future versions.
Since: 1.22.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
- size : sap.ui.core.CSSSize (default: auto)
- minSize : sap.ui.core.CSSSize (default: 0px)
- marginTop : sap.ui.core.CSSSize (default: 0px)
- marginBottom : sap.ui.core.CSSSize (default: 0px)
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 |
marginBottom
. Default value is 0px
.
{sap.ui.core.CSSSize} | Value of property marginBottom |
marginTop
. Sets the margin-bottom of the content in px.
Default value is 0px
.
{sap.ui.core.CSSSize} | Value of property marginTop |
minSize
. Sets the minimum size of the content in px.
Default value is 0px
.
{sap.ui.core.CSSSize} | Value of property minSize |
size
. Sets the size of the content.
Default value is auto
.
{sap.ui.core.CSSSize} | Value of property size |
marginBottom
. When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0px
.
{sap.ui.core.CSSSize} | sMarginBottom | New value for property marginBottom |
{sap.ui.vk.FlexibleControlLayoutData} | Reference to this in order to allow method chaining |
marginTop
. Sets the margin-bottom of the content in px.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0px
.
{sap.ui.core.CSSSize} | sMarginTop | New value for property marginTop |
{sap.ui.vk.FlexibleControlLayoutData} | Reference to this in order to allow method chaining |
minSize
. Sets the minimum size of the content in px.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0px
.
{sap.ui.core.CSSSize} | sMinSize | New value for property minSize |
{sap.ui.vk.FlexibleControlLayoutData} | Reference to this in order to allow method chaining |
size
. Sets the size of the content.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is auto
.
{sap.ui.core.CSSSize} | sSize | New value for property size |
{sap.ui.vk.FlexibleControlLayoutData} | Reference to this in order to allow method chaining |