Class sap.ca.ui.ExpansibleFeedListItemModule: sap/ca/ui/ExpansibleFeedListItem

extends FeedListItem

Extends the FeedListItem to hide text when it is longer than maxLines. When text is hidden a See more link is displayed, clicking on the link displays the entire text.

Deprecated API:Since version 1.24. This control has been made available in sap.m. Please use sap.m.FeedListItem instead! This control will not be supported anymore.

Constructor Summary
new sap.ca.ui.ExpansibleFeedListItem(sId?, mSettings?)Constructor for a new ExpansibleFeedListItem.
Fields borrowed from class sap.m.ListItemBase
Events borrowed from class sap.m.FeedListItem
Events borrowed from class sap.m.ListItemBase
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ca.ui.ExpansibleFeedListItem.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ca.ui.ExpansibleFeedListItem with name sClassName and enriches it with the information contained in oClassInfo.
sap.ca.ui.ExpansibleFeedListItem.getMetadata()Returns a metadata object for class sap.ca.ui.ExpansibleFeedListItem.
getMaxLines()Getter for property maxLines.
setMaxLines(iMaxLines)Setter for property maxLines.
Constructor Detail
new sap.ca.ui.ExpansibleFeedListItem(sId?, mSettings?)
Constructor for a new ExpansibleFeedListItem.

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

        In addition, all settings applicable to the base type sap.m.FeedListItem 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
        Deprecated:
        Since version 1.24. This control has been made available in sap.m. Please use sap.m.FeedListItem instead! This control will not be supported anymore.
        Method Detail
        sap.ca.ui.ExpansibleFeedListItem.extend(sClassName, oClassInfo?, FNMetaImpl?): function
        Creates a new subclass of class sap.ca.ui.ExpansibleFeedListItem 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.ca.ui.ExpansibleFeedListItem.getMetadata(): sap.ui.base.Metadata
        Returns a metadata object for class sap.ca.ui.ExpansibleFeedListItem.
        Returns:
        {sap.ui.base.Metadata} Metadata object describing this class
        getMaxLines(): int
        Getter for property maxLines. The maximum number of lines to display before adding the "See more" link.

        Default value is 5

        Returns:
        {int} the value of property maxLines
        setMaxLines(iMaxLines): sap.ca.ui.ExpansibleFeedListItem
        Setter for property maxLines.

        Default value is 5

        Parameters:
        {int}iMaxLines new value for property maxLines
        Returns:
        {sap.ca.ui.ExpansibleFeedListItem}this to allow method chaining