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

%ZEN.Component.lookoutMenu

class %ZEN.Component.lookoutMenu extends %ZEN.Component.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.

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

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

Properties (Including Private)

property expandable as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Indicates whether this menu supports the ability to expand and contract.
Property methods: expandableDisplayToLogical(), expandableGet(), expandableIsValid(), expandableLogicalToDisplay(), expandableLogicalToOdbc(), expandableLogicalToXSD(), expandableNormalize(), expandableSet(), expandableXSDToLogical()
property expanded as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
Indicates whether this menu is expanded (children visible) or contracted (children not visible).
Property methods: expandedDisplayToLogical(), expandedGet(), expandedIsValid(), expandedLogicalToDisplay(), expandedLogicalToOdbc(), expandedLogicalToXSD(), expandedNormalize(), expandedSet(), expandedXSDToLogical()
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 methods: oncontractDisplayToLogical(), oncontractGet(), oncontractIsValid(), oncontractLogicalToDisplay(), oncontractLogicalToOdbc(), oncontractNormalize(), oncontractSet()
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.
Property methods: onexpandDisplayToLogical(), onexpandGet(), onexpandIsValid(), onexpandLogicalToDisplay(), onexpandLogicalToOdbc(), onexpandNormalize(), onexpandSet()

Methods (Including Private)

method %DrawHTML()
Inherited description: 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.
clientmethod adjustTabs() [ Language = javascript ]
Adjust the position of the tabs.
clientmethod 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.
clientmethod getExpanded() [ Language = javascript ]
Returns the current expanded state of this menu.
clientmethod gripClickHandler() [ Language = javascript ]
onclick handler for expander grip.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
clientmethod onshowTabHandler(tabno) [ Language = javascript ]
Class-specific notification that a new tab has been selected.
clientmethod reallyAdjustTabs() [ Language = javascript ]
Adjust the position of the visible tabs.
clientmethod setExpanded(flag) [ Language = javascript ]
Set the expanded state of this menu.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
clientmethod 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.
clientmethod tabDisabledHandler(tab) [ Language = javascript ]
Called by tabs of this group to notify that they have become disabled.

Inherited Members

Inherited Properties (Including Private)