Class: $.StringPicker
- Inherits:
-
WatchUi.Picker
-
WatchUi.Picker
-
Overview
Picker that allows the user to choose a string
Constant Summary
Constant Variables
| Type | Name | Value | Since | Description |
|---|---|---|---|---|
| Type | _characterSet | "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
Instance Member Summary collapse
- _curString as Lang.String
- _factory as $.CharacterFactory
- _title as WatchUi.Text
Instance Method Summary collapse
-
addCharacter(character as Lang.String) as Void
Add a character to the end of the title.
-
getTitle() as Lang.String
Get the title.
-
getTitleLength() as Lang.Number
Get how long the title is.
-
initialize()
Constructor.
-
isDone(value as Lang.String or Lang.Number) as Lang.Boolean
Get whether the user is done picking.
-
onUpdate(dc as Graphics.Dc) as Void
Update the view.
-
removeCharacter() as Void
Remove the last character from the title.
Instance Attribute Details
var _curString as Lang.String
var _factory as $.CharacterFactory
var _title as WatchUi.Text
Instance Method Details
addCharacter(character as Lang.String) as Void
Add a character to the end of the title
getTitle() as Lang.String
Get the title
getTitleLength() as Lang.Number
Get how long the title is
initialize()
Constructor
isDone(value as Lang.String or Lang.Number) as Lang.Boolean
Get whether the user is done picking
onUpdate(dc as Graphics.Dc) as Void
Update the view
removeCharacter() as Void
Remove the last character from the title