Class sap.m.P13nColumnsItemModule: sap/m/P13nColumnsItem

extends Item

Type for columnsItems aggregation in P13nColumnsPanel control.


Since: 1.26.0.
Constructor Summary
new sap.m.P13nColumnsItem(sId?, mSettings?)Constructor for a new P13nColumnsItem.
Method Summary
sap.m.P13nColumnsItem.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.m.P13nColumnsItem with name sClassName and enriches it with the information contained in oClassInfo.
sap.m.P13nColumnsItem.getMetadata()Returns a metadata object for class sap.m.P13nColumnsItem.
getColumnKey()Gets current value of property columnKey.
getIndex()Gets current value of property index.
getTotal()Gets current value of property total.
getVisible()Gets current value of property visible.
getWidth()Gets current value of property width.
setColumnKey(sColumnKey)Sets a new value for property columnKey.
setIndex(iIndex)Sets a new value for property index.
setTotal(bTotal)Sets a new value for property total.
setVisible(bVisible)Sets a new value for property visible.
setWidth(sWidth)Sets a new value for property width.
Constructor Detail
new sap.m.P13nColumnsItem(sId?, mSettings?)
Constructor for a new P13nColumnsItem.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.

The supported settings are:

In addition, all settings applicable to the base type sap.ui.core.Item can be used as well.

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Method Detail
sap.m.P13nColumnsItem.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.m.P13nColumnsItem 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.Item.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.m.P13nColumnsItem.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.m.P13nColumnsItem.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getColumnKey(): string
Gets current value of property columnKey.

This property contains the unique table column key

Since:
1.26.0
Returns:
{string} Value of property columnKey
getIndex(): int
Gets current value of property index.

This property contains the index of a table column

Since:
1.26.0
Returns:
{int} Value of property index
getTotal(): boolean
Gets current value of property total.

This property contains the total flag of a table column.

Since:
1.26.0
Returns:
{boolean} Value of property total
getVisible(): boolean
Gets current value of property visible.

This property decides whether a P13nColumnsItem is visible

Since:
1.26.0
Returns:
{boolean} Value of property visible
getWidth(): string
Gets current value of property width.

This property contains the with of a table column.

Since:
1.26.0
Returns:
{string} Value of property width
setColumnKey(sColumnKey): sap.m.P13nColumnsItem
Sets a new value for property columnKey.

This property contains the unique table column key

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

Parameters:
{string}sColumnKey New value for property columnKey
Since:
1.26.0
Returns:
{sap.m.P13nColumnsItem} Reference to this in order to allow method chaining
setIndex(iIndex): sap.m.P13nColumnsItem
Sets a new value for property index.

This property contains the index of a table column

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

Parameters:
{int}iIndex New value for property index
Since:
1.26.0
Returns:
{sap.m.P13nColumnsItem} Reference to this in order to allow method chaining
setTotal(bTotal): sap.m.P13nColumnsItem
Sets a new value for property total.

This property contains the total flag of a table column.

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

Parameters:
{boolean}bTotal New value for property total
Since:
1.26.0
Returns:
{sap.m.P13nColumnsItem} Reference to this in order to allow method chaining
setVisible(bVisible): sap.m.P13nColumnsItem
Sets a new value for property visible.

This property decides whether a P13nColumnsItem is visible

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

Parameters:
{boolean}bVisible New value for property visible
Since:
1.26.0
Returns:
{sap.m.P13nColumnsItem} Reference to this in order to allow method chaining
setWidth(sWidth): sap.m.P13nColumnsItem
Sets a new value for property width.

This property contains the with of a table column.

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

Parameters:
{string}sWidth New value for property width
Since:
1.26.0
Returns:
{sap.m.P13nColumnsItem} Reference to this in order to allow method chaining