Class: $.KeyboardDelegate

Inherits:
WatchUi.InputDelegate show all

Overview

Input delegate to start the TextPicker

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _lastText as Lang.String

var _view as $.KeyboardView

Instance Method Details

initialize(view as $.KeyboardView)

Constructor

Parameters:

  • view —

    The app view

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

Push a text picker if the up button is pressed

Parameters:

  • key —

    The key event that occurred

Returns:

  • true if event is handled, false otherwise

onTap(evt as WatchUi.ClickEvent) as Lang.Boolean

Push a text picker if the screen receives a tap.

Parameters:

  • evt —

    The click event that occurred

Returns:

  • true if event is handled, false otherwise

setLastText(text as Lang.String) as Void

Set the last text entered

Parameters:

  • text —

    The last text entered


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