Class Index | File Index

Classes


Class sap.ui2.shell.Menu

An object representing the root of the user's menu.
Defined in: startup.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
You cannot call this constructor; a sap.ui2.shell.Menu is created by the framework in sap.ui2.shell.getUser().
Method Summary
Method Attributes Method Name and Description
 
Returns the default error handler for this menu.
 
Returns all top-level menu entries.
 
getEntry(sId)
Returns the node with the given ID or undefined if no such node exists.
Class Detail
sap.ui2.shell.Menu()
You cannot call this constructor; a sap.ui2.shell.Menu is created by the framework in sap.ui2.shell.getUser().
Since:
1.5.0
Method Detail
{function (string)} getDefaultErrorHandler()
Returns the default error handler for this menu. This handler is taken from the user.
Since:
1.5.0
Returns:
{function (string)} default error handler, taking an error message, may be undefined

{sap.ui2.shell.Node[]} getEntries()
Returns all top-level menu entries.
Since:
1.5.0
Returns:
{sap.ui2.shell.Node[]} the array of entries

{sap.ui2.shell.Node} getEntry(sId)
Returns the node with the given ID or undefined if no such node exists.
Parameters:
{string} sId
the ID
Since:
1.5.0
Returns:
{sap.ui2.shell.Node} the node with the given ID or undefined if no such node exists

©Copyright (c) 2009-2014 SAP SE, All Rights Reserved
Documentation generated by JsDoc Toolkit 2.4.0 on Tue Mar 14 2017 08:48:21 GMT-0000 (UTC)