Class sap.suite.ui.commons.FeedItemHeaderModule: sap/suite/ui/commons/FeedItemHeader

extends ListItemBase

This control displays feed item header information.

Deprecated API:Since version 1.25. This control has been deprecated in favor of new sap.suite.ui.commons.GenericTile.

Constructor Summary
new sap.suite.ui.commons.FeedItemHeader(sId?, mSettings?)Constructor for a new FeedItemHeader.
Fields borrowed from class sap.m.ListItemBase
Events borrowed from class sap.m.ListItemBase
Events borrowed from class sap.ui.core.Control
Method Summary
sap.suite.ui.commons.FeedItemHeader.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.commons.FeedItemHeader with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.commons.FeedItemHeader.getMetadata()Returns a metadata object for class sap.suite.ui.commons.FeedItemHeader.
getDescription()Getter for property description.
getImage()Getter for property image.
getLink()Getter for property link.
getPublicationDate()Getter for property publicationDate.
getSource()Getter for property source.
getTitle()Getter for property title.
setDescription(sDescription)Setter for property description.
setImage(sImageUri)Sets the specified image URI if it is valid, otherwise an error messsage is logged.
setLink(sLinkUri)Sets the specified link URL if it is valid, otherwise an error messsage is logged.
setPublicationDate(oPublicationDate)Setter for property publicationDate.
setSource(sSource)Setter for property source.
setTitle(sTitle)Setter for property title.
Constructor Detail
new sap.suite.ui.commons.FeedItemHeader(sId?, mSettings?)
Constructor for a new FeedItemHeader.

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:

In addition, all settings applicable to the base type sap.m.ListItemBase 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.25. This control has been deprecated in favor of new sap.suite.ui.commons.GenericTile.
Method Detail
sap.suite.ui.commons.FeedItemHeader.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.suite.ui.commons.FeedItemHeader 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.FeedItemHeader.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.suite.ui.commons.FeedItemHeader.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getDescription(): string
Getter for property description. The description of the feed item.

Default value is empty/undefined

Returns:
{string} the value of property description
getImage(): sap.ui.core.URI
Getter for property image. The image associated with the feed item.

Default value is empty/undefined

Returns:
{sap.ui.core.URI} the value of property image
getLink(): sap.ui.core.URI
Getter for property link. The target location of the feed item.

Default value is empty/undefined

Returns:
{sap.ui.core.URI} the value of property link
getPublicationDate(): object
Getter for property publicationDate. The date the feed item was published.

Default value is empty/undefined

Returns:
{object} the value of property publicationDate
getSource(): string
Getter for property source. The source of the feed item.

Default value is empty/undefined

Returns:
{string} the value of property source
getTitle(): string
Getter for property title. The title of the feed item.

Default value is empty/undefined

Returns:
{string} the value of property title
setDescription(sDescription): sap.suite.ui.commons.FeedItemHeader
Setter for property description.

Default value is empty/undefined

Parameters:
{string}sDescription new value for property description
Returns:
{sap.suite.ui.commons.FeedItemHeader}this to allow method chaining
setImage(sImageUri)
Sets the specified image URI if it is valid, otherwise an error messsage is logged.
Parameters:
{String}sImageUri
setLink(sLinkUri)
Sets the specified link URL if it is valid, otherwise an error messsage is logged.
Parameters:
{String}sLinkUri
setPublicationDate(oPublicationDate): sap.suite.ui.commons.FeedItemHeader
Setter for property publicationDate.

Default value is empty/undefined

Parameters:
{object}oPublicationDate new value for property publicationDate
Returns:
{sap.suite.ui.commons.FeedItemHeader}this to allow method chaining
Setter for property source.

Default value is empty/undefined

Parameters:
{string}sSource new value for property source
Returns:
{sap.suite.ui.commons.FeedItemHeader}this to allow method chaining
Setter for property title.

Default value is empty/undefined

Parameters:
{string}sTitle new value for property title
Returns:
{sap.suite.ui.commons.FeedItemHeader}this to allow method chaining