Home > Class Reference > ENSLIB namespace > %ZEN.Component.menuItem
Private  Storage   

%ZEN.Component.menuItem


class %ZEN.Component.menuItem extends
component, menuCell

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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 6


Summary


Properties
%condition %import %includeFiles %page
%resource align aux caption
composite containerStyle disabled dragEnabled
dropEnabled enclosingClass enclosingStyle error
height help hidden hint
hintClass hintStyle id image
imageHeight imageWidth index label
labelClass labelDisabledClass labelStyle link
linkResource name onafterdrag onbeforedrag
onclick ondrag ondrop onhide
onrefresh onshow onupdate parent
showLabel slice target title
tuple valign visible width
window

Methods
%AddToSaveSet %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawComponentHTML %DrawHTML %DrawJSStrings
%DrawMenuCell %EnclosingDivId %Eval %EvalC
%Extends %ForceClientRender %GetEventHandlers %GetParameter
%GetXMLName %IsA %IsModified %MakeId
%New %NormalizeObject %ObjectModified %OnAddToPageAfter
%OnAddToPageBefore %OnDrawEnclosingDiv %OnDrawObjectProperties %OnObjectSynch
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %RemoveFromSaveSet %Self %SerializeObject
%SetModified %ValidateObject XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType doNothing dragFinishHandler
dragHandler dragNotifyHandler dragStartHandler dropHandler
dropStartHandler exposeComponent findElement fireOnUpdateEvent
getDisabled getEnclosingDiv getHidden getHintElement
getLabelElement getProperty getSettings getType
invokeSuper isOfType makeId onActionHandler
onCreate onDelete onDisplayHandler onEndModalHandler
onPopupAction onRefreshContents onSerialize onShowHelpHandler
onStartModalHandler onloadHandler onunloadHandler onupdateHandler
refreshContents render renderContents renderSVG
setDisabled setHidden setOverlayMode setProperty
startProgressBar stopProgressBar


Parameters


• parameter DOMAIN = "%ZEN";

Methods


• method %DrawHTML()
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 method doNothing() [ Language = javascript ]
No-op used for disabled links.
• final method getDisabled() as %Boolean [ Language = javascript ]
Client-side method to get the disabled state of this menuItem.
• method onActionHandler() [ Language = javascript ]
This callback is invoked just before this menuItem fires its action.
• method onShowHelpHandler(mode) [ Language = javascript ]
This callback is invoked when the mouse moves over (true) or out of (false) this menu item.
• final method setDisabled(flag) [ Language = javascript ]
Client-side method to set disabled state of this menuItem.