Class sap.ushell.ui.footerbar.AddBookmarkButtonModule: sap/ushell/ui/footerbar/AddBookmarkButton
A button to be displayed in the application footer. Clicking the button opens a dialog box allowing the user to save the app state, so that the app can be launched in this state directly from the launchpad.
sClassName
and enriches it with the information contained in oClassInfo
. 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
- beforePressHandler : any
- afterPressHandler : any
- title : string
- subtitle : string
- info : string
- tileIcon : string
- numberUnit : string
- keywords : string
- customUrl : any
- serviceUrl : any
- serviceRefreshInterval : string
- showGroupSelection : boolean (default: true)
- appData : object
- Aggregations
- Associations
- Events
In addition, all settings applicable to the base type sap.m.Button can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{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. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
afterPressHandler
. A callback function to be called after the press handler called upon clicking the button. Default value is empty/undefined
{any} | the value of property afterPressHandler |
appData
. Deprecated – an object containing application information properties. Default value is empty/undefined
{object} | the value of property appData |
beforePressHandler
. A callback function to be called prior to the press handler upon clicking the button. Default value is empty/undefined
{any} | the value of property beforePressHandler |
customUrl
. A customized target URL for the tile. Default value is empty/undefined
{any} | the value of property customUrl |
info
. Text to be displayed at the bottom of the tile. Default value is empty/undefined
{string} | the value of property info |
keywords
. The keywords based on which the future tile should be indexed and filtered. Default value is empty/undefined
{string} | the value of property keywords |
numberUnit
. For dynamic tile, the unit to be displayed below the number, for example, USD. Default value is empty/undefined
{string} | the value of property numberUnit |
serviceRefreshInterval
. Number of seconds after which dynamic content is read from the data source and the display is refreshed. Default value is empty/undefined
{string} | the value of property serviceRefreshInterval |
serviceUrl
. URL of an OData service from which data should be read. Default value is empty/undefined
{any} | the value of property serviceUrl |
showGroupSelection
. Defines whether to display the group selection control within the Save as Tile dialog box. Default value is true
{boolean} | the value of property showGroupSelection |
subtitle
. Subtitle to be displayed below the tile title. Default value is empty/undefined
{string} | the value of property subtitle |
tileIcon
. Icon to be desplied in the Tile. Default value is empty/undefined
{string} | the value of property tileIcon |
title
. Title to be displayed on the tile. Default value is empty/undefined
{string} | the value of property title |
afterPressHandler
. Default value is empty/undefined
{any} | oAfterPressHandler | new value for property afterPressHandler |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
appData
. Default value is empty/undefined
{object} | oAppData | new value for property appData |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
beforePressHandler
. Default value is empty/undefined
{any} | oBeforePressHandler | new value for property beforePressHandler |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
customUrl
. Default value is empty/undefined
{any} | oCustomUrl | new value for property customUrl |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
info
. Default value is empty/undefined
{string} | sInfo | new value for property info |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
keywords
. Default value is empty/undefined
{string} | sKeywords | new value for property keywords |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
numberUnit
. Default value is empty/undefined
{string} | sNumberUnit | new value for property numberUnit |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
serviceRefreshInterval
. Default value is empty/undefined
{string} | sServiceRefreshInterval | new value for property serviceRefreshInterval |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
serviceUrl
. Default value is empty/undefined
{any} | oServiceUrl | new value for property serviceUrl |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
showGroupSelection
. Default value is true
{boolean} | bShowGroupSelection | new value for property showGroupSelection |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
subtitle
. Default value is empty/undefined
{string} | sSubtitle | new value for property subtitle |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
tileIcon
. Default value is empty/undefined
{string} | sTileIcon | new value for property tileIcon |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |
title
. Default value is empty/undefined
{string} | sTitle | new value for property title |
{sap.ushell.ui.footerbar.AddBookmarkButton} | this to allow method chaining |