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

%ZEN.Component.contextMenu


class %ZEN.Component.contextMenu extends group

%ZEN.Component.contextMenu

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 7


Summary


Properties
%condition %import %includeFiles %page
%resource align aux cellAlign
cellSize cellStyle cellVAlign children
composite containerStyle disabled dragEnabled
dropEnabled enclosingClass enclosingStyle error
groupClass groupStyle height hidden
hint hintClass hintStyle id
index label labelClass labelDisabledClass
labelPosition labelStyle layout name
onafterdrag onbeforedrag onclick ondrag
ondrop onhide onrefresh onshow
onupdate parent showLabel slice
title tuple valign visible
width window

Methods
%AddChild %AddChildAfter %AddChildBefore %AddToSaveSet
%Attr %BindExport %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DrawComponentHTML %DrawHTML %DrawJSStrings %EnclosingDivId
%Eval %EvalC %Extends %ForceClientRender
%GetChildIndex %GetEventHandlers %GetParameter %GetXMLName
%IsA %IsModified %MakeId %New
%NormalizeObject %ObjectModified %OnAddToPageAfter %OnAddToPageBefore
%OnDrawEnclosingDiv %OnDrawObjectProperties %OnMutateChildren %OnObjectSynch
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %RemoveChild %RemoveChildren %RemoveFromSaveSet
%Self %SerializeObject %SetModified %ValidateObject
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
addChild addChildAfter addChildBefore childrenMutated
dragFinishHandler dragHandler dragNotifyHandler dragStartHandler
dropHandler dropStartHandler exposeComponent findElement
fireOnUpdateEvent getChildIndex getEnclosingDiv getHidden
getHintElement getLabelElement getProperty getSettings
getType invokeSuper isOfType makeId
onCreate onDelete onDisplayHandler onEndModalHandler
onPopupAction onRefreshContents onSerialize onStartModalHandler
ondisabledHandler onloadHandler onunloadHandler onupdateHandler
refreshContents reinitChildren reinstall removeChild
render renderContents renderSVG setHidden
setOverlayMode setProperty setPropertyAll startProgressBar
stopProgressBar uninstall


Parameters


• parameter INCLUDEFILES = "zenCSLM.js,zenMenus.js";
CSV list of additional include files (either .js or .css) that should be included when this component is used on a page.
By default, the file extension (.js or .css) is used to determine whether an item in the list is a script include or a style include. You can override this behavior by adding the terms "script:" or "style:" to the beginning of the file name or names. This prefix is not used as part of the include filename.

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.
• method onRefreshContents() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
• method onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
• method reinitChildren(menuDiv) [ Language = javascript ]
Reinitialize a csMenuItem child of this menu that has been refreshed from the server. This needs to be done here (as opposed to in the csMenuItem's own update hander because update event propagate DOWN the DOM tree and contextMenu needs its children to be refreshed first, before it can update itself.
• method reinstall(pGroup) [ Language = javascript ]
Reconnect a previously uninstalled context menu to a new parent context, enabling its ties to local event handling. The parameter passed must be a decendant of Zen.Component.group to ensure proper handling.
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
• method uninstall() [ Language = javascript ]
Remove this context menu from its parent context, severing its ties to local event handling. Note that this call does not remove the base logical menu structure from the client-side DOM (allowing it to be reinstalled at a later time)