Represents a value for the sap.m.FacetFilterList control.
Constructor for a new FacetFilterItem
.
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.m.FacetFilterItem(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 |
Name | Type | Default Value | Description |
---|---|---|---|
count | int | Defines the number of objects that match this item in the target data set. Visibility: public |
|
key | string | Can be used as input for subsequent actions. Visibility: public |
|
text | string | Determines the text to be displayed for the item. Visibility: public |
Name | Type | Default Value | Description |
---|---|---|---|
counter | int | Defines the counter value of the list items. Visibility: public |
|
highlight | string | None | Defines the highlight state of the list items. Valid values for the Accessibility support is provided through the associated highlightText property. If the |
highlightText | string | empty string | Defines the semantics of the highlight property for accessibility purposes. |
navigated | boolean | false | The navigated state of the list item. If set to |
selected | boolean | false | Defines the selected state of the list items. Note: Binding the |
type | sap.m.ListType | Inactive | Defines the visual indication and behavior of the list items, e.g. |
unread | boolean | false | Activates the unread indicator for the list item, if set to |
visible | boolean | true | Whether the control should be visible on the screen. If set to false, a placeholder is rendered instead of the real control. Visibility: public |
Method | Description |
---|---|
sap.m.FacetFilterItem.extend |
Creates a new subclass of class sap.m.FacetFilterItem with name
|
getCount |
Gets current value of property count. Defines the number of objects that match this item in the target data set.
Since 1.18.11 replaced by <code>setCounter</code> method
|
getKey |
Gets current value of property key. Can be used as input for subsequent actions. |
sap.m.FacetFilterItem.getMetadata |
Returns a metadata object for class sap.m.FacetFilterItem. |
getText |
Gets current value of property text. Determines the text to be displayed for the item. |
setCount |
Sets a new value for property count. Defines the number of objects that match this item in the target data set. When called with a value of
Since 1.18.11 replaced by <code>setCounter</code> method
|
setKey |
Sets a new value for property key. Can be used as input for subsequent actions. When called with a value of |
setText |
Sets a new value for property text. Determines the text to be displayed for the item. When called with a value of |
Creates a new subclass of class sap.m.FacetFilterItem with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.m.ListItemBase.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 count.
Defines the number of objects that match this item in the target data set.
Sets a new value for property count.
Defines the number of objects that match this item in the target data set.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
iCount | int |
New value for property |
Sets a new value for property key.
Can be used as input for subsequent actions.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sKey | string |
New value for property |
Sets a new value for property text.
Determines the text to be displayed for the item.
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 |