Class: $.MO2Delegate
- Inherits:
-
WatchUi.InputDelegate
-
WatchUi.InputDelegate
-
Overview
Instance Member Summary collapse
- _index as Lang.Number
- _sensor as $.MO2Sensor
Instance Method Summary collapse
-
getDelegate() as $.MO2Delegate
Get a new delegate.
-
getView() as $.MainView or $.DataView or $.GraphView or $.CommandView
Get a new view based on the current index.
-
initialize(sensor as $.MO2Sensor, index as Lang.Number)
Constructor.
-
onKey(evt as WatchUi.KeyEvent) as Lang.Boolean
Handle a physical button being pressed and released.
-
onNextPage() as Void
Go to the next page.
-
onPreviousPage() as Void
Go to the previous page.
-
onSwipe(evt as WatchUi.SwipeEvent) as Lang.Boolean
Handle the touch screen swipe event.
-
onTap(evt as WatchUi.ClickEvent) as Lang.Boolean
Handle a screen tap event.
Instance Method Details
getDelegate() as $.MO2Delegate
Get a new delegate
getView() as $.MainView or $.DataView or $.GraphView or $.CommandView
Get a new view based on the current index
initialize(sensor as $.MO2Sensor, index as Lang.Number)
Constructor
onKey(evt as WatchUi.KeyEvent) as Lang.Boolean
Handle a physical button being pressed and released
onNextPage() as Void
Go to the next page
onPreviousPage() as Void
Go to the previous page
onSwipe(evt as WatchUi.SwipeEvent) as Lang.Boolean
Handle the touch screen swipe event
onTap(evt as WatchUi.ClickEvent) as Lang.Boolean
Handle a screen tap event