IRISLIB database
menuCell Class Reference

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

Inheritance diagram for menuCell:

Public Attributes

 caption
 Value to display for menu item. More...
 
 disabled
 If true, this menuItem is disabled. More...
 
 help
 (Optional) Help message associated with this menu item. More...
 
 image
 Optional uri of image to display for this menuItem. More...
 
 imageHeight
 Height of image in pixels. More...
 
 imageWidth
 Width of image in pixels. More...
 
 link
 URL to go to when menu item is chosen. More...
 
 linkResource
 (Optional) If specified, user must hold this resource or this item is disabled. More...
 
 onclick
 onclick event handler: More...
 
 target
 The HTML target value applied to the link for this menu item. More...
 

Private Member Functions

 DrawMenuCell (_.Library.Boolean pShowArrow)
 Draw contents of menu cell.
 

Detailed Description

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

Member Data Documentation

◆ caption

caption

Value to display for menu item.

 

◆ disabled

disabled

If true, this menuItem is disabled.

 

◆ help

help

(Optional) Help message associated with this menu item.

 

◆ image

Optional uri of image to display for this menuItem.

 

◆ imageHeight

imageHeight

Height of image in pixels.

 

◆ imageWidth

imageWidth

Width of image in pixels.

 

◆ link

URL to go to when menu item is chosen.

This can contain a ZENEXPRESSION.  

◆ linkResource

linkResource

(Optional) If specified, user must hold this resource or this item is disabled.

 

◆ onclick

onclick

onclick event handler:

This event is fired when the mouse is clicked on the menuItem. Use this instead of <property>link</property> if you want to execute code when a menu is invoked.
If defined, the <property>link</property> is ignored.  

◆ target

target

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.