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

%ZEN.Component.tab


class %ZEN.Component.tab extends group

A specialized group that defines a tab within a %ZEN.Component.tabGroup.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3 3


Summary


Properties
%condition %import %includeFiles %page
%resource align aux caption
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
link name onafterdrag onbeforedrag
onclick ondrag ondrop onhide
onrefresh onshow onupdate parent
showLabel slice tabResource title
tuple valign visible width
window

Methods
%Activate %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 activate 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 removeChild
render renderContents renderSVG setHidden
setOverlayMode setProperty setPropertyAll startProgressBar
stopProgressBar


Parameters


• parameter DEFAULTLAYOUT = "vertical";
Subclasses can set this to change default layout for a group.

Properties


• property caption as %ZEN.Datatype.caption;
Caption displayed for this tab within the tabGroup tab bar (if displayed).
This is a localized value.
• property link as %ZEN.Datatype.uri(ZENEXPRESSION=1);
(Optional) If defined, then the tab displayed within the tabGroup bar will become a link referring to this value. No link is displayed for the current tab.
• property tabResource as %ZEN.Datatype.resource;
(Optional) If specified, user must hold this resource or this item is disabled. Note this merely disables this option; to prevent this component from being served to the client, used the %resource property.

Methods


• method %Activate()
Server-side method: Make this tab the current tab within its parent tabGroup.
• method activate() [ Language = javascript ]
Make this tab the current tab within its parent tabGroup.
• method ondisabledHandler() [ Language = javascript ]
Client-side method that is called when a group's disabled state changes. This gives subclasses a chance to update their style when they are enabled/disabled.