Class: $.DividerCustomMenu

Inherits:
WatchUi.CustomMenu show all

Overview

Menu for the Custom Divider menu

Constant Summary

Constant Variables

Type Name Value Since Description
Type HEIGHT_FACTOR 30
Type NUM_ITEMS 8

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _dividerType as Menu2.DividerType or Null

Instance Method Details

changeDividerType() as Void

Handles changing of the divider type

drawTitle(dc as Graphics.Dc) as Void

Draw the title with instructions to change the divider type

Parameters:

  • dc —

    Device context

getDividerType() as Menu2.DividerType or Null

Gets the current divider type

Returns:

  • The current divider type

initialize(itemHeight as Lang.Number, dividerType as Menu2.DividerType or Null)

Constructor

Parameters:

  • itemHeight —

    The height of the menu items

  • dividerType —

    The divider type to be used


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