A picker clocks container control used inside the sap.m.TimePicker.
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 |
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. |
Method | Description |
---|---|
sap.m.TimePickerClocks.extend |
Creates a new subclass of class sap.m.TimePickerClocks with name
|
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 |
showFirstClock |
Opens first clock. |
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 |