class sap.ui.vk.SafeArea

Control sample: sap.ui.vk.SafeArea
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/vk/SafeArea
Application Component: CA-UI5-VTK

SafeArea allows applications to define area of viewport which will be initially displayed regardless of viewing device and its screen resolution or orientation.


Constructor

Constructor for a new SafeArea.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.

new sap.ui.vk.SafeArea()

Aggregations

Default Aggregation:

Name Cardinality Type Description
settingsControl 0..1 sap.ui.core.Control

Application defined setting control which can be used to control SafeArea and aspect ratio settings


Methods Overview

Method Description
destroySettingsControl

Destroys the settingsControl in the aggregation settingsControl.

sap.ui.vk.SafeArea.extend

Creates a new subclass of class sap.ui.vk.SafeArea 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.

sap.ui.vk.SafeArea.getMetadata

Returns a metadata object for class sap.ui.vk.SafeArea.

getSettingsControl

Gets content of aggregation settingsControl.

Application defined setting control which can be used to control SafeArea and aspect ratio settings

setSettingsControl

Sets the aggregated settingsControl.

destroySettingsControl

Destroys the settingsControl in the aggregation settingsControl.

sap.ui.vk.SafeArea.extend

Creates a new subclass of class sap.ui.vk.SafeArea 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.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

sap.ui.vk.SafeArea.getMetadata

Returns a metadata object for class sap.ui.vk.SafeArea.

getSettingsControl

Gets content of aggregation settingsControl.

Application defined setting control which can be used to control SafeArea and aspect ratio settings

setSettingsControl

Sets the aggregated settingsControl.

Param Type DefaultValue Description
oSettingsControl sap.ui.core.Control

The settingsControl to set