Class sap.viz.ui5.controls.common.feeds.FeedItemModule: sap/viz/ui5/controls/common/feeds/FeedItem

extends Element

FeedItem Class


Since: 1.21.0.
Constructor Summary
new sap.viz.ui5.controls.common.feeds.FeedItem(sId?, mSettings?)Constructor for a new ui5/controls/common/feeds/FeedItem.
Method Summary
sap.viz.ui5.controls.common.feeds.FeedItem.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.viz.ui5.controls.common.feeds.FeedItem with name sClassName and enriches it with the information contained in oClassInfo.
sap.viz.ui5.controls.common.feeds.FeedItem.getMetadata()Returns a metadata object for class sap.viz.ui5.controls.common.feeds.FeedItem.
getType()Gets current value of property type.
getUid()Gets current value of property uid.
getValues()Gets current value of property values.
setType(sType)Sets a new value for property type.
setUid(sUid)Sets a new value for property uid.
setValues(sValues)Sets a new value for property values.
Constructor Detail
new sap.viz.ui5.controls.common.feeds.FeedItem(sId?, mSettings?)
Constructor for a new ui5/controls/common/feeds/FeedItem.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.

The supported settings are:

In addition, all settings applicable to the base type sap.ui.core.Element 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
Method Detail
sap.viz.ui5.controls.common.feeds.FeedItem.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.viz.ui5.controls.common.feeds.FeedItem 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.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.viz.ui5.controls.common.feeds.FeedItem.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.viz.ui5.controls.common.feeds.FeedItem.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getType(): string
Gets current value of property type.

Type of a feed item. Enumeration: Measure, Dimension

Returns:
{string} Value of property type
getUid(): string
Gets current value of property uid.

Uid of a feed item. Please reference to bindings section in VIZDOCS to get the exact sUid string for each chart type.

For example: Bar chart > bindings > categoryAxis ; color ; valueAxis. The 'categoryAxis' should be the sUid for x axis feeding for bar chart.

Returns:
{string} Value of property uid
getValues(): string[]
Gets current value of property values.

Value of a feed item.

Returns:
{string[]} Value of property values
Sets a new value for property type.

Type of a feed item. Enumeration: Measure, Dimension

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{string}sType New value for property type
Returns:
{sap.viz.ui5.controls.common.feeds.FeedItem} Reference to this in order to allow method chaining
Sets a new value for property uid.

Uid of a feed item. Please reference to bindings section in VIZDOCS to get the exact sUid string for each chart type.

For example: Bar chart > bindings > categoryAxis ; color ; valueAxis. The 'categoryAxis' should be the sUid for x axis feeding for bar chart.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{string}sUid New value for property uid
Returns:
{sap.viz.ui5.controls.common.feeds.FeedItem} Reference to this in order to allow method chaining
Sets a new value for property values.

Value of a feed item.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{string[]}sValues New value for property values
Returns:
{sap.viz.ui5.controls.common.feeds.FeedItem} Reference to this in order to allow method chaining