Class: Toybox.WatchUi.NumberPicker
- Inherits:
-
Toybox.Lang.Object
Overview
A representation of an on-screen number picker.
A NumberPicker is a special View that provides a way to specify numeric values within an app. A NumberPicker is pushed using pushView() and provides a NumberPickerDelegate as the input delegate.
The NumberPicker class is limited to the eight specific modes described by the WatchUi.NUMBER_PICKER_* types enum. There are set minimum and maximum values enforced by the product for each mode, and the initial value of the NumberPicker will be adjusted to fall within these bounds.
This has been deprecated
This class may be removed after System 3.
See Also:
Note:
The look and feel of a number picker is device-specific.
Instance Method Summary collapse
-
initialize(mode as WatchUi.NumberPickerMode, initialValue as Lang.Number or Lang.Float or Time.Duration)
Constructor.
Instance Method Details
initialize(mode as WatchUi.NumberPickerMode, initialValue as Lang.Number or Lang.Float or Time.Duration)
Constructor