Class sap.suite.ui.commons.TimelineModule: sap/suite/ui/commons/Timeline

extends Control

Timeline Control for sFin.

Constructor Summary
new sap.suite.ui.commons.Timeline(sId?, mSettings?)Constructor for a new Timeline.
Event Summary
addPost(oControlEvent)Event fire when user add a new post
filterOpen(oControlEvent)event is fired when filter icon is clicked and filter open
filterSelectionChange(oControlEvent)This event is getting triggered after selecting an item from filter list.
grow(oControlEvent)this event is fired when "More" button is clicked.
select(oControlEvent)Select Timeline Item
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.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.suite.ui.commons.Timeline.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.commons.Timeline with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.commons.Timeline.getMetadata()Returns a metadata object for class sap.suite.ui.commons.Timeline.
addContent(oContent)Adds some content oContent to the aggregation named content.
addFilterList(oFilterList)Adds some filterList oFilterList to the aggregation named filterList.
addSuggestionItem(oSuggestionItem)Adds some suggestionItem oSuggestionItem to the aggregation named suggestionItems.
adjustUI()to allow for UI layout change (public)
attachAddPost(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'addPost' event of this sap.suite.ui.commons.Timeline.
attachFilterOpen(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'filterOpen' event of this sap.suite.ui.commons.Timeline.
attachFilterSelectionChange(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'filterSelectionChange' event of this sap.suite.ui.commons.Timeline.
attachGrow(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'grow' event of this sap.suite.ui.commons.Timeline.
attachSelect(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'select' event of this sap.suite.ui.commons.Timeline.
attachSuggest(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'suggest' event of this sap.suite.ui.commons.Timeline.
attachSuggestionItemSelected(oData?, fnFunction, oListener?)Attach event handler fnFunction to the 'suggestionItemSelected' event of this sap.suite.ui.commons.Timeline.
destroyContent()Destroys all the content in the aggregation named content.
destroyCustomFilter()Destroys the customFilter in the aggregation named customFilter.
destroyFilterList()Destroys all the filterList in the aggregation named filterList.
destroySuggestionItems()Destroys all the suggestionItems in the aggregation named suggestionItems.
detachAddPost(fnFunction, oListener)Detach event handler fnFunction from the 'addPost' event of this sap.suite.ui.commons.Timeline.
detachFilterOpen(fnFunction, oListener)Detach event handler fnFunction from the 'filterOpen' event of this sap.suite.ui.commons.Timeline.
detachFilterSelectionChange(fnFunction, oListener)Detach event handler fnFunction from the 'filterSelectionChange' event of this sap.suite.ui.commons.Timeline.
detachGrow(fnFunction, oListener)Detach event handler fnFunction from the 'grow' event of this sap.suite.ui.commons.Timeline.
detachSelect(fnFunction, oListener)Detach event handler fnFunction from the 'select' event of this sap.suite.ui.commons.Timeline.
detachSuggest(fnFunction, oListener)Detach event handler fnFunction from the 'suggest' event of this sap.suite.ui.commons.Timeline.
detachSuggestionItemSelected(fnFunction, oListener)Detach event handler fnFunction from the 'suggestionItemSelected' event of this sap.suite.ui.commons.Timeline.
fireAddPost(mArguments?)Fire event addPost to attached listeners.
fireFilterOpen(mArguments?)Fire event filterOpen to attached listeners.
fireFilterSelectionChange(mArguments?)Fire event filterSelectionChange to attached listeners.
fireGrow(mArguments?)Fire event grow to attached listeners.
fireSelect(mArguments?)Fire event select to attached listeners.
fireSuggest(mArguments?)Fire event suggest to attached listeners.
fireSuggestionItemSelected(mArguments?)Fire event suggestionItemSelected to attached listeners.
getAlignment()Getter for property alignment.
getAxisOrientation()Getter for property axisOrientation.
getContent()Getter for aggregation content.
getCurrentFilter()Get the current selected filter key
getCustomFilter()Getter for aggregation customFilter.
getData()Getter for property data.
getEnableAllInFilterItem()Getter for property enableAllInFilterItem.
getEnableBackendFilter()Getter for property enableBackendFilter.
getEnableBusyIndicator()Getter for property enableBusyIndicator.
getEnableDoubleSided()Getter for property enableDoubleSided.
getEnableScroll()Getter for property enableScroll.
getEnableSocial()Getter for property enableSocial.
getFilterList()Getter for aggregation filterList.
getForceGrowing()Getter for property forceGrowing.
getGrowing()Getter for property growing.
getGrowingThreshold()Getter for property growingThreshold.
getHeaderBar()get the header bar control to customerize
getMessageStrip()Get messagestrip
getNoDataText()Getter for property noDataText.
getShowFilterBar()Getter for property showFilterBar.
getShowHeaderBar()Getter for property showHeaderBar.
getShowIcons()Getter for property showIcons.
getShowSearch()Getter for property showSearch.
getShowSuggestion()Getter for property showSuggestion.
getSort()Getter for property sort.
getSortOldestFirst()Getter for property sortOldestFirst.
getSuggestionItems()Getter for aggregation suggestionItems.
getSuspendSocailFeature()get the suspend social feature status
getVisible()Getter for property visible.
getWidth()Getter for property width.
indexOfContent(oContent)Checks for the provided sap.suite.ui.commons.TimelineItem in the aggregation named content and returns its index if found or -1 otherwise.
indexOfFilterList(oFilterList)Checks for the provided sap.suite.ui.commons.TimelineFilterListItem in the aggregation named filterList 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.
insertContent(oContent, iIndex)Inserts a content into the aggregation named content.
insertFilterList(oFilterList, iIndex)Inserts a filterList into the aggregation named filterList.
insertSuggestionItem(oSuggestionItem, iIndex)Inserts a suggestionItem into the aggregation named suggestionItems.
removeAllContent()Removes all the controls in the aggregation named content.
removeAllFilterList()Removes all the controls in the aggregation named filterList.
removeAllSuggestionItems()Removes all the controls in the aggregation named suggestionItems.
removeContent(vContent)Removes an content from the aggregation named content.
removeFilterList(vFilterList)Removes an filterList from the aggregation named filterList.
removeSuggestionItem(vSuggestionItem)Removes an suggestionItem from the aggregation named suggestionItems.
setAlignment(oAlignment)Setter for property alignment.
setAxisOrientation(oAxisOrientation)Setter for property axisOrientation.
setCurrentFilter(sSelectedItemKey)Set the current selected filter key
setCustomFilter(oCustomFilter)Setter for the aggregated customFilter.
setCustomMessage(sMsg)set custom message
setData(oData)Setter for property data.
setEnableAllInFilterItem(bEnableAllInFilterItem)Setter for property enableAllInFilterItem.
setEnableBackendFilter(bEnableBackendFilter)Setter for property enableBackendFilter.
setEnableBusyIndicator(bEnableBusyIndicator)Setter for property enableBusyIndicator.
setEnableDoubleSided(bEnableDoubleSided)Setter for property enableDoubleSided.
setEnableScroll(bEnableScroll)Setter for property enableScroll.
setEnableSocial(bEnableSocial)Setter for property enableSocial.
setForceGrowing(bForceGrowing)Setter for property forceGrowing.
setGrowing(bGrowing)Setter for property growing.
setGrowingThreshold(iGrowingThreshold)Setter for property growingThreshold.
setNoDataText(sNoDataText)Setter for property noDataText.
setShowFilterBar(bShowFilterBar)Setter for property showFilterBar.
setShowHeaderBar(bShowHeaderBar)Setter for property showHeaderBar.
setShowIcons(bShowIcons)Setter for property showIcons.
setShowSearch(bShowSearch)Setter for property showSearch.
setShowSuggestion(bShowSuggestion)Setter for property showSuggestion.
setSort(bSort)Setter for property sort.
setSortOldestFirst(bSortOldestFirst)Setter for property sortOldestFirst.
setSuspendSocialFeature(bBSuspend)when set to true, the Add Post and Reply feature will be grayed out .
setVisible(bVisible)Setter for property visible.
setWidth(sWidth)Setter for property width.
Constructor Detail
new sap.suite.ui.commons.Timeline(sId?, mSettings?)
Constructor for a new Timeline.

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
      • filterSelectionChange : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
      • select : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
      • addPost : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
      • suggest : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
      • suggestionItemSelected : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
      • grow : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
      • filterOpen : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
    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
    addPost(oControlEvent)
    Event fire when user add a new post
    Parameters:
    {sap.ui.base.Event}oControlEvent
    {sap.ui.base.EventProvider}oControlEvent.getSource
    {object}oControlEvent.getParameters
    {string}oControlEvent.getParameters.value post message
    filterOpen(oControlEvent)
    event is fired when filter icon is clicked and filter open
    Parameters:
    {sap.ui.base.Event}oControlEvent
    {sap.ui.base.EventProvider}oControlEvent.getSource
    {object}oControlEvent.getParameters
    filterSelectionChange(oControlEvent)
    This event is getting triggered after selecting an item from filter list.
    Parameters:
    {sap.ui.base.Event}oControlEvent
    {sap.ui.base.EventProvider}oControlEvent.getSource
    {object}oControlEvent.getParameters
    {sap.suite.ui.commons.TimelineFilterListItem}oControlEvent.getParameters.selectedItem filterClose event returns selected key value from filterList
    grow(oControlEvent)
    this event is fired when "More" button is clicked.
    Parameters:
    {sap.ui.base.Event}oControlEvent
    {sap.ui.base.EventProvider}oControlEvent.getSource
    {object}oControlEvent.getParameters
    select(oControlEvent)
    Select Timeline Item
    Parameters:
    {sap.ui.base.Event}oControlEvent
    {sap.ui.base.EventProvider}oControlEvent.getSource
    {object}oControlEvent.getParameters
    {sap.suite.ui.commons.TimelineItem}oControlEvent.getParameters.selectedItem Selected TimelineItem
    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.26.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.26.1
    Method Detail
    sap.suite.ui.commons.Timeline.extend(sClassName, oClassInfo?, FNMetaImpl?): function
    Creates a new subclass of class sap.suite.ui.commons.Timeline 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.Timeline.getMetadata(): sap.ui.base.Metadata
    Returns a metadata object for class sap.suite.ui.commons.Timeline.
    Returns:
    {sap.ui.base.Metadata} Metadata object describing this class
    addContent(oContent): sap.suite.ui.commons.Timeline
    Adds some content oContent to the aggregation named content.
    Parameters:
    {sap.suite.ui.commons.TimelineItem}oContent the content to add; if empty, nothing is inserted
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    addFilterList(oFilterList): sap.suite.ui.commons.Timeline
    Adds some filterList oFilterList to the aggregation named filterList.
    Parameters:
    {sap.suite.ui.commons.TimelineFilterListItem}oFilterList the filterList to add; if empty, nothing is inserted
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    addSuggestionItem(oSuggestionItem): sap.suite.ui.commons.Timeline
    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.Timeline}this to allow method chaining
    adjustUI(): void
    to allow for UI layout change (public)
    attachAddPost(oData?, fnFunction, oListener?): sap.suite.ui.commons.Timeline
    Attach event handler fnFunction to the 'addPost' event of this sap.suite.ui.commons.Timeline.
    . When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.Timeline.
    itself.

    Event fire when user add a new post

    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.Timeline.
    itself.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    attachFilterOpen(oData?, fnFunction, oListener?): sap.suite.ui.commons.Timeline
    Attach event handler fnFunction to the 'filterOpen' event of this sap.suite.ui.commons.Timeline.
    . When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.Timeline.
    itself.

    event is fired when filter icon is clicked and filter open

    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.Timeline.
    itself.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    attachFilterSelectionChange(oData?, fnFunction, oListener?): sap.suite.ui.commons.Timeline
    Attach event handler fnFunction to the 'filterSelectionChange' event of this sap.suite.ui.commons.Timeline.
    . When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.Timeline.
    itself.

    This event is getting triggered after selecting an item from filter list.

    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.Timeline.
    itself.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    attachGrow(oData?, fnFunction, oListener?): sap.suite.ui.commons.Timeline
    Attach event handler fnFunction to the 'grow' event of this sap.suite.ui.commons.Timeline.
    . When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.Timeline.
    itself.

    this event is fired when "More" 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.Timeline.
    itself.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    attachSelect(oData?, fnFunction, oListener?): sap.suite.ui.commons.Timeline
    Attach event handler fnFunction to the 'select' event of this sap.suite.ui.commons.Timeline.
    . When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.Timeline.
    itself.

    Select Timeline Item

    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.Timeline.
    itself.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    attachSuggest(oData?, fnFunction, oListener?): sap.suite.ui.commons.Timeline
    Attach event handler fnFunction to the 'suggest' event of this sap.suite.ui.commons.Timeline.
    . When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.Timeline.
    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.Timeline.
    itself.
    Since:
    1.26.1
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    attachSuggestionItemSelected(oData?, fnFunction, oListener?): sap.suite.ui.commons.Timeline
    Attach event handler fnFunction to the 'suggestionItemSelected' event of this sap.suite.ui.commons.Timeline.
    . When called, the context of the event handler (its this) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.Timeline.
    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.Timeline.
    itself.
    Since:
    1.26.1
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    Destroys all the content in the aggregation named content.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    destroyCustomFilter(): sap.suite.ui.commons.Timeline
    Destroys the customFilter in the aggregation named customFilter.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    destroyFilterList(): sap.suite.ui.commons.Timeline
    Destroys all the filterList in the aggregation named filterList.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    destroySuggestionItems(): sap.suite.ui.commons.Timeline
    Destroys all the suggestionItems in the aggregation named suggestionItems.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    detachAddPost(fnFunction, oListener): sap.suite.ui.commons.Timeline
    Detach event handler fnFunction from the 'addPost' event of this sap.suite.ui.commons.Timeline.

    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.Timeline}this to allow method chaining
    detachFilterOpen(fnFunction, oListener): sap.suite.ui.commons.Timeline
    Detach event handler fnFunction from the 'filterOpen' event of this sap.suite.ui.commons.Timeline.

    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.Timeline}this to allow method chaining
    detachFilterSelectionChange(fnFunction, oListener): sap.suite.ui.commons.Timeline
    Detach event handler fnFunction from the 'filterSelectionChange' event of this sap.suite.ui.commons.Timeline.

    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.Timeline}this to allow method chaining
    detachGrow(fnFunction, oListener): sap.suite.ui.commons.Timeline
    Detach event handler fnFunction from the 'grow' event of this sap.suite.ui.commons.Timeline.

    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.Timeline}this to allow method chaining
    detachSelect(fnFunction, oListener): sap.suite.ui.commons.Timeline
    Detach event handler fnFunction from the 'select' event of this sap.suite.ui.commons.Timeline.

    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.Timeline}this to allow method chaining
    detachSuggest(fnFunction, oListener): sap.suite.ui.commons.Timeline
    Detach event handler fnFunction from the 'suggest' event of this sap.suite.ui.commons.Timeline.

    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.26.1
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    detachSuggestionItemSelected(fnFunction, oListener): sap.suite.ui.commons.Timeline
    Detach event handler fnFunction from the 'suggestionItemSelected' event of this sap.suite.ui.commons.Timeline.

    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.26.1
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    fireAddPost(mArguments?): sap.suite.ui.commons.Timeline
    Fire event addPost to attached listeners.

    Expects following event parameters:

    • 'value' of type string post message
    Parameters:
    {Map}mArguments? the arguments to pass along with the event.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    fireFilterOpen(mArguments?): sap.suite.ui.commons.Timeline
    Fire event filterOpen to attached listeners.
    Parameters:
    {Map}mArguments? the arguments to pass along with the event.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    fireFilterSelectionChange(mArguments?): sap.suite.ui.commons.Timeline
    Fire event filterSelectionChange to attached listeners.

    Expects following event parameters:

    • 'selectedItem' of type sap.suite.ui.commons.TimelineFilterListItem filterClose event returns selected key value from filterList
    Parameters:
    {Map}mArguments? the arguments to pass along with the event.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    fireGrow(mArguments?): sap.suite.ui.commons.Timeline
    Fire event grow to attached listeners.
    Parameters:
    {Map}mArguments? the arguments to pass along with the event.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    fireSelect(mArguments?): sap.suite.ui.commons.Timeline
    Fire event select to attached listeners.

    Expects following event parameters:

    • 'selectedItem' of type sap.suite.ui.commons.TimelineItem Selected TimelineItem
    Parameters:
    {Map}mArguments? the arguments to pass along with the event.
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    fireSuggest(mArguments?): sap.suite.ui.commons.Timeline
    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.26.1
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    fireSuggestionItemSelected(mArguments?): sap.suite.ui.commons.Timeline
    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.26.1
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    Getter for property alignment. Timeline item alignment.

    Default value is Right

    Returns:
    {sap.suite.ui.commons.TimelineAlignment} the value of property alignment
    Getter for property axisOrientation. Timeline axis orientation.

    Default value is Vertical

    Returns:
    {sap.suite.ui.commons.TimelineAxisOrientation} the value of property axisOrientation
    Getter for aggregation content.
    List of Timeline Items.
    Returns:
    {sap.suite.ui.commons.TimelineItem[]}
    getCurrentFilter(): string
    Get the current selected filter key
    Returns:
    {string}
    getCustomFilter(): sap.ui.core.Control
    Getter for aggregation customFilter.
    Provide Custom Filter here
    Returns:
    {sap.ui.core.Control}
    getData(): object
    Getter for property data. Data for Timeline Control..

    Default value is empty/undefined

    Returns:
    {object} the value of property data
    getEnableAllInFilterItem(): boolean
    Getter for property enableAllInFilterItem. This flag enables to add 'All' in the begining of filter list

    Default value is true

    Returns:
    {boolean} the value of property enableAllInFilterItem
    getEnableBackendFilter(): boolean
    Getter for property enableBackendFilter. This flag enables to get data from backend instead of deriving filter values from front-end values(displayed list).

    Default value is false

    Returns:
    {boolean} the value of property enableBackendFilter
    getEnableBusyIndicator(): boolean
    Getter for property enableBusyIndicator. When this property is set to "true", Timeline will display a busy indicator when data is being loaded.This BusyIndicator blocks the interaction with the items until data loading is finished.

    Default value is true

    Returns:
    {boolean} the value of property enableBusyIndicator
    getEnableDoubleSided(): boolean
    Getter for property enableDoubleSided. If set to true, timeline items will render on both sides

    Default value is false

    Returns:
    {boolean} the value of property enableDoubleSided
    getEnableScroll(): boolean
    Getter for property enableScroll. Enable scroll bar display

    Default value is true

    Returns:
    {boolean} the value of property enableScroll
    getEnableSocial(): boolean
    Getter for property enableSocial. enable Jam Integration

    Default value is false

    Returns:
    {boolean} the value of property enableSocial
    Getter for aggregation filterList.
    sap.suite.ui.commons/TimelineFilterListItem
    Returns:
    {sap.suite.ui.commons.TimelineFilterListItem[]}
    getForceGrowing(): boolean
    Getter for property forceGrowing. If set to true, the "More" button will always show.

    Default value is false

    Returns:
    {boolean} the value of property forceGrowing
    getGrowing(): boolean
    Getter for property growing. Sets the growing(paging) feature of control. This feature only works with model binding for aggregation "content".

    Default value is true

    Returns:
    {boolean} the value of property growing
    getGrowingThreshold(): int
    Getter for property growingThreshold. Number of items requested from the server. To activate this you should set "growing" property to "true".

    Default value is 5

    Returns:
    {int} the value of property growingThreshold
    getHeaderBar(): sap.m.Toolbar
    get the header bar control to customerize
    Returns:
    {sap.m.Toolbar}
    getMessageStrip(): sap.m.MessageStrip
    Get messagestrip
    Returns:
    {sap.m.MessageStrip}
    getNoDataText(): string
    Getter for property noDataText. This text is displayed when the control has no data.

    Default value is empty/undefined

    Returns:
    {string} the value of property noDataText
    getShowFilterBar(): boolean
    Getter for property showFilterBar. Set timeline filterbar visibility

    Default value is true

    Returns:
    {boolean} the value of property showFilterBar
    getShowHeaderBar(): boolean
    Getter for property showHeaderBar. Show header tool bar

    Default value is true

    Returns:
    {boolean} the value of property showHeaderBar
    getShowIcons(): boolean
    Getter for property showIcons. Show icon on each Timeline item.

    Default value is true

    Returns:
    {boolean} the value of property showIcons
    getShowSearch(): boolean
    Getter for property showSearch. Set timeline search field visibility

    Default value is true

    Returns:
    {boolean} the value of property showSearch
    getShowSuggestion(): boolean
    Getter for property showSuggestion. If this is set to true, suggest event is fired when user types in the input. Changing the suggestItems aggregation in suggest event listener will show suggestions within a popup.

    Default value is true

    Since:
    1.26.1
    Returns:
    {boolean} the value of property showSuggestion
    getSort(): boolean
    Getter for property sort. Allow only latest first sort when Sort is checked, otherwise display order in which data is received.

    Default value is true

    Returns:
    {boolean} the value of property sort
    getSortOldestFirst(): boolean
    Getter for property sortOldestFirst. Whether the oldest item will be displayed first.

    Default value is false

    Returns:
    {boolean} the value of property sortOldestFirst
    getSuggestionItems(): sap.m.StandardListItem[]
    Getter for aggregation suggestionItems.
    Items for suggestions
    Returns:
    {sap.m.StandardListItem[]}
    getSuspendSocailFeature(): boolean
    get the suspend social feature status
    Returns:
    {boolean}
    getVisible(): boolean
    Getter for property visible. Set Timeline control visibility

    Default value is true

    Returns:
    {boolean} the value of property visible
    getWidth(): sap.ui.core.CSSSize
    Getter for property width. Sets the width of the Timeline.

    Default value is 100%

    Returns:
    {sap.ui.core.CSSSize} the value of property width
    indexOfContent(oContent): int
    Checks for the provided sap.suite.ui.commons.TimelineItem in the aggregation named content and returns its index if found or -1 otherwise.
    Parameters:
    {sap.suite.ui.commons.TimelineItem}oContent the content whose index is looked for.
    Returns:
    {int} the index of the provided control in the aggregation if found, or -1 otherwise
    indexOfFilterList(oFilterList): int
    Checks for the provided sap.suite.ui.commons.TimelineFilterListItem in the aggregation named filterList and returns its index if found or -1 otherwise.
    Parameters:
    {sap.suite.ui.commons.TimelineFilterListItem}oFilterList the filterList 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
    insertContent(oContent, iIndex): sap.suite.ui.commons.Timeline
    Inserts a content into the aggregation named content.
    Parameters:
    {sap.suite.ui.commons.TimelineItem}oContent the content to insert; if empty, nothing is inserted
    {int}iIndex the 0-based index the content should be inserted at; for a negative value of iIndex, the content is inserted at position 0; for a value greater than the current size of the aggregation, the content is inserted at the last position
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    insertFilterList(oFilterList, iIndex): sap.suite.ui.commons.Timeline
    Inserts a filterList into the aggregation named filterList.
    Parameters:
    {sap.suite.ui.commons.TimelineFilterListItem}oFilterList the filterList to insert; if empty, nothing is inserted
    {int}iIndex the 0-based index the filterList should be inserted at; for a negative value of iIndex, the filterList is inserted at position 0; for a value greater than the current size of the aggregation, the filterList is inserted at the last position
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    insertSuggestionItem(oSuggestionItem, iIndex): sap.suite.ui.commons.Timeline
    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.Timeline}this to allow method chaining
    removeAllContent(): sap.suite.ui.commons.TimelineItem[]
    Removes all the controls in the aggregation named content.
    Additionally unregisters them from the hosting UIArea.
    Returns:
    {sap.suite.ui.commons.TimelineItem[]} an array of the removed elements (might be empty)
    Removes all the controls in the aggregation named filterList.
    Additionally unregisters them from the hosting UIArea.
    Returns:
    {sap.suite.ui.commons.TimelineFilterListItem[]} 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)
    removeContent(vContent): sap.suite.ui.commons.TimelineItem
    Removes an content from the aggregation named content.
    Parameters:
    {int|string|sap.suite.ui.commons.TimelineItem}vContent the content to remove or its index or id
    Returns:
    {sap.suite.ui.commons.TimelineItem} the removed content or null
    removeFilterList(vFilterList): sap.suite.ui.commons.TimelineFilterListItem
    Removes an filterList from the aggregation named filterList.
    Parameters:
    {int|string|sap.suite.ui.commons.TimelineFilterListItem}vFilterList the filterList to remove or its index or id
    Returns:
    {sap.suite.ui.commons.TimelineFilterListItem} the removed filterList 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
    setAlignment(oAlignment): sap.suite.ui.commons.Timeline
    Setter for property alignment.

    Default value is Right

    Parameters:
    {sap.suite.ui.commons.TimelineAlignment}oAlignment new value for property alignment
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setAxisOrientation(oAxisOrientation): sap.suite.ui.commons.Timeline
    Setter for property axisOrientation.

    Default value is Vertical

    Parameters:
    {sap.suite.ui.commons.TimelineAxisOrientation}oAxisOrientation new value for property axisOrientation
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setCurrentFilter(sSelectedItemKey): void
    Set the current selected filter key
    Parameters:
    {string}sSelectedItemKey Returns the TinelineFilterListItem
    setCustomFilter(oCustomFilter): sap.suite.ui.commons.Timeline
    Setter for the aggregated customFilter.
    Parameters:
    {sap.ui.core.Control}oCustomFilter
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setCustomMessage(sMsg): void
    set custom message
    Parameters:
    {string}sMsg Message to be set
    Setter for property data.

    Default value is empty/undefined

    Parameters:
    {object}oData new value for property data
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setEnableAllInFilterItem(bEnableAllInFilterItem): sap.suite.ui.commons.Timeline
    Setter for property enableAllInFilterItem.

    Default value is true

    Parameters:
    {boolean}bEnableAllInFilterItem new value for property enableAllInFilterItem
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setEnableBackendFilter(bEnableBackendFilter): sap.suite.ui.commons.Timeline
    Setter for property enableBackendFilter.

    Default value is false

    Parameters:
    {boolean}bEnableBackendFilter new value for property enableBackendFilter
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setEnableBusyIndicator(bEnableBusyIndicator): sap.suite.ui.commons.Timeline
    Setter for property enableBusyIndicator.

    Default value is true

    Parameters:
    {boolean}bEnableBusyIndicator new value for property enableBusyIndicator
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setEnableDoubleSided(bEnableDoubleSided): sap.suite.ui.commons.Timeline
    Setter for property enableDoubleSided.

    Default value is false

    Parameters:
    {boolean}bEnableDoubleSided new value for property enableDoubleSided
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setEnableScroll(bEnableScroll): sap.suite.ui.commons.Timeline
    Setter for property enableScroll.

    Default value is true

    Parameters:
    {boolean}bEnableScroll new value for property enableScroll
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setEnableSocial(bEnableSocial): sap.suite.ui.commons.Timeline
    Setter for property enableSocial.

    Default value is false

    Parameters:
    {boolean}bEnableSocial new value for property enableSocial
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setForceGrowing(bForceGrowing): sap.suite.ui.commons.Timeline
    Setter for property forceGrowing.

    Default value is false

    Parameters:
    {boolean}bForceGrowing new value for property forceGrowing
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setGrowing(bGrowing): sap.suite.ui.commons.Timeline
    Setter for property growing.

    Default value is true

    Parameters:
    {boolean}bGrowing new value for property growing
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setGrowingThreshold(iGrowingThreshold): sap.suite.ui.commons.Timeline
    Setter for property growingThreshold.

    Default value is 5

    Parameters:
    {int}iGrowingThreshold new value for property growingThreshold
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setNoDataText(sNoDataText): sap.suite.ui.commons.Timeline
    Setter for property noDataText.

    Default value is empty/undefined

    Parameters:
    {string}sNoDataText new value for property noDataText
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setShowFilterBar(bShowFilterBar): sap.suite.ui.commons.Timeline
    Setter for property showFilterBar.

    Default value is true

    Parameters:
    {boolean}bShowFilterBar new value for property showFilterBar
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setShowHeaderBar(bShowHeaderBar): sap.suite.ui.commons.Timeline
    Setter for property showHeaderBar.

    Default value is true

    Parameters:
    {boolean}bShowHeaderBar new value for property showHeaderBar
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setShowIcons(bShowIcons): sap.suite.ui.commons.Timeline
    Setter for property showIcons.

    Default value is true

    Parameters:
    {boolean}bShowIcons new value for property showIcons
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setShowSearch(bShowSearch): sap.suite.ui.commons.Timeline
    Setter for property showSearch.

    Default value is true

    Parameters:
    {boolean}bShowSearch new value for property showSearch
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setShowSuggestion(bShowSuggestion): sap.suite.ui.commons.Timeline
    Setter for property showSuggestion.

    Default value is true

    Parameters:
    {boolean}bShowSuggestion new value for property showSuggestion
    Since:
    1.26.1
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    Setter for property sort.

    Default value is true

    Parameters:
    {boolean}bSort new value for property sort
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setSortOldestFirst(bSortOldestFirst): sap.suite.ui.commons.Timeline
    Setter for property sortOldestFirst.

    Default value is false

    Parameters:
    {boolean}bSortOldestFirst new value for property sortOldestFirst
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    setSuspendSocialFeature(bBSuspend): void
    when set to true, the Add Post and Reply feature will be grayed out .
    Parameters:
    {boolean}bBSuspend boolean value for suspend or not.
    setVisible(bVisible): sap.suite.ui.commons.Timeline
    Setter for property visible.

    Default value is true

    Parameters:
    {boolean}bVisible new value for property visible
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining
    Setter for property width.

    Default value is 100%

    Parameters:
    {sap.ui.core.CSSSize}sWidth new value for property width
    Returns:
    {sap.suite.ui.commons.Timeline}this to allow method chaining