Skip to main content

%ZEN.SVGComponent.tabBar

Class %ZEN.SVGComponent.tabBar Extends svgComponent [ Deprecated, System = 3 ]

SVG tabBar control

Properties

height

Property height As %ZEN.Datatype.length [ InitialExpression = 32 ];

height of the total tab header

maxOneTabWidth

Property maxOneTabWidth As %ZEN.Datatype.integer [ InitialExpression = 200 ];

the maximum width of the tabs (from bottom to bottom) as multiples of the height

selectedIndex

Property selectedIndex As %ZEN.Datatype.integer [ InitialExpression = 0 ];

the index of the selected tab

tabCaptions

Property tabCaptions As %ZEN.Datatype.caption;

The captions for the tabs. The first character is the string separator.

onChange

Property onChange As %ZEN.Datatype.eventHandler;

The method to call after the selected tab is changed

dynamic

Property dynamic As %ZEN.Datatype.boolean;

is this property is true, then users are allowed to add and remove tabs.

onDeleteTab

Property onDeleteTab As %ZEN.Datatype.eventHandler;

The method to call after a tab is deleted

onNewTab

Property onNewTab As %ZEN.Datatype.eventHandler;

The method to call after a new tab is added

XDatas

SVGStyle

XData SVGStyle

Methods

renderContents

ClientMethod renderContents() [ Language = javascript ]

Render the inner SVG contents of this component.

drawTabs

ClientMethod drawTabs() [ Language = javascript ]

drawOneTab

ClientMethod drawOneTab(index, tabWidth, isActive) [ Language = javascript ]

drawPlus

ClientMethod drawPlus(tabWidth) [ Language = javascript ]

buttonMouseOver

ClientMethod buttonMouseOver(index) [ Language = javascript ]

buttonMouseOut

ClientMethod buttonMouseOut(index) [ Language = javascript ]

buttonDeleteClicked

ClientMethod buttonDeleteClicked(index) [ Language = javascript ]

buttonNewClicked

ClientMethod buttonNewClicked(index) [ Language = javascript ]

tabClicked

ClientMethod tabClicked(index) [ Language = javascript ]

setProperty

ClientMethod setProperty(property, value, value2) [ Language = javascript ]

Set the value of a named property.