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 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 |
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 |
Method | Description |
---|---|
sap.ui.vk.FlexibleControlLayoutData.extend |
Creates a new subclass of class sap.ui.vk.FlexibleControlLayoutData with name
|
getMarginBottom |
Gets current value of property marginBottom. Default value is |
getMarginTop |
Gets current value of property marginTop. Sets the margin-bottom of the content in px. Default value is |
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 |
getSize |
Gets current value of property size. Sets the size of the content. Default value is |
setMarginBottom |
Sets a new value for property marginBottom. When called with a value of Default value is |
setMarginTop |
Sets a new value for property marginTop. Sets the margin-bottom of the content in px. When called with a value of Default value is |
setMinSize |
Sets a new value for property minSize. Sets the minimum size of the content in px. When called with a value of Default value is |
setSize |
Sets a new value for property size. Sets the size of the content. When called with a value of Default value is |
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 |
Gets current value of property marginTop.
Sets the margin-bottom of the content in px.
Default value is "0px"
.
Returns a metadata object for class sap.ui.vk.FlexibleControlLayoutData.
Gets current value of property minSize.
Sets the minimum size of the content in px.
Default value is "0px"
.
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 |
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 |
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 |
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 |