Holds layout data for a grid item.
Constructor for a new sap.ui.layout.cssgrid.GridItemLayoutData
.
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.cssgrid.GridItemLayoutData(sId?, mSettings?)
Param | Type | Default Value | Description |
---|---|---|---|
sId? | string | ID for the new element, generated automatically if no ID is given |
|
mSettings? | object | Initial settings for the new element. |
Name | Type | Default Value | Description |
---|---|---|---|
gridColumn | sap.ui.layout.cssgrid.CSSGridLine | empty string | Sets the value for the CSS display:grid item property grid-column MDN web docs: grid-column
|
gridColumnEnd | sap.ui.layout.cssgrid.CSSGridLine | empty string | Sets the value for the CSS display:grid item property grid-column-end MDN web docs: grid-column-end
|
gridColumnStart | sap.ui.layout.cssgrid.CSSGridLine | empty string | Sets the value for the CSS display:grid item property grid-column-start MDN web docs: grid-column-start
|
gridRow | sap.ui.layout.cssgrid.CSSGridLine | empty string | Sets the value for the CSS display:grid item property grid-row MDN web docs: grid-row
|
gridRowEnd | sap.ui.layout.cssgrid.CSSGridLine | empty string | Sets the value for the CSS display:grid item property grid-row-end MDN web docs: grid-row-end
|
gridRowStart | sap.ui.layout.cssgrid.CSSGridLine | empty string | Sets the value for the CSS display:grid item property grid-row-start MDN web docs: grid-row-start
|
Method | Description |
---|---|
sap.ui.layout.cssgrid.GridItemLayoutData.extend |
Creates a new subclass of class sap.ui.layout.cssgrid.GridItemLayoutData with name
|
getGridColumn |
Gets current value of property gridColumn. Sets the value for the CSS display:grid item property grid-column MDN web docs: grid-column
Default value is |
getGridColumnEnd |
Gets current value of property gridColumnEnd. Sets the value for the CSS display:grid item property grid-column-end MDN web docs: grid-column-end
Default value is |
getGridColumnStart |
Gets current value of property gridColumnStart. Sets the value for the CSS display:grid item property grid-column-start MDN web docs: grid-column-start
Default value is |
getGridRow |
Gets current value of property gridRow. Sets the value for the CSS display:grid item property grid-row MDN web docs: grid-row
Default value is |
getGridRowEnd |
Gets current value of property gridRowEnd. Sets the value for the CSS display:grid item property grid-row-end MDN web docs: grid-row-end
Default value is |
getGridRowStart |
Gets current value of property gridRowStart. Sets the value for the CSS display:grid item property grid-row-start MDN web docs: grid-row-start
Default value is |
sap.ui.layout.cssgrid.GridItemLayoutData.getMetadata |
Returns a metadata object for class sap.ui.layout.cssgrid.GridItemLayoutData. |
setGridColumn |
Sets a new value for property gridColumn. Sets the value for the CSS display:grid item property grid-column MDN web docs: grid-column
When called with a value of Default value is |
setGridColumnEnd |
Sets a new value for property gridColumnEnd. Sets the value for the CSS display:grid item property grid-column-end MDN web docs: grid-column-end
When called with a value of Default value is |
setGridColumnStart |
Sets a new value for property gridColumnStart. Sets the value for the CSS display:grid item property grid-column-start MDN web docs: grid-column-start
When called with a value of Default value is |
setGridRow |
Sets a new value for property gridRow. Sets the value for the CSS display:grid item property grid-row MDN web docs: grid-row
When called with a value of Default value is |
setGridRowEnd |
Sets a new value for property gridRowEnd. Sets the value for the CSS display:grid item property grid-row-end MDN web docs: grid-row-end
When called with a value of Default value is |
setGridRowStart |
Sets a new value for property gridRowStart. Sets the value for the CSS display:grid item property grid-row-start MDN web docs: grid-row-start
When called with a value of Default value is |
Creates a new subclass of class sap.ui.layout.cssgrid.GridItemLayoutData 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 gridColumn.
Sets the value for the CSS display:grid item property grid-column MDN web docs: grid-column
Default value is empty string
.
Gets current value of property gridColumnEnd.
Sets the value for the CSS display:grid item property grid-column-end MDN web docs: grid-column-end
Default value is empty string
.
Gets current value of property gridColumnStart.
Sets the value for the CSS display:grid item property grid-column-start MDN web docs: grid-column-start
Default value is empty string
.
Gets current value of property gridRow.
Sets the value for the CSS display:grid item property grid-row MDN web docs: grid-row
Default value is empty string
.
Gets current value of property gridRowEnd.
Sets the value for the CSS display:grid item property grid-row-end MDN web docs: grid-row-end
Default value is empty string
.
Gets current value of property gridRowStart.
Sets the value for the CSS display:grid item property grid-row-start MDN web docs: grid-row-start
Default value is empty string
.
Returns a metadata object for class sap.ui.layout.cssgrid.GridItemLayoutData.
Sets a new value for property gridColumn.
Sets the value for the CSS display:grid item property grid-column MDN web docs: grid-column
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is empty string
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sGridColumn | sap.ui.layout.cssgrid.CSSGridLine | "" |
New value for property |
Sets a new value for property gridColumnEnd.
Sets the value for the CSS display:grid item property grid-column-end MDN web docs: grid-column-end
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is empty string
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sGridColumnEnd | sap.ui.layout.cssgrid.CSSGridLine | "" |
New value for property |
Sets a new value for property gridColumnStart.
Sets the value for the CSS display:grid item property grid-column-start MDN web docs: grid-column-start
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is empty string
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sGridColumnStart | sap.ui.layout.cssgrid.CSSGridLine | "" |
New value for property |
Sets a new value for property gridRow.
Sets the value for the CSS display:grid item property grid-row MDN web docs: grid-row
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is empty string
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sGridRow | sap.ui.layout.cssgrid.CSSGridLine | "" |
New value for property |
Sets a new value for property gridRowEnd.
Sets the value for the CSS display:grid item property grid-row-end MDN web docs: grid-row-end
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is empty string
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sGridRowEnd | sap.ui.layout.cssgrid.CSSGridLine | "" |
New value for property |
Sets a new value for property gridRowStart.
Sets the value for the CSS display:grid item property grid-row-start MDN web docs: grid-row-start
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is empty string
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sGridRowStart | sap.ui.layout.cssgrid.CSSGridLine | "" |
New value for property |