sap.ui.vk.ContainerBase.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.vk.ContainerBase 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.vk.ContainerBase.
Returns:
_addToolbarContent()
adjusts customizable buttons of overflow toolbar, displays content buttons
addContent(oObject): void
add container content - map, table..
Parameters:
Attaches event handler
fnFunction to the
contentChange event of this
sap.ui.vk.ContainerBase.
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.vk.ContainerBase itself.
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.vk.ContainerBase itself |
Returns:
Attaches event handler
fnFunction to the
settingsPressed event of this
sap.ui.vk.ContainerBase.
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.vk.ContainerBase itself.
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.vk.ContainerBase itself |
Returns:
Destroys all the content in the aggregation content.
Returns:
Detaches event handler
fnFunction from the
contentChange event of this
sap.ui.vk.ContainerBase.
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:
Detaches event handler
fnFunction from the
settingsPressed event of this
sap.ui.vk.ContainerBase.
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 contentChange to attached listeners.
Parameters:
| {Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event settingsPressed to attached listeners.
Parameters:
| {Map} | mArguments? | The arguments to pass along with the event |
Returns:
getAutoAdjustHeight(): boolean
Gets current value of property
autoAdjustHeight.
Default value is false.
Returns:
| {boolean} | Value of property autoAdjustHeight |
Gets content of aggregation
content.
Content Aggregation.
Returns:
getFullScreen(): boolean
Gets current value of property
fullScreen.
Controls whether the control is show fullscreen or embedded
Default value is false.
Returns:
| {boolean} | Value of property fullScreen |
get selected content
Returns:
getShowFullScreen(): boolean
Gets current value of property
showFullScreen.
Show fullscreen toggle button in toolbar
Default value is true.
Returns:
| {boolean} | Value of property showFullScreen |
getShowSelection(): boolean
Gets current value of property
showSelection.
Show selection button in toolbar
Default value is true.
Returns:
| {boolean} | Value of property showSelection |
getShowSettings(): boolean
Gets current value of property
showSettings.
Show settings button in toolbar
Default value is true.
Returns:
| {boolean} | Value of property showSettings |
getTitle(): string
Gets current value of property
title.
Title to show in toolbar
Default value is .
Returns:
| {string} | Value of property title |
indexOfContent(oContent): int
Checks for the provided sap.ui.vk.ContainerContent 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 |
insertContent(oObject, iIndex): void
insert container content - map, table..
Parameters:
| {sap.ui.vk.ContainerContent} | oObject | content object to insert |
| {int} | iIndex | index in the content aggregation where to insert the new content object |
Removes all the controls from the aggregation
content.
Additionally, it unregisters them from the hosting UIArea.
Returns:
Removes a content from the aggregation content.
Parameters:
Returns:
Sets a new value for property
autoAdjustHeight.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
Parameters:
| {boolean} | bAutoAdjustHeight | New value for property autoAdjustHeight |
Returns:
setFullScreen(bFullScreen): void
set FullScreen - default is normal mode, but app can call this method to set the default to full screen
Parameters:
| {boolean} | bFullScreen | Fullscreen mode on or off |
setSelectedContent(oContent): void
set selected content
Parameters:
Sets a new value for property
showFullScreen.
Show fullscreen toggle button in toolbar
When called with a value of null or undefined, the default value of the property will be restored.
Default value is true.
Parameters:
| {boolean} | bShowFullScreen | New value for property showFullScreen |
Returns:
Sets a new value for property
showSelection.
Show selection button in toolbar
When called with a value of null or undefined, the default value of the property will be restored.
Default value is true.
Parameters:
| {boolean} | bShowSelection | New value for property showSelection |
Returns:
Sets a new value for property
showSettings.
Show settings button in toolbar
When called with a value of null or undefined, the default value of the property will be restored.
Default value is true.
Parameters:
| {boolean} | bShowSettings | New value for property showSettings |
Returns:
setTitle(sValue): void
Display title
Parameters:
switchContent(oContent): void
default Content could be defined in application
Parameters:
updateContainer(): void
update container to allow dynamic change button layout