class sap.ui.layout.BlockLayoutCellData

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/layout/BlockLayoutCellData
Application Component: CA-UI5-CTR

Holds layout data for the BlockLayoutCells contents.


Constructor

Constructor for a new BlockLayoutCellData.

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.layout.BlockLayoutCellData(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
lSize int 1

Sets the width of the cell for L size of the BlockLayout.

Visibility: public
mSize int 1

Sets the width of the cell for M size of the BlockLayout.

Visibility: public
sSize int 1

Sets the width of the cell for S size of the BlockLayout.

Visibility: public
xlSize int 1

Sets the width of the cell for XL size of the BlockLayout.

Visibility: public

Methods Overview

Method Description
sap.ui.layout.BlockLayoutCellData.extend

Creates a new subclass of class sap.ui.layout.BlockLayoutCellData 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.

getLSize

Gets current value of property lSize.

Sets the width of the cell for L size of the BlockLayout.

Default value is 1.

sap.ui.layout.BlockLayoutCellData.getMetadata

Returns a metadata object for class sap.ui.layout.BlockLayoutCellData.

getMSize

Gets current value of property mSize.

Sets the width of the cell for M size of the BlockLayout.

Default value is 1.

getSSize

Gets current value of property sSize.

Sets the width of the cell for S size of the BlockLayout.

Default value is 1.

getXlSize

Gets current value of property xlSize.

Sets the width of the cell for XL size of the BlockLayout.

Default value is 1.

setLSize

Sets a new value for property lSize.

Sets the width of the cell for L size of the BlockLayout.

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

Default value is 1.

setMSize

Sets a new value for property mSize.

Sets the width of the cell for M size of the BlockLayout.

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

Default value is 1.

setSize

Sets width of the cell to all sizes if the width is specified.

setSSize

Sets a new value for property sSize.

Sets the width of the cell for S size of the BlockLayout.

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

Default value is 1.

setXlSize

Sets a new value for property xlSize.

Sets the width of the cell for XL size of the BlockLayout.

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

Default value is 1.

sap.ui.layout.BlockLayoutCellData.extend

Creates a new subclass of class sap.ui.layout.BlockLayoutCellData 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

getLSize

Gets current value of property lSize.

Sets the width of the cell for L size of the BlockLayout.

Default value is 1.

sap.ui.layout.BlockLayoutCellData.getMetadata

Returns a metadata object for class sap.ui.layout.BlockLayoutCellData.

getMSize

Gets current value of property mSize.

Sets the width of the cell for M size of the BlockLayout.

Default value is 1.

getSSize

Gets current value of property sSize.

Sets the width of the cell for S size of the BlockLayout.

Default value is 1.

getXlSize

Gets current value of property xlSize.

Sets the width of the cell for XL size of the BlockLayout.

Default value is 1.

setLSize

Sets a new value for property lSize.

Sets the width of the cell for L size of the BlockLayout.

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

Default value is 1.

Param Type DefaultValue Description
iLSize int 1

New value for property lSize

setMSize

Sets a new value for property mSize.

Sets the width of the cell for M size of the BlockLayout.

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

Default value is 1.

Param Type DefaultValue Description
iMSize int 1

New value for property mSize

setSize

Sets width of the cell to all sizes if the width is specified.

Param Type DefaultValue Description
iValue undefined

setSSize

Sets a new value for property sSize.

Sets the width of the cell for S size of the BlockLayout.

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

Default value is 1.

Param Type DefaultValue Description
iSSize int 1

New value for property sSize

setXlSize

Sets a new value for property xlSize.

Sets the width of the cell for XL size of the BlockLayout.

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

Default value is 1.

Param Type DefaultValue Description
iXlSize int 1

New value for property xlSize