Class sap.suite.ui.commons.TimelineItemModule: sap/suite/ui/commons/TimelineItem

extends Control

TimelineItem

Constructor Summary
new sap.suite.ui.commons.TimelineItem(sId?, mSettings?)Constructor for a new TimelineItem.
Event Summary
customActionClicked(oControlEvent)fire when custom action link is clicked
replyListOpen(oControlEvent)fire when the reply link is clicked to open reply popover
replyPost(oControlEvent)fire when Reply button is clicked
suggest(oControlEvent)This event is fired when user types in the input and showSuggestion is set to true.
suggestionItemSelected(oControlEvent)This event is fired when suggestionItem shown in suggestion popup are selected.
userNameClicked(oControlEvent)Fire when user name in the item header is clicked
Events borrowed from class sap.ui.core.Control
Method Summary
sap.suite.ui.commons.TimelineItem.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.commons.TimelineItem with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.commons.TimelineItem.getMetadata()Returns a metadata object for class sap.suite.ui.commons.TimelineItem.
addCustomAction(oCustomAction)Adds some customAction oCustomAction to the aggregation named customAction.
addSuggestionItem(oSuggestionItem)Adds some suggestionItem oSuggestionItem to the aggregation named suggestionItems.
attachCustomActionClicked(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'customActionClicked' event of this sap.suite.ui.commons.TimelineItem.
attachReplyListOpen(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'replyListOpen' event of this sap.suite.ui.commons.TimelineItem.
attachReplyPost(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'replyPost' event of this sap.suite.ui.commons.TimelineItem.
attachSuggest(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'suggest' event of this sap.suite.ui.commons.TimelineItem.
attachSuggestionItemSelected(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'suggestionItemSelected' event of this sap.suite.ui.commons.TimelineItem.
attachUserNameClicked(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'userNameClicked' event of this sap.suite.ui.commons.TimelineItem.
destroyCustomAction()Destroys all the customAction in the aggregation named customAction.
destroyCustomReply()Destroys the customReply in the aggregation named customReply.
destroyEmbeddedControl()Destroys the embeddedControl in the aggregation named embeddedControl.
destroyReplyList()Destroys the replyList in the aggregation named replyList.
destroySuggestionItems()Destroys all the suggestionItems in the aggregation named suggestionItems.
detachCustomActionClicked(fnFunction, oListener)Detach event handler fnFunction from the 'customActionClicked' event of this sap.suite.ui.commons.TimelineItem.
detachReplyListOpen(fnFunction, oListener)Detach event handler fnFunction from the 'replyListOpen' event of this sap.suite.ui.commons.TimelineItem.
detachReplyPost(fnFunction, oListener)Detach event handler fnFunction from the 'replyPost' event of this sap.suite.ui.commons.TimelineItem.
detachSuggest(fnFunction, oListener)Detach event handler fnFunction from the 'suggest' event of this sap.suite.ui.commons.TimelineItem.
detachSuggestionItemSelected(fnFunction, oListener)Detach event handler fnFunction from the 'suggestionItemSelected' event of this sap.suite.ui.commons.TimelineItem.
detachUserNameClicked(fnFunction, oListener)Detach event handler fnFunction from the 'userNameClicked' event of this sap.suite.ui.commons.TimelineItem.
fireCustomActionClicked(mArguments?)Fire event customActionClicked to attached listeners.
fireReplyListOpen(mArguments?)Fire event replyListOpen to attached listeners.
fireReplyPost(mArguments?)Fire event replyPost to attached listeners.
fireSuggest(mArguments?)Fire event suggest to attached listeners.
fireSuggestionItemSelected(mArguments?)Fire event suggestionItemSelected to attached listeners.
fireUserNameClicked(mArguments?)Fire event userNameClicked to attached listeners.
getCustomAction()Getter for aggregation customAction.
getCustomReply()Getter for aggregation customReply.
getDateTime()Getter for property dateTime.
getEmbeddedControl()Getter for aggregation embeddedControl.
getFilterValue()Getter for property filterValue.
getIcon()Getter for property icon.
getIconTooltip()Getter for property iconTooltip.
getMaxCharacters()Getter for property maxCharacters.
getReplyCount()Getter for property replyCount.
getReplyList()Getter for aggregation replyList.
getSuggestionItems()Getter for aggregation suggestionItems.
getText()Getter for property text.
getTitle()Getter for property title.
getUserName()Getter for property userName.
getUserNameClickable()Getter for property userNameClickable.
getUserPicture()Getter for property userPicture.
indexOfCustomAction(oCustomAction)Checks for the provided sap.ui.core.CustomData in the aggregation named customAction and returns its index if found or -1 otherwise.
indexOfSuggestionItem(oSuggestionItem)Checks for the provided sap.m.StandardListItem in the aggregation named suggestionItems and returns its index if found or -1 otherwise.
insertCustomAction(oCustomAction, iIndex)Inserts a customAction into the aggregation named customAction.
insertSuggestionItem(oSuggestionItem, iIndex)Inserts a suggestionItem into the aggregation named suggestionItems.
removeAllCustomAction()Removes all the controls in the aggregation named customAction.
removeAllSuggestionItems()Removes all the controls in the aggregation named suggestionItems.
removeCustomAction(vCustomAction)Removes an customAction from the aggregation named customAction.
removeSuggestionItem(vSuggestionItem)Removes an suggestionItem from the aggregation named suggestionItems.
setCustomMessage(sMsg)set custom message
setCustomReply(oCustomReply)Setter for the aggregated customReply.
setDateTime(oDateTime)Setter for property dateTime.
setEmbeddedControl(oEmbeddedControl)Setter for the aggregated embeddedControl.
setFilterValue(sFilterValue)Setter for property filterValue.
setIcon(sIcon)Setter for property icon.
setIconTooltip(sIconTooltip)Setter for property iconTooltip.
setMaxCharacters(iMaxCharacters)Setter for property maxCharacters.
setReplyCount(iReplyCount)Setter for property replyCount.
setReplyList(oReplyList)Setter for the aggregated replyList.
setText(sText)Setter for property text.
setTitle(sTitle)Setter for property title.
setUserName(sUserName)Setter for property userName.
setUserNameClickable(bUserNameClickable)Setter for property userNameClickable.
setUserPicture(sUserPicture)Setter for property userPicture.
Constructor Detail
new sap.suite.ui.commons.TimelineItem(sId?, mSettings?)
Constructor for a new TimelineItem.

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:

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Event Detail
customActionClicked(oControlEvent)
fire when custom action link is clicked
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
{string}oControlEvent.getParameters.value Value of the custom action
{string}oControlEvent.getParameters.key Key of the custom action
{sap.ui.core.Control}oControlEvent.getParameters.linkObj Control of the custom action
replyListOpen(oControlEvent)
fire when the reply link is clicked to open reply popover
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
replyPost(oControlEvent)
fire when Reply button is clicked
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
{string}oControlEvent.getParameters.value content of reply post
suggest(oControlEvent)
This event is fired when user types in the input and showSuggestion is set to true. Changing the suggestItems aggregation will show the suggestions within a popup.
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
{string}oControlEvent.getParameters.suggestValue The current value which has been typed in the input.
Since:
1.28.1
suggestionItemSelected(oControlEvent)
This event is fired when suggestionItem shown in suggestion popup are selected. This event is only fired when showSuggestion is set to true and there are suggestionItems shown in the suggestion popup.
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
{sap.ui.core.Item}oControlEvent.getParameters.selectedItem This is the item selected in the suggestion popup.
Since:
1.28.1
userNameClicked(oControlEvent)
Fire when user name in the item header is clicked
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
Method Detail
sap.suite.ui.commons.TimelineItem.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.suite.ui.commons.TimelineItem 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.TimelineItem.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.suite.ui.commons.TimelineItem.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
addCustomAction(oCustomAction): sap.suite.ui.commons.TimelineItem
Adds some customAction oCustomAction to the aggregation named customAction.
Parameters:
{sap.ui.core.CustomData}oCustomAction the customAction to add; if empty, nothing is inserted
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
addSuggestionItem(oSuggestionItem): sap.suite.ui.commons.TimelineItem
Adds some suggestionItem oSuggestionItem to the aggregation named suggestionItems.
Parameters:
{sap.m.StandardListItem}oSuggestionItem the suggestionItem to add; if empty, nothing is inserted
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
attachCustomActionClicked(oData?, fnFunction, oListener?): sap.suite.ui.commons.TimelineItem
Attach event handler fnFunction to the 'customActionClicked' event of this sap.suite.ui.commons.TimelineItem.
. When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.TimelineItem.
itself.

fire when custom action link is clicked

Parameters:
{object}oData? An application specific payload object, that will be passed to the event handler along with the event object when firing the event.
{function}fnFunction The function to call, when the event occurs.
{object}oListener? Context object to call the event handler with. Defaults to this sap.suite.ui.commons.TimelineItem.
itself.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
attachReplyListOpen(oData?, fnFunction, oListener?): sap.suite.ui.commons.TimelineItem
Attach event handler fnFunction to the 'replyListOpen' event of this sap.suite.ui.commons.TimelineItem.
. When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.TimelineItem.
itself.

fire when the reply link is clicked to open reply popover

Parameters:
{object}oData? An application specific payload object, that will be passed to the event handler along with the event object when firing the event.
{function}fnFunction The function to call, when the event occurs.
{object}oListener? Context object to call the event handler with. Defaults to this sap.suite.ui.commons.TimelineItem.
itself.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
attachReplyPost(oData?, fnFunction, oListener?): sap.suite.ui.commons.TimelineItem
Attach event handler fnFunction to the 'replyPost' event of this sap.suite.ui.commons.TimelineItem.
. When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.TimelineItem.
itself.

fire when Reply button is clicked

Parameters:
{object}oData? An application specific payload object, that will be passed to the event handler along with the event object when firing the event.
{function}fnFunction The function to call, when the event occurs.
{object}oListener? Context object to call the event handler with. Defaults to this sap.suite.ui.commons.TimelineItem.
itself.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
attachSuggest(oData?, fnFunction, oListener?): sap.suite.ui.commons.TimelineItem
Attach event handler fnFunction to the 'suggest' event of this sap.suite.ui.commons.TimelineItem.
. When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.TimelineItem.
itself.

This event is fired when user types in the input and showSuggestion is set to true. Changing the suggestItems aggregation will show the suggestions within a popup.

Parameters:
{object}oData? An application specific payload object, that will be passed to the event handler along with the event object when firing the event.
{function}fnFunction The function to call, when the event occurs.
{object}oListener? Context object to call the event handler with. Defaults to this sap.suite.ui.commons.TimelineItem.
itself.
Since:
1.28.1
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
attachSuggestionItemSelected(oData?, fnFunction, oListener?): sap.suite.ui.commons.TimelineItem
Attach event handler fnFunction to the 'suggestionItemSelected' event of this sap.suite.ui.commons.TimelineItem.
. When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.TimelineItem.
itself.

This event is fired when suggestionItem shown in suggestion popup are selected. This event is only fired when showSuggestion is set to true and there are suggestionItems shown in the suggestion popup.

Parameters:
{object}oData? An application specific payload object, that will be passed to the event handler along with the event object when firing the event.
{function}fnFunction The function to call, when the event occurs.
{object}oListener? Context object to call the event handler with. Defaults to this sap.suite.ui.commons.TimelineItem.
itself.
Since:
1.28.1
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
attachUserNameClicked(oData?, fnFunction, oListener?): sap.suite.ui.commons.TimelineItem
Attach event handler fnFunction to the 'userNameClicked' event of this sap.suite.ui.commons.TimelineItem.
. When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.TimelineItem.
itself.

Fire when user name in the item header is clicked

Parameters:
{object}oData? An application specific payload object, that will be passed to the event handler along with the event object when firing the event.
{function}fnFunction The function to call, when the event occurs.
{object}oListener? Context object to call the event handler with. Defaults to this sap.suite.ui.commons.TimelineItem.
itself.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
destroyCustomAction(): sap.suite.ui.commons.TimelineItem
Destroys all the customAction in the aggregation named customAction.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
destroyCustomReply(): sap.suite.ui.commons.TimelineItem
Destroys the customReply in the aggregation named customReply.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
destroyEmbeddedControl(): sap.suite.ui.commons.TimelineItem
Destroys the embeddedControl in the aggregation named embeddedControl.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
Destroys the replyList in the aggregation named replyList.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
destroySuggestionItems(): sap.suite.ui.commons.TimelineItem
Destroys all the suggestionItems in the aggregation named suggestionItems.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
detachCustomActionClicked(fnFunction, oListener): sap.suite.ui.commons.TimelineItem
Detach event handler fnFunction from the 'customActionClicked' event of this sap.suite.ui.commons.TimelineItem.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to call, when the event occurs.
{object}oListener Context object on which the given function had to be called.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
detachReplyListOpen(fnFunction, oListener): sap.suite.ui.commons.TimelineItem
Detach event handler fnFunction from the 'replyListOpen' event of this sap.suite.ui.commons.TimelineItem.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to call, when the event occurs.
{object}oListener Context object on which the given function had to be called.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
detachReplyPost(fnFunction, oListener): sap.suite.ui.commons.TimelineItem
Detach event handler fnFunction from the 'replyPost' event of this sap.suite.ui.commons.TimelineItem.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to call, when the event occurs.
{object}oListener Context object on which the given function had to be called.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
detachSuggest(fnFunction, oListener): sap.suite.ui.commons.TimelineItem
Detach event handler fnFunction from the 'suggest' event of this sap.suite.ui.commons.TimelineItem.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to call, when the event occurs.
{object}oListener Context object on which the given function had to be called.
Since:
1.28.1
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
detachSuggestionItemSelected(fnFunction, oListener): sap.suite.ui.commons.TimelineItem
Detach event handler fnFunction from the 'suggestionItemSelected' event of this sap.suite.ui.commons.TimelineItem.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to call, when the event occurs.
{object}oListener Context object on which the given function had to be called.
Since:
1.28.1
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
detachUserNameClicked(fnFunction, oListener): sap.suite.ui.commons.TimelineItem
Detach event handler fnFunction from the 'userNameClicked' event of this sap.suite.ui.commons.TimelineItem.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to call, when the event occurs.
{object}oListener Context object on which the given function had to be called.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
fireCustomActionClicked(mArguments?): sap.suite.ui.commons.TimelineItem
Fire event customActionClicked to attached listeners.

Expects following event parameters:

  • 'value' of type string Value of the custom action
  • 'key' of type string Key of the custom action
  • 'linkObj' of type sap.ui.core.Control Control of the custom action
Parameters:
{Map}mArguments? the arguments to pass along with the event.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
fireReplyListOpen(mArguments?): sap.suite.ui.commons.TimelineItem
Fire event replyListOpen to attached listeners.
Parameters:
{Map}mArguments? the arguments to pass along with the event.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
fireReplyPost(mArguments?): sap.suite.ui.commons.TimelineItem
Fire event replyPost to attached listeners.

Expects following event parameters:

  • 'value' of type string content of reply post
Parameters:
{Map}mArguments? the arguments to pass along with the event.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
fireSuggest(mArguments?): sap.suite.ui.commons.TimelineItem
Fire event suggest to attached listeners.

Expects following event parameters:

  • 'suggestValue' of type string The current value which has been typed in the input.
Parameters:
{Map}mArguments? the arguments to pass along with the event.
Since:
1.28.1
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
fireSuggestionItemSelected(mArguments?): sap.suite.ui.commons.TimelineItem
Fire event suggestionItemSelected to attached listeners.

Expects following event parameters:

  • 'selectedItem' of type sap.ui.core.Item This is the item selected in the suggestion popup.
Parameters:
{Map}mArguments? the arguments to pass along with the event.
Since:
1.28.1
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
fireUserNameClicked(mArguments?): sap.suite.ui.commons.TimelineItem
Fire event userNameClicked to attached listeners.
Parameters:
{Map}mArguments? the arguments to pass along with the event.
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
getCustomAction(): sap.ui.core.CustomData[]
Getter for aggregation customAction.
Custom actions to display as links on the social bar
Returns:
{sap.ui.core.CustomData[]}
getCustomReply(): sap.ui.core.Control
Getter for aggregation customReply.
Customer reply for embedded reply action
Returns:
{sap.ui.core.Control}
getDateTime(): any
Getter for property dateTime. Datetime value of Timeline item

Default value is empty/undefined

Returns:
{any} the value of property dateTime
getEmbeddedControl(): sap.ui.core.Control
Getter for aggregation embeddedControl.
Embed other control in timeline item, such as a button or a check box, etc.
Returns:
{sap.ui.core.Control}
getFilterValue(): string
Getter for property filterValue. Text for filter value

Default value is empty/undefined

Returns:
{string} the value of property filterValue
getIcon(): string
Getter for property icon. Icon for this item

Default value is empty/undefined

Returns:
{string} the value of property icon
getIconTooltip(): string
Getter for property iconTooltip. Icon Tooltip for Item

Default value is empty/undefined

Returns:
{string} the value of property iconTooltip
getMaxCharacters(): int
Getter for property maxCharacters. The expand and collapse feature is set by default and uses 300 characters on mobile devices and 500 characters on desktops as limits. Based on these values, the text of the timeline utem is collapsed once text reaches these limits. In this case, only the specified number of characters is displayed. By clicking on the text link More, the entire text can be displayed. The text link Less collapses the text. The application is able to set the value to its needs.

Default value is empty/undefined

Returns:
{int} the value of property maxCharacters
getReplyCount(): int
Getter for property replyCount. count of the replies to the post

Default value is empty/undefined

Returns:
{int} the value of property replyCount
getReplyList(): sap.m.List
Getter for aggregation replyList.
Reply list related to the post
Returns:
{sap.m.List}
getSuggestionItems(): sap.m.StandardListItem[]
Getter for aggregation suggestionItems.
Items for suggestions
Returns:
{sap.m.StandardListItem[]}
getText(): string
Getter for property text. Text shown inside the item

Default value is empty/undefined

Returns:
{string} the value of property text
getTitle(): string
Getter for property title. Text shown in the title after user name

Default value is empty/undefined

Returns:
{string} the value of property title
getUserName(): string
Getter for property userName. User name shown in the title

Default value is empty/undefined

Returns:
{string} the value of property userName
getUserNameClickable(): boolean
Getter for property userNameClickable. Make user name as a clickable to raise userNameClicked event

Default value is false

Returns:
{boolean} the value of property userNameClickable
getUserPicture(): sap.ui.core.URI
Getter for property userPicture. User Picture

Default value is empty/undefined

Returns:
{sap.ui.core.URI} the value of property userPicture
indexOfCustomAction(oCustomAction): int
Checks for the provided sap.ui.core.CustomData in the aggregation named customAction and returns its index if found or -1 otherwise.
Parameters:
{sap.ui.core.CustomData}oCustomAction the customAction whose index is looked for.
Returns:
{int} the index of the provided control in the aggregation if found, or -1 otherwise
indexOfSuggestionItem(oSuggestionItem): int
Checks for the provided sap.m.StandardListItem in the aggregation named suggestionItems and returns its index if found or -1 otherwise.
Parameters:
{sap.m.StandardListItem}oSuggestionItem the suggestionItem whose index is looked for.
Returns:
{int} the index of the provided control in the aggregation if found, or -1 otherwise
insertCustomAction(oCustomAction, iIndex): sap.suite.ui.commons.TimelineItem
Inserts a customAction into the aggregation named customAction.
Parameters:
{sap.ui.core.CustomData}oCustomAction the customAction to insert; if empty, nothing is inserted
{int}iIndex the 0-based index the customAction should be inserted at; for a negative value of iIndex, the customAction is inserted at position 0; for a value greater than the current size of the aggregation, the customAction is inserted at the last position
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
insertSuggestionItem(oSuggestionItem, iIndex): sap.suite.ui.commons.TimelineItem
Inserts a suggestionItem into the aggregation named suggestionItems.
Parameters:
{sap.m.StandardListItem}oSuggestionItem the suggestionItem to insert; if empty, nothing is inserted
{int}iIndex the 0-based index the suggestionItem should be inserted at; for a negative value of iIndex, the suggestionItem is inserted at position 0; for a value greater than the current size of the aggregation, the suggestionItem is inserted at the last position
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
removeAllCustomAction(): sap.ui.core.CustomData[]
Removes all the controls in the aggregation named customAction.
Additionally unregisters them from the hosting UIArea.
Returns:
{sap.ui.core.CustomData[]} an array of the removed elements (might be empty)
removeAllSuggestionItems(): sap.m.StandardListItem[]
Removes all the controls in the aggregation named suggestionItems.
Additionally unregisters them from the hosting UIArea.
Returns:
{sap.m.StandardListItem[]} an array of the removed elements (might be empty)
removeCustomAction(vCustomAction): sap.ui.core.CustomData
Removes an customAction from the aggregation named customAction.
Parameters:
{int|string|sap.ui.core.CustomData}vCustomAction the customAction to remove or its index or id
Returns:
{sap.ui.core.CustomData} the removed customAction or null
removeSuggestionItem(vSuggestionItem): sap.m.StandardListItem
Removes an suggestionItem from the aggregation named suggestionItems.
Parameters:
{int|string|sap.m.StandardListItem}vSuggestionItem the suggestionItem to remove or its index or id
Returns:
{sap.m.StandardListItem} the removed suggestionItem or null
setCustomMessage(sMsg): void
set custom message
Parameters:
{string}sMsg Message to be set
setCustomReply(oCustomReply): sap.suite.ui.commons.TimelineItem
Setter for the aggregated customReply.
Parameters:
{sap.ui.core.Control}oCustomReply
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
setDateTime(oDateTime): sap.suite.ui.commons.TimelineItem
Setter for property dateTime.

Default value is empty/undefined

Parameters:
{any}oDateTime new value for property dateTime
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
setEmbeddedControl(oEmbeddedControl): sap.suite.ui.commons.TimelineItem
Setter for the aggregated embeddedControl.
Parameters:
{sap.ui.core.Control}oEmbeddedControl
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
setFilterValue(sFilterValue): sap.suite.ui.commons.TimelineItem
Setter for property filterValue.

Default value is empty/undefined

Parameters:
{string}sFilterValue new value for property filterValue
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
Setter for property icon.

Default value is empty/undefined

Parameters:
{string}sIcon new value for property icon
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
setIconTooltip(sIconTooltip): sap.suite.ui.commons.TimelineItem
Setter for property iconTooltip.

Default value is empty/undefined

Parameters:
{string}sIconTooltip new value for property iconTooltip
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
setMaxCharacters(iMaxCharacters): sap.suite.ui.commons.TimelineItem
Setter for property maxCharacters.

Default value is empty/undefined

Parameters:
{int}iMaxCharacters new value for property maxCharacters
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
setReplyCount(iReplyCount): sap.suite.ui.commons.TimelineItem
Setter for property replyCount.

Default value is empty/undefined

Parameters:
{int}iReplyCount new value for property replyCount
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
setReplyList(oReplyList): sap.suite.ui.commons.TimelineItem
Setter for the aggregated replyList.
Parameters:
{sap.m.List}oReplyList
Returns:
{sap.suite.ui.commons.TimelineItem}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.TimelineItem}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.TimelineItem}this to allow method chaining
setUserName(sUserName): sap.suite.ui.commons.TimelineItem
Setter for property userName.

Default value is empty/undefined

Parameters:
{string}sUserName new value for property userName
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
setUserNameClickable(bUserNameClickable): sap.suite.ui.commons.TimelineItem
Setter for property userNameClickable.

Default value is false

Parameters:
{boolean}bUserNameClickable new value for property userNameClickable
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining
setUserPicture(sUserPicture): sap.suite.ui.commons.TimelineItem
Setter for property userPicture.

Default value is empty/undefined

Parameters:
{sap.ui.core.URI}sUserPicture new value for property userPicture
Returns:
{sap.suite.ui.commons.TimelineItem}this to allow method chaining