class sap.ui.layout.cssgrid.ResponsiveColumnItemLayoutData

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

Holds layout data for an item inside a responsive column layout.


Constructor

Constructor for a new sap.ui.layout.cssgrid.ResponsiveColumnItemLayoutData.

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.ResponsiveColumnItemLayoutData(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.


Properties

Name Type Default Value Description
columns int 1

Specifies the number of columns, which the item should take.

Visibility: public
rows int 1

Specifies the number of rows, which the item should take.

Visibility: public

Methods Overview

Method Description
sap.ui.layout.cssgrid.ResponsiveColumnItemLayoutData.extend

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

getColumns

Gets current value of property columns.

Specifies the number of columns, which the item should take.

Default value is 1.

sap.ui.layout.cssgrid.ResponsiveColumnItemLayoutData.getMetadata

Returns a metadata object for class sap.ui.layout.cssgrid.ResponsiveColumnItemLayoutData.

getRows

Gets current value of property rows.

Specifies the number of rows, which the item should take.

Default value is 1.

setColumns

Sets a new value for property columns.

Specifies the number of columns, which the item should take.

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

Default value is 1.

setRows

Sets a new value for property rows.

Specifies the number of rows, which the item should take.

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.cssgrid.ResponsiveColumnItemLayoutData.extend

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

getColumns

Gets current value of property columns.

Specifies the number of columns, which the item should take.

Default value is 1.

sap.ui.layout.cssgrid.ResponsiveColumnItemLayoutData.getMetadata

Returns a metadata object for class sap.ui.layout.cssgrid.ResponsiveColumnItemLayoutData.

getRows

Gets current value of property rows.

Specifies the number of rows, which the item should take.

Default value is 1.

setColumns

Sets a new value for property columns.

Specifies the number of columns, which the item should take.

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
iColumns int 1

New value for property columns

setRows

Sets a new value for property rows.

Specifies the number of rows, which the item should take.

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
iRows int 1

New value for property rows