class sap.ui.vk.FlexibleControlLayoutData

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/vk/FlexibleControlLayoutData
Application Component: CA-UI5-VTK

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.)


Constructor

Constructor for a new FlexibleControlLayoutData.

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

new sap.ui.vk.FlexibleControlLayoutData(sId?, mSettings?)
Param Type Default Value Description
sId? string

id for the new control, generated automatically if no id is given

mSettings? object

initial settings for the new control


Properties

Name Type Default Value Description
marginBottom sap.ui.core.CSSSize 0px Visibility: public
marginTop sap.ui.core.CSSSize 0px

Sets the margin-bottom of the content in px.

Visibility: public
minSize sap.ui.core.CSSSize 0px

Sets the minimum size of the content in px.

Visibility: public
size sap.ui.core.CSSSize auto

Sets the size of the content.

Visibility: public

Methods Overview

Method Description
sap.ui.vk.FlexibleControlLayoutData.extend

Creates a new subclass of class sap.ui.vk.FlexibleControlLayoutData 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.LayoutData.extend.

getMarginBottom

Gets current value of property marginBottom.

Default value is "0px".

getMarginTop

Gets current value of property marginTop.

Sets the margin-bottom of the content in px.

Default value is "0px".

sap.ui.vk.FlexibleControlLayoutData.getMetadata

Returns a metadata object for class sap.ui.vk.FlexibleControlLayoutData.

getMinSize

Gets current value of property minSize.

Sets the minimum size of the content in px.

Default value is "0px".

getSize

Gets current value of property size.

Sets the size of the content.

Default value is "auto".

setMarginBottom

Sets a new value for property marginBottom.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is "0px".

setMarginTop

Sets a new value for property 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".

setMinSize

Sets a new value for property 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".

setSize

Sets a new value for property 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.vk.FlexibleControlLayoutData.extend

Creates a new subclass of class sap.ui.vk.FlexibleControlLayoutData 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.LayoutData.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

getMarginBottom

Gets current value of property marginBottom.

Default value is "0px".

getMarginTop

Gets current value of property marginTop.

Sets the margin-bottom of the content in px.

Default value is "0px".

sap.ui.vk.FlexibleControlLayoutData.getMetadata

Returns a metadata object for class sap.ui.vk.FlexibleControlLayoutData.

getMinSize

Gets current value of property minSize.

Sets the minimum size of the content in px.

Default value is "0px".

getSize

Gets current value of property size.

Sets the size of the content.

Default value is "auto".

setMarginBottom

Sets a new value for property marginBottom.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is "0px".

Param Type DefaultValue Description
sMarginBottom sap.ui.core.CSSSize "0px"

New value for property marginBottom

setMarginTop

Sets a new value for property 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".

Param Type DefaultValue Description
sMarginTop sap.ui.core.CSSSize "0px"

New value for property marginTop

setMinSize

Sets a new value for property 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".

Param Type DefaultValue Description
sMinSize sap.ui.core.CSSSize "0px"

New value for property minSize

setSize

Sets a new value for property 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".

Param Type DefaultValue Description
sSize sap.ui.core.CSSSize "auto"

New value for property size