class sap.ui.vk.OutputSettings

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

Aggregation element for the output settings of the Viewport


Constructor

Constructor for a new OutputSettings.

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.OutputSettings(sId?, mSettings?)
Param Type Default Value Description
sId? string

id for the new control, generated automatically if no id is given

mSettings? object

initial settings for the new control


Properties

Name Type Default Value Description
dpi float

density of the output, unit in dpi (dots-per-inch)

Visibility: public
height float

height of the output, unit in mm

Visibility: public
width float

width of the output, unit in mm

Visibility: public

Methods Overview

Method Description
sap.ui.vk.OutputSettings.extend

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

getDpi

Gets current value of property dpi.

density of the output, unit in dpi (dots-per-inch)

getHeight

Gets current value of property height.

height of the output, unit in mm

sap.ui.vk.OutputSettings.getMetadata

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

getWidth

Gets current value of property width.

width of the output, unit in mm

setDpi

Sets a new value for property dpi.

density of the output, unit in dpi (dots-per-inch)

When called with a value of null or undefined, the default value of the property will be restored.

setHeight

Sets a new value for property height.

height of the output, unit in mm

When called with a value of null or undefined, the default value of the property will be restored.

setWidth

Sets a new value for property width.

width of the output, unit in mm

When called with a value of null or undefined, the default value of the property will be restored.

sap.ui.vk.OutputSettings.extend

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

getDpi

Gets current value of property dpi.

density of the output, unit in dpi (dots-per-inch)

getHeight

Gets current value of property height.

height of the output, unit in mm

sap.ui.vk.OutputSettings.getMetadata

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

getWidth

Gets current value of property width.

width of the output, unit in mm

setDpi

Sets a new value for property dpi.

density of the output, unit in dpi (dots-per-inch)

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
fDpi float

New value for property dpi

setHeight

Sets a new value for property height.

height of the output, unit in mm

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
fHeight float

New value for property height

setWidth

Sets a new value for property width.

width of the output, unit in mm

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
fWidth float

New value for property width