Class: $.Menu2SampleSubMenuDelegate

Inherits:
WatchUi.Menu2InputDelegate show all

Overview

This is the menu input delegate shared by all the basic sub-menus in the application

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _count as Lang.Number

var _dividerType as Menu2.DividerType or Null

var _menu as WatchUi.Menu2

Instance Method Details

initialize(menu as WatchUi.Menu2)

Constructor

Parameters:

  • menu —

    The menu to be used

onBack() as Void

Handle the back key being pressed

onDone() as Void

Handle the done item being selected

onSelect(item as WatchUi.MenuItem) as Void

Handle an item being selected

Parameters:

  • item —

    The selected menu item


Generated Oct 20, 2026, 8:20:47 AM