Skip to main content

%ZEN.Component.menuCell

deprecated abstract class %ZEN.Component.menuCell

This is an internal, abstract class that is used to provide some commonality between menu and menuItem.

Property Inventory

Method Inventory

Properties

property caption as %ZEN.Datatype.caption;
Value to display for menu item.
Property methods: captionDisplayToLogical(), captionGet(), captionIsValid(), captionLogicalToDisplay(), captionLogicalToOdbc(), captionNormalize(), captionSet()
property disabled as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, this menuItem is disabled.
Property methods: disabledDisplayToLogical(), disabledGet(), disabledIsValid(), disabledLogicalToDisplay(), disabledLogicalToOdbc(), disabledNormalize(), disabledSet()
property help as %ZEN.Datatype.caption;
(Optional) Help message associated with this menu item.
Property methods: helpDisplayToLogical(), helpGet(), helpIsValid(), helpLogicalToDisplay(), helpLogicalToOdbc(), helpNormalize(), helpSet()
property image as %ZEN.Datatype.uri;
Optional uri of image to display for this menuItem.
Property methods: imageDisplayToLogical(), imageGet(), imageIsValid(), imageLogicalToDisplay(), imageLogicalToOdbc(), imageNormalize(), imageSet()
property imageHeight as %ZEN.Datatype.length [ InitialExpression = 16 ];
Height of image in pixels.
Property methods: imageHeightDisplayToLogical(), imageHeightGet(), imageHeightIsValid(), imageHeightLogicalToDisplay(), imageHeightLogicalToOdbc(), imageHeightNormalize(), imageHeightSet()
property imageWidth as %ZEN.Datatype.length [ InitialExpression = 16 ];
Width of image in pixels.
Property methods: imageWidthDisplayToLogical(), imageWidthGet(), imageWidthIsValid(), imageWidthLogicalToDisplay(), imageWidthLogicalToOdbc(), imageWidthNormalize(), imageWidthSet()
URL to go to when menu item is chosen. This can contain a ZENEXPRESSION.
Property methods: linkDisplayToLogical(), linkGet(), linkIsValid(), linkLogicalToDisplay(), linkLogicalToOdbc(), linkNormalize(), linkSet()
property linkResource as %ZEN.Datatype.resource;
(Optional) If specified, user must hold this resource or this item is disabled.
Property methods: linkResourceDisplayToLogical(), linkResourceGet(), linkResourceIsValid(), linkResourceLogicalToDisplay(), linkResourceLogicalToOdbc(), linkResourceNormalize(), linkResourceSet()
property onclick as %ZEN.Datatype.eventHandler;
onclick event handler: This event is fired when the mouse is clicked on the menuItem. Use this instead of link if you want to execute code when a menu is invoked.
If defined, the link is ignored.
Property methods: onclickDisplayToLogical(), onclickGet(), onclickIsValid(), onclickLogicalToDisplay(), onclickLogicalToOdbc(), onclickNormalize(), onclickSet()
property target as %ZEN.Datatype.string;
The HTML target value applied to the link for this menu item.
This controls where the new document will be displayed when the user clicks on a link. Typically this is the name of a frame.
HTML also defines for special values for target:
  • "_blank" - open the link in a new window.
  • "_parent" - open the link in our parent window.
  • "_self" - open the link in current window.
  • "_top" - open the link in topmost window.
Property methods: targetDisplayToLogical(), targetGet(), targetIsValid(), targetLogicalToDisplay(), targetLogicalToOdbc(), targetNormalize(), targetSet()

Methods

method %DrawMenuCell(pShowArrow As %Boolean = 0)
Draw contents of menu cell

Subclasses

FeedbackOpens in a new tab