sap.ui.unified.ShellOverlay.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.unified.ShellOverlay with name
sClassName and enriches it with the information contained in
oClassInfo.
oClassInfo might contain the same kind of information as described in sap.ui.core.Control.extend.
Parameters:
| {string} | sClassName | Name of the class being created |
| {object} | oClassInfo? | Object literal with information about the class |
| {function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
| {function} | Created class / constructor function |
Returns a metadata object for class sap.ui.unified.ShellOverlay.
Returns:
Adds some ariaLabelledBy into the association ariaLabelledBy.
Parameters:
| {string|sap.ui.core.Control} | vAriaLabelledBy | the ariaLabelledBy to add; if empty, nothing is inserted |
Returns:
Adds some content to the aggregation content.
Parameters:
Returns:
Attaches event handler
fnFunction to the
closed event of this
sap.ui.unified.ShellOverlay.
When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.unified.ShellOverlay itself.
Fired when the overlay was closed.
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 be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.unified.ShellOverlay itself |
Returns:
close()
Closes the ShellOverlay.
Destroys all the content in the aggregation content.
Returns:
Destroys the search in the aggregation search.
Returns:
Detaches event handler
fnFunction from the
closed event of this
sap.ui.unified.ShellOverlay.
The passed function and listener object must match the ones used for event registration.
Parameters:
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
Returns:
Fires event closed to attached listeners.
Parameters:
| {Map} | mArguments? | The arguments to pass along with the event |
Returns:
Returns array of IDs of the elements which are the current targets of the association ariaLabelledBy.
Returns:
Gets content of aggregation
content.
The content to appear in the overlay.
Returns:
Gets content of aggregation
search.
Experimental (This aggregation might change in future!): The search control which should be displayed in the overlay header.
Returns:
ID of the element which is the current target of the association shell, or null.
Returns:
indexOfContent(oContent): int
Checks for the provided sap.ui.core.Control in the aggregation content. and returns its index if found or -1 otherwise.
Parameters:
Returns:
| {int} | The index of the provided control in the aggregation if found, or -1 otherwise |
Inserts a content into the aggregation content.
Parameters:
| {sap.ui.core.Control} | 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:
open()
Opens the ShellOverlay.
Removes all the controls in the association named ariaLabelledBy.
Returns:
Removes all the controls from the aggregation
content.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes an ariaLabelledBy from the association named ariaLabelledBy.
Parameters:
| {int|string|sap.ui.core.Control} | vAriaLabelledBy | The ariaLabelledByto be removed or its index or ID |
Returns:
Removes a content from the aggregation content.
Parameters:
Returns:
Sets the aggregated search.
Parameters:
Returns:
Sets the associated shell.
Parameters:
| {sap.ui.unified.ShellLayout} | oShell | Id of an element which becomes the new target of this shell association; alternatively, an element instance may be given |
Returns: