This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %ZEN.Component.menuItem

%ZEN.Component.menuItem

class %ZEN.Component.menuItem extends %ZEN.Component.component, %ZEN.Component.menuCell

Defines an item within a menu. Note that the properties of this component are provided by the class menuCell.

Method Inventory (Including Private)

Parameters

parameter DOMAIN = %ZEN;

Methods (Including Private)

method %DrawHTML()
Inherited description: Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
final clientmethod doNothing() [ Language = javascript ]
No-op used for disabled links.
final clientmethod getDisabled() as %Boolean [ Language = javascript ]
Client-side method to get the disabled state of this menuItem.
clientmethod onActionHandler() [ Language = javascript ]
This callback is invoked just before this menuItem fires its action.
clientmethod onShowHelpHandler(mode) [ Language = javascript ]
This callback is invoked when the mouse moves over (true) or out of (false) this menu item.
final clientmethod setDisabled(flag) [ Language = javascript ]
Client-side method to set disabled state of this menuItem.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)