Class: $.KeyboardListener

Inherits:
WatchUi.TextPickerDelegate show all

Overview

TextPicker Delegate to handle text being selected

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _delegate as $.KeyboardDelegate

var _view as $.KeyboardView

Instance Method Details

initialize(view as $.KeyboardView, delegate as $.KeyboardDelegate)

Constructor

Parameters:

  • view —

    The app view

  • delegate —

    The app delegate

onCancel() as Lang.Boolean

Handle user cancelling the text entry

Returns:

  • true if event is handled, false otherwise

onTextEntered(text as Lang.String, changed as Lang.Boolean) as Lang.Boolean

Update the current text when the user enters text

Parameters:

  • text —

    The entered text

  • changed —

    Whether the entered text differs from the previous text

Returns:

  • true if event is handled, false otherwise


Generated Jun 9, 2026, 8:45:44 AM