sap.ui.unified.ShellLayout.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.unified.ShellLayout 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.ShellLayout.
Returns:
Adds some content to the aggregation content.
Parameters:
Returns:
Adds some paneContent to the aggregation paneContent.
Parameters:
Returns:
Destroys all the content in the aggregation content.
Returns:
Destroys the header in the aggregation header.
Returns:
Destroys all the paneContent in the aggregation paneContent.
Returns:
Gets content of aggregation
content.
The content to appear in the main canvas.
Returns:
Gets content of aggregation
header.
The control to appear in the header area.
Returns:
getHeaderHiding(): boolean
Gets current value of property
headerHiding.
Whether the header can be hidden (manually or automatically). This feature is only available when touch events are supported.
Default value is false.
Returns:
| {boolean} | Value of property headerHiding |
getHeaderVisible(): boolean
Gets current value of property
headerVisible.
If set to false, no header (and no items, search, ...) is shown.
Default value is true.
Returns:
| {boolean} | Value of property headerVisible |
Gets content of aggregation
paneContent.
The content to appear in the pane area.
Returns:
getShowPane(): boolean
Gets current value of property
showPane.
Shows / Hides the side pane.
Default value is false.
Returns:
| {boolean} | Value of property showPane |
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 |
indexOfPaneContent(oPaneContent): int
Checks for the provided sap.ui.core.Control in the aggregation paneContent. 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:
Inserts a paneContent into the aggregation paneContent.
Parameters:
| {sap.ui.core.Control} | oPaneContent | the paneContent to insert; if empty, nothing is inserted |
| {int} | iIndex | the 0-based index the paneContent should be inserted at; for a negative value of iIndex, the paneContent is inserted at position 0; for a value greater than the current size of the aggregation, the paneContent is inserted at the last position |
Returns:
Removes all the controls from the aggregation
content.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes all the controls from the aggregation
paneContent.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes a content from the aggregation content.
Parameters:
Returns:
Removes a paneContent from the aggregation paneContent.
Parameters:
Returns:
Sets the aggregated header.
Parameters:
Returns:
Sets a new value for property
headerHiding.
Whether the header can be hidden (manually or automatically). This feature is only available when touch events are supported.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
Parameters:
| {boolean} | bHeaderHiding | New value for property headerHiding |
Returns:
Sets a new value for property
headerVisible.
If set to false, no header (and no items, search, ...) is shown.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is true.
Parameters:
| {boolean} | bHeaderVisible | New value for property headerVisible |
Returns:
Sets a new value for property
showPane.
Shows / Hides the side pane.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
Parameters:
| {boolean} | bShowPane | New value for property showPane |
Returns: