class sap.m.TimePickerClocks

Control sample: sap.m.TimePickerClocks
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/m/TimePickerClocks
Application Component: CA-UI5-CTR

A picker clocks container control used inside the sap.m.TimePicker.


Constructor

Constructor for a new TimePickerClocks.

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.m.TimePickerClocks(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


Aggregations

Default Aggregation:

Name Cardinality Type Description
_buttons 0..n sap.m.internal.ToggleSpinButton

Holds the inner buttons.

_clocks 0..n sap.m.TimePickerClock

Holds the inner clocks.


Methods Overview

Method Description
sap.m.TimePickerClocks.extend

Creates a new subclass of class sap.m.TimePickerClocks 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.m.TimePickerClocks.getMetadata

Returns a metadata object for class sap.m.TimePickerClocks.

getTimeValues

Gets the time values from the clocks, as a date object.

init

Initializes the control.

setValue

Sets the value of the TimePickerClocks container.

showFirstClock

Opens first clock.

sap.m.TimePickerClocks.extend

Creates a new subclass of class sap.m.TimePickerClocks 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.m.TimePickerClocks.getMetadata

Returns a metadata object for class sap.m.TimePickerClocks.

getTimeValues

Gets the time values from the clocks, as a date object.

init

Initializes the control.

setValue

Sets the value of the TimePickerClocks container.

Param Type DefaultValue Description
sValue string

The value of the TimePickerClocks

showFirstClock

Opens first clock.