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


class %ZEN.Component.lookoutMenu extends tabGroup

This is a specialized type of tabGroup that implements a "lookout" menu: a set of buttons stacked atop one another, one for each tab. Clicking on a button makes the contents of the tab visible beneath the button.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 4 12


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

%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 %GetTab
%GetXMLName %IsA %IsModified %MakeId
%New %NormalizeObject %ObjectModified %OnAddToPageAfter
%OnAddToPageBefore %OnDrawEnclosingDiv %OnDrawObjectProperties %OnMutateChildren
%OnObjectSynch %OnZENDeserialize %OriginalNamespace %PackageName
%QuoteValue %QuoteValueL10N %RemoveChild %RemoveChildren
%RemoveFromSaveSet %Self %SerializeObject %SetCurrTab
%SetModified %ValidateObject XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType addChild addChildAfter
addChildBefore adjustTabs adjustTabsOffscreen childrenMutated
dragFinishHandler dragHandler dragNotifyHandler dragStartHandler
dropHandler dropStartHandler exposeComponent findElement
fireOnUpdateEvent getChildIndex getCurrTabNo getEnclosingDiv
getExpanded getHidden getHintElement getLabelElement
getProperty getSettings getTabBarElement getTabBodyElement
getTabCount getTabIndex getType gripClickHandler
ieResizeBody invokeSuper isOfType makeId
onCreate onDelete onDisplayHandler onEndModalHandler
onPopupAction onSerialize onStartModalHandler ondisabledHandler
onhideTabHandler onloadHandler onshowTabHandler onunloadHandler
onupdateHandler reallyAdjustTabs refreshContents removeChild
render renderContents renderSVG setBodySize
setExpanded setHidden setOverlayMode setProperty
setPropertyAll setSize showNextTab showPreviousTab
showTab startProgressBar stopProgressBar tabDisabledHandler


• parameter DEFAULTCELLVALIGN = "top";
Subclasses can set this to change default cellVAlign for a group.
• parameter DEFAULTENCLOSINGCLASS = "lookoutMenu";
Subclasses can set this to change default enclosingClass used for this component.


• property expandable as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Indicates whether this menu supports the ability to expand and contract.
• property expanded as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
Indicates whether this menu is expanded (children visible) or contracted (children not visible).
• property oncontract as %ZEN.Datatype.eventHandler;
oncontract event handler: If defined and this menu is expandable, this event is fired just before the children of this menu are hidden.
• property onexpand as %ZEN.Datatype.eventHandler;
onexpand event handler: If defined and this menu is expandable, this event is fired just before the children of this menu are made visible.


• 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 adjustTabs() [ Language = javascript ]
Adjust the position of the tabs.
• method adjustTabsOffscreen() [ Language = javascript ]
Adjust the position of tabs that are not currently visible. Note that the properties of width and height for the component take precidence over the CSS attributes of the same name should the assigned values differ for any reason.
• method getExpanded() [ Language = javascript ]
Returns the current expanded state of this menu.
• method gripClickHandler() [ Language = javascript ]
onclick handler for expander grip.
• method onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
• method onshowTabHandler(tabno) [ Language = javascript ]
Class-specific notification that a new tab has been selected.
• method reallyAdjustTabs() [ Language = javascript ]
Adjust the position of the visible tabs.
• method setExpanded(flag) [ Language = javascript ]
Set the expanded state of this menu.
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
• method setSize(width, height) [ Language = javascript ]
Set the height and width of this menu. This sets the height and width of the enclosing div that contains the menu. The size values should be integers without "px" appended to them.
• method tabDisabledHandler(tab) [ Language = javascript ]
Called by tabs of this group to notify that they have become disabled.