This element is used by the RowRepeater and allows to define a filter in this context along with the related data such as a text and an icon.
Constructor for a new RowRepeaterFilter.
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.commons.RowRepeaterFilter(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 |
Method | Description |
---|---|
sap.ui.commons.RowRepeaterFilter.extend |
Creates a new subclass of class sap.ui.commons.RowRepeaterFilter with name
|
getFilters |
Gets current value of property filters. The set of filter objects. |
getIcon |
Gets current value of property icon. The filter icon if needed for display. |
sap.ui.commons.RowRepeaterFilter.getMetadata |
Returns a metadata object for class sap.ui.commons.RowRepeaterFilter. |
getText |
Gets current value of property text. The filter title if needed for display. |
setFilters |
Sets a new value for property filters. The set of filter objects. When called with a value of |
setIcon |
Sets a new value for property icon. The filter icon if needed for display. When called with a value of |
setText |
Sets a new value for property text. The filter title if needed for display. When called with a value of |
Creates a new subclass of class sap.ui.commons.RowRepeaterFilter 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.Element.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 |
Returns a metadata object for class sap.ui.commons.RowRepeaterFilter.
Sets a new value for property filters.
The set of filter objects.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
oFilters | object |
New value for property |
Sets a new value for property icon.
The filter icon if needed for display.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sIcon | string |
New value for property |
Sets a new value for property text.
The filter title if needed for display.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sText | string |
New value for property |