InboxLaunchPad Documentation to be updated later
Experimental API:Since version 1.7.0. API is not yet finished and might change completely
Event Summary
logout(oControlEvent)Fired when the user clicks the "Log-off" button. tileSelected(oControlEvent)Fires an event when a tile is selected in Inbox LaunchPad. Method Summary
sap.uiext.inbox.InboxLaunchPad.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.uiext.inbox.InboxLaunchPad with name sClassName
and enriches it with the information contained in oClassInfo
. attachLogout(oData?, fnFunction, oListener?)Attach event handler fnFunction
to the 'logout' event of this sap.uiext.inbox.InboxLaunchPad
. attachTileSelected(oData?, fnFunction, oListener?)Attach event handler fnFunction
to the 'tileSelected' event of this sap.uiext.inbox.InboxLaunchPad
. detachLogout(fnFunction, oListener)Detach event handler fnFunction
from the 'logout' event of this sap.uiext.inbox.InboxLaunchPad
. detachTileSelected(fnFunction, oListener)Detach event handler fnFunction
from the 'tileSelected' event of this sap.uiext.inbox.InboxLaunchPad
. fireLogout(mArguments?)Fire event logout to attached listeners. setTitle(sTitle)Setter for property title
. addStyleClass,
allowTextSelection,
attachBrowserEvent,
attachValidateFieldGroup,
checkFieldGroupIds,
clone,
detachBrowserEvent,
detachValidateFieldGroup,
fireValidateFieldGroup,
getAccessibilityInfo,
getBusy,
getBusyIndicatorDelay,
getControlsByFieldGroupId,
getFieldGroupIds,
getIdForLabel,
getRenderer,
getVisible,
hasStyleClass,
invalidate,
isBusy,
onAfterRendering,
onBeforeRendering,
placeAt,
removeStyleClass,
rerender,
setBusy,
setBusyIndicatorDelay,
setFieldGroupIds,
setVisible,
toggleStyleClass,
triggerValidateFieldGroup $,
addCustomData,
addDependent,
addEventDelegate,
applyFocusInfo,
bindElement,
data,
destroy,
destroyCustomData,
destroyDependents,
destroyLayoutData,
destroyTooltip,
enhanceAccessibilityState,
exit,
findElements,
fireEvent,
focus,
getCustomData,
getDependents,
getDomRef,
getElementBinding,
getFocusDomRef,
getFocusInfo,
getInterface,
getLayoutData,
getMetadata,
getTooltip,
getTooltip_AsString,
getTooltip_Text,
indexOfCustomData,
indexOfDependent,
init,
insertCustomData,
insertDependent,
prop,
removeAllCustomData,
removeAllDependents,
removeCustomData,
removeDependent,
removeEventDelegate,
setLayoutData,
setTooltip,
toString,
unbindElement addAggregation,
addAssociation,
applySettings,
attachFormatError,
attachModelContextChange,
attachParseError,
attachValidationError,
attachValidationSuccess,
bindAggregation,
bindContext,
bindObject,
bindProperty,
destroyAggregation,
detachFormatError,
detachModelContextChange,
detachParseError,
detachValidationError,
detachValidationSuccess,
findAggregatedObjects,
fireFormatError,
fireModelContextChange,
fireParseError,
fireValidationError,
fireValidationSuccess,
getAggregation,
getAssociation,
getBinding,
getBindingContext,
getBindingInfo,
getBindingPath,
getEventingParent,
getId,
getModel,
getObjectBinding,
getOriginInfo,
getParent,
getProperty,
hasModel,
indexOfAggregation,
insertAggregation,
isBound,
isInvalidateSuppressed,
isTreeBinding,
propagateMessages,
removeAggregation,
removeAllAggregation,
removeAllAssociation,
removeAssociation,
setAggregation,
setAssociation,
setBindingContext,
setModel,
setProperty,
unbindAggregation,
unbindContext,
unbindObject,
unbindProperty,
validateAggregation,
validateProperty Constructor Detail
new sap.uiext.inbox.InboxLaunchPad(sId?, mSettings?)
Constructor for a new InboxLaunchPad.
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
- tileSelected : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- logout : 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
logout(oControlEvent)
Fired when the user clicks the "Log-off" button.
Parameters:
tileSelected(oControlEvent)
Fires an event when a tile is selected in Inbox LaunchPad.
Parameters:
Method Detail
sap.uiext.inbox.InboxLaunchPad.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.uiext.inbox.InboxLaunchPad 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 |
Returns a metadata object for class sap.uiext.inbox.InboxLaunchPad.
Returns:
Attach event handler
fnFunction
to the 'logout' event of this
sap.uiext.inbox.InboxLaunchPad
.
. When called, the context of the event handler (its
this
) will be bound to
oListener if specified otherwise to this sap.uiext.inbox.InboxLaunchPad
.
itself. Fired when the user clicks the "Log-off" button.
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.uiext.inbox.InboxLaunchPad . itself. |
Returns:
Attach event handler
fnFunction
to the 'tileSelected' event of this
sap.uiext.inbox.InboxLaunchPad
.
. When called, the context of the event handler (its
this
) will be bound to
oListener if specified otherwise to this sap.uiext.inbox.InboxLaunchPad
.
itself. Fires an event when a tile is selected in Inbox LaunchPad.
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.uiext.inbox.InboxLaunchPad . itself. |
Returns:
Detach event handler
fnFunction
from the 'logout' event of this
sap.uiext.inbox.InboxLaunchPad
.
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:
Detach event handler
fnFunction
from the 'tileSelected' event of this
sap.uiext.inbox.InboxLaunchPad
.
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:
Fire event logout to attached listeners.
Parameters:
{Map} | mArguments? | the arguments to pass along with the event. |
Returns:
Fire event tileSelected to attached listeners.
Parameters:
{Map} | mArguments? | the arguments to pass along with the event. |
Returns:
getLogoSrc(): string
Getter for property
logoSrc
. Path (src) to the logo icon to be displayed in the Inbox LaunchPad header.
Default value is empty/undefined
Returns:
{string} | the value of property logoSrc |
getShowLogoutButton(): boolean
Getter for property
showLogoutButton
. Property to indicate whether the Logoff button in the header should be displayed or not. Default value is true.
Default value is true
Returns:
{boolean} | the value of property showLogoutButton |
getShowUserName(): boolean
Getter for property
showUserName
. Property to indicate whether loggod on User's Name in the header should be displayed or not. Default value is true.
Default value is true
Returns:
{boolean} | the value of property showUserName |
getTitle(): string
Getter for property
title
. The title text appearing in Inbox LaunchPad header bar.
Default value is Inbox Launch Pad Title
Returns:
{string} | the value of property title |
getUserName(): string
Getter for property
userName
. User name to be shown in the header.
Default value is empty/undefined
Returns:
{string} | the value of property userName |
Setter for property
logoSrc
.
Default value is empty/undefined
Parameters:
{string} | sLogoSrc | new value for property logoSrc |
Returns:
Setter for property
showLogoutButton
.
Default value is true
Parameters:
{boolean} | bShowLogoutButton | new value for property showLogoutButton |
Returns:
Setter for property
showUserName
.
Default value is true
Parameters:
{boolean} | bShowUserName | new value for property showUserName |
Returns:
Setter for property
title
.
Default value is Inbox Launch Pad Title
Parameters:
{string} | sTitle | new value for property title |
Returns:
Setter for property
userName
.
Default value is empty/undefined
Parameters:
{string} | sUserName | new value for property userName |
Returns: