%ZEN.Component.tabGroup
deprecated class %ZEN.Component.tabGroup extends %ZEN.Component.group
A specialized group used to enclose a set of overlayed tabs. One tab is visible at a time. This group does not support standard layout as it simply overlays each of its children.Property Inventory
Method Inventory
- %DrawHTML()
- %GetTab()
- %OnMutateChildren()
- %SetCurrTab()
- childrenMutated()
- getCurrTabNo()
- getTabBarElement()
- getTabBodyElement()
- getTabCount()
- getTabIndex()
- ieResizeBody()
- onRefreshContents()
- onhideTabHandler()
- onloadHandler()
- onshowTabHandler()
- setBodySize()
- setProperty()
- showNextTab()
- showPreviousTab()
- showTab()
- tabDisabledHandler()
Properties
property currTab as %ZEN.Datatype.integer (ZENEXPRESSION = 1) [ InitialExpression = 1 ];
Number (1-based) of current tab displayed within tabGroup.
Property methods: currTabDisplayToLogical(), currTabGet(), currTabIsValid(), currTabLogicalToDisplay(), currTabLogicalToOdbc(), currTabNormalize(), currTabSet()
property onhideTab as %ZEN.Datatype.eventHandler;
onhideTab event handler:
This event is fired when a new tab is hidden.
Property methods: onhideTabDisplayToLogical(), onhideTabGet(), onhideTabIsValid(), onhideTabLogicalToDisplay(), onhideTabLogicalToOdbc(), onhideTabNormalize(), onhideTabSet()
property onshowTab as %ZEN.Datatype.eventHandler;
onshowTab event handler:
This event is fired when a new tab is made visible.
Property methods: onshowTabDisplayToLogical(), onshowTabGet(), onshowTabIsValid(), onshowTabLogicalToDisplay(), onshowTabLogicalToOdbc(), onshowTabNormalize(), onshowTabSet()
property remember as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, remember most recent tab in a session cookie.
Property methods: rememberDisplayToLogical(), rememberGet(), rememberIsValid(), rememberLogicalToDisplay(), rememberLogicalToOdbc(), rememberLogicalToXSD(), rememberNormalize(), rememberSet(), rememberXSDToLogical()
property showBody as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
If true (the default), render the div containing the tab's bodys. If false, the content
will still be rendered, but not contained in a div.
Property methods: showBodyDisplayToLogical(), showBodyGet(), showBodyIsValid(), showBodyLogicalToDisplay(), showBodyLogicalToOdbc(), showBodyLogicalToXSD(), showBodyNormalize(), showBodySet(), showBodyXSDToLogical()
property showTabBar as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, display a set of tab buttons along the top of this group.
The default is false.
Property methods: showTabBarDisplayToLogical(), showTabBarGet(), showTabBarIsValid(), showTabBarLogicalToDisplay(), showTabBarLogicalToOdbc(), showTabBarLogicalToXSD(), showTabBarNormalize(), showTabBarSet(), showTabBarXSDToLogical()
Methods
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.
Subclasses implement this in order to render the static HTML contents of a component.
method %GetTab(pIndex As %Integer)
Server-only method: Find the specified tab by index number (1-based).
Notification that children have been added or removed from this group.
method %SetCurrTab(pTab As %ZEN.Component.tab)
Server-side method to set current tab of this tabGroup
to pTab.
clientmethod childrenMutated() [ Language = javascript ]
Notification to subclasses that a child has been added or removed
from this group.
clientmethod getCurrTabNo() [ Language = javascript ]
Return index (1-based) of current tab within the tabGroup.
clientmethod getTabBarElement() [ Language = javascript ]
Return the HTML TABLE element for the tab bar.
clientmethod getTabBodyElement() [ Language = javascript ]
Return the HTML DIV element for the tab body.
clientmethod getTabCount() [ Language = javascript ]
Return number of tabs within the tabGroup.
clientmethod getTabIndex(tab) [ Language = javascript ]
Look for the given tab object within this tabGroup's set of
tabs and return its 1-based index number.
Returns -1 if unable to find the tab.
Returns -1 if unable to find the tab.
clientmethod ieResizeBody() [ Language = javascript ]
IE does not properly support the min-height CSS property. This routine forces a
correction to the size of the tabBody should it be rendered too small.
clientmethod onRefreshContents() [ Language = javascript ]
Called after refreshContents.
abstract clientmethod onhideTabHandler(tabno) [ Language = javascript ]
Class-specific notification that a tab has been hidden.
Implemented by subclasses.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
abstract clientmethod onshowTabHandler(tabno) [ Language = javascript ]
Class-specific notification that a new tab has been selected.
Implemented by subclasses.
clientmethod setBodySize(height, width) [ Language = javascript ]
Set the size of the tab body and all tabs.
width and height are in pixels.
You must override the CSS min-height for the tabBody for this to be effective.
You must override the CSS min-height for the tabBody for this to be effective.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
Assume that subclasses that simply wrap HTML controls have named the control 'control' or else have overridden this method.
Assume that subclasses that simply wrap HTML controls have named the control 'control' or else have overridden this method.
clientmethod showNextTab(skipDisabled) [ Language = javascript ]
Display the next tab in the tabGroup.
clientmethod showPreviousTab(skipDisabled) [ Language = javascript ]
Display the previous tab in the tabGroup.
clientmethod showTab(tabno) [ Language = javascript ]
Display the specified tab (given its 1-based tab number)
and hide the current tab.
clientmethod tabDisabledHandler(tab) [ Language = javascript ]
Called by tabs of this group to notify that they have
changed their disabled state.
Inherited Members
Inherited 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
Inherited Methods
- %AddChild()
- %AddChildAfter()
- %AddChildBefore()
- %AddToSaveSet()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawComponentHTML()
- %DrawJSStrings()
- %EnclosingDivId()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetChildIndex()
- %GetEventHandlers()
- %GetParameter()
- %GetXMLName()
- %IsA()
- %IsModified()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnDrawEnclosingDiv()
- %OnDrawObjectProperties()
- %OnObjectSynch()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveChild()
- %RemoveChildren()
- %RemoveFromSaveSet()
- %Self()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- 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()
- onSerialize()
- onStartModalHandler()
- ondisabledHandler()
- onunloadHandler()
- onupdateHandler()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- setHidden()
- setOverlayMode()
- setPropertyAll()
- startProgressBar()
- stopProgressBar()