Class: $.DefaultPropertiesView

Inherits:
WatchUi.View show all

Overview

Show the current property values

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _indicator as $.PageIndicator

Instance Method Details

getDisplayString(propertyPrefix as Lang.String, propertyId as Application.PropertyKeyType) as Lang.String

Get a string with the property value and given prefix

Parameters:

  • propertyPrefix —

    Label to prefix the property value

  • propertyId —

    The key for the property

Returns:

  • String with the property prefix and value

initialize()

Constructor

onLayout(dc as Graphics.Dc) as Void

Load your resources here

Parameters:

  • dc —

    Device context

onUpdate(dc as Graphics.Dc) as Void

Update the view

Parameters:

  • dc —

    Device Context

updateLabel(labelId as Lang.String, labelText as Lang.String) as Void

Update a label with new text

Parameters:

  • labelId —

    The label to update

  • labelText —

    The text for the label


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