Class sap.suite.ui.commons.TimelineFilterListItemModule: sap/suite/ui/commons/TimelineFilterListItem

extends Control

Provides Filter List Item for Timeline Control

Constructor Summary
new sap.suite.ui.commons.TimelineFilterListItem(sId?, mSettings?)Constructor for a new TimelineFilterListItem.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.suite.ui.commons.TimelineFilterListItem.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.commons.TimelineFilterListItem with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.commons.TimelineFilterListItem.getMetadata()Returns a metadata object for class sap.suite.ui.commons.TimelineFilterListItem.
getKey()Getter for property key.
getText()Getter for property text.
setKey(sKey)Setter for property key.
setText(sText)Setter for property text.
Constructor Detail
new sap.suite.ui.commons.TimelineFilterListItem(sId?, mSettings?)
Constructor for a new TimelineFilterListItem.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers.

If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).

The supported settings are:

  • Properties
  • Aggregations
    • Associations
      • Events
        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.suite.ui.commons.TimelineFilterListItem.extend(sClassName, oClassInfo?, FNMetaImpl?): function
        Creates a new subclass of class sap.suite.ui.commons.TimelineFilterListItem with name sClassName and enriches it with the information contained in oClassInfo.

        oClassInfo might contain the same kind of informations as described in Element.extend.

        Parameters:
        {string}sClassName name of the class to be created
        {object}oClassInfo? object literal with informations about the class
        {function}FNMetaImpl? constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata.
        Returns:
        {function} the created class / constructor function
        sap.suite.ui.commons.TimelineFilterListItem.getMetadata(): sap.ui.base.Metadata
        Returns a metadata object for class sap.suite.ui.commons.TimelineFilterListItem.
        Returns:
        {sap.ui.base.Metadata} Metadata object describing this class
        getKey(): string
        Getter for property key. Can be used as input for subsequent actions.

        Default value is empty/undefined

        Returns:
        {string} the value of property key
        getText(): string
        Getter for property text. The text to be displayed for the item.

        Default value is empty/undefined

        Returns:
        {string} the value of property text
        Setter for property key.

        Default value is empty/undefined

        Parameters:
        {string}sKey new value for property key
        Returns:
        {sap.suite.ui.commons.TimelineFilterListItem}this to allow method chaining
        Setter for property text.

        Default value is empty/undefined

        Parameters:
        {string}sText new value for property text
        Returns:
        {sap.suite.ui.commons.TimelineFilterListItem}this to allow method chaining