Caplin Trader 4.7.1

Class: module:caplin/component/menu/AbstractMenu

module:caplin/component/menu/AbstractMenu

Constructor

(abstract) new module:caplin/component/menu/AbstractMenu(sDescription, fHandler, pChildren)

This is in beta and therefore subject to API changes.

This abstract class should never be constructed explicitly.

AbstractMenu contains all the functionality for the following classes:

The concrete Menu classes themselves merely provide helpful constructor methods to making using AbstractMenu easier.

Parameters:
Name Type Description
sDescription String Description or name of this menu item.
fHandler function Action fired when this menu item is clicked.
pChildren Array Child menu items for this menu group or submenu.
Implements: