Holds layout data for the BlockLayoutCells contents.
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 |
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 |
Method | Description |
---|---|
sap.ui.layout.BlockLayoutCellData.extend |
Creates a new subclass of class sap.ui.layout.BlockLayoutCellData with name
|
getLSize |
Gets current value of property lSize. Sets the width of the cell for L size of the BlockLayout. Default value is |
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 |
getSSize |
Gets current value of property sSize. Sets the width of the cell for S size of the BlockLayout. Default value is |
getXlSize |
Gets current value of property xlSize. Sets the width of the cell for XL size of the BlockLayout. Default value is |
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 Default value is |
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 Default value is |
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 Default value is |
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 Default value is |
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 |
Gets current value of property lSize.
Sets the width of the cell for L size of the BlockLayout.
Default value is 1
.
Returns a metadata object for class sap.ui.layout.BlockLayoutCellData.
Gets current value of property mSize.
Sets the width of the cell for M size of the BlockLayout.
Default value is 1
.
Gets current value of property sSize.
Sets the width of the cell for S size of the BlockLayout.
Default value is 1
.
Gets current value of property xlSize.
Sets the width of the cell for XL size of the BlockLayout.
Default value is 1
.
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 |
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 |
Sets width of the cell to all sizes if the width is specified.
Param | Type | DefaultValue | Description |
---|---|---|---|
iValue | undefined |
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 |
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 |