Class sap.m.P13nFilterItemModule: sap/m/P13nFilterItem

extends Item

Type for filterItems aggregation in P13nFilterPanel control.

Constructor Summary
new sap.m.P13nFilterItem(sId?, mSettings?)Constructor for a new P13nFilterItem.
Method Summary
sap.m.P13nFilterItem.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.m.P13nFilterItem with name sClassName and enriches it with the information contained in oClassInfo.
sap.m.P13nFilterItem.getMetadata()Returns a metadata object for class sap.m.P13nFilterItem.
getColumnKey()Gets current value of property columnKey.
getExclude()Gets current value of property exclude.
getOperation()Gets current value of property operation.
getValue1()Gets current value of property value1.
getValue2()Gets current value of property value2.
setColumnKey(sColumnKey)Sets a new value for property columnKey.
setExclude(bExclude)Sets a new value for property exclude.
setOperation(sOperation)Sets a new value for property operation.
setValue1(sValue1)Sets a new value for property value1.
setValue2(sValue2)Sets a new value for property value2.
Constructor Detail
new sap.m.P13nFilterItem(sId?, mSettings?)
Constructor for a new P13nFilterItem.

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.P13nFilterItem.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.m.P13nFilterItem 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.P13nFilterItem.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.m.P13nFilterItem.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getColumnKey(): string
Gets current value of property columnKey.

key of the column

Since:
1.26.0
Returns:
{string} Value of property columnKey
getExclude(): boolean
Gets current value of property exclude.

defines if the filter is an include or exclude filter item

Default value is false.

Since:
1.26.0
Returns:
{boolean} Value of property exclude
getOperation(): string
Gets current value of property operation.

sap.m.P13nConditionOperation

Since:
1.26.0
Returns:
{string} Value of property operation
getValue1(): string
Gets current value of property value1.

value of the filter

Since:
1.26.0
Returns:
{string} Value of property value1
getValue2(): string
Gets current value of property value2.

to value of the between filter

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

key of the column

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.P13nFilterItem} Reference to this in order to allow method chaining
setExclude(bExclude): sap.m.P13nFilterItem
Sets a new value for property exclude.

defines if the filter is an include or exclude filter item

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

Default value is false.

Parameters:
{boolean}bExclude New value for property exclude
Since:
1.26.0
Returns:
{sap.m.P13nFilterItem} Reference to this in order to allow method chaining
setOperation(sOperation): sap.m.P13nFilterItem
Sets a new value for property operation.

sap.m.P13nConditionOperation

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

Parameters:
{string}sOperation New value for property operation
Since:
1.26.0
Returns:
{sap.m.P13nFilterItem} Reference to this in order to allow method chaining
setValue1(sValue1): sap.m.P13nFilterItem
Sets a new value for property value1.

value of the filter

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

Parameters:
{string}sValue1 New value for property value1
Since:
1.26.0
Returns:
{sap.m.P13nFilterItem} Reference to this in order to allow method chaining
setValue2(sValue2): sap.m.P13nFilterItem
Sets a new value for property value2.

to value of the between filter

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

Parameters:
{string}sValue2 New value for property value2
Since:
1.26.0
Returns:
{sap.m.P13nFilterItem} Reference to this in order to allow method chaining