Caplin Trader 4.5.2

Class: module:caplin/component/menu/AbstractMenu



(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.

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.