Class: $.CheckBoxDelegate

Inherits:
WatchUi.BehaviorDelegate show all

Overview

Handle behavior of check boxes.

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _keyToSelectable as Lang.Boolean

var _view as $.CheckBoxView

Instance Method Details

initialize(view as $.CheckBoxView)

Constructor

Parameters:

  • view —

    The check box view

onKey(evt as WatchUi.KeyEvent) as Lang.Boolean

Handle a key event

Parameters:

  • evt —

    The key event that occurred

Returns:

  • true if handled, false otherwise

onMenu() as Lang.Boolean

Handle the menu event

Returns:

  • true if handled, false otherwise

onNextPage() as Lang.Boolean

Handle going to the next view

Returns:

  • true if handled, false otherwise

onSelectable(event as WatchUi.SelectableEvent) as Lang.Boolean

Handle the state of a Selectable changing

Parameters:

  • event —

    The selectable event

Returns:

  • true if handled, false otherwise

pushMenu(slideDir as WatchUi.SlideType) as Lang.Boolean

Push a new menu view

Parameters:

  • slideDir —

    Slide transition to use for the new view

Returns:

  • true if handled, false otherwise


Generated Oct 20, 2026, 8:21:01 AM