A PatternTabStrip consists of one or more PatternTabs into which you can insert one or more PatternContentAreas. This allows you to define various paddings within one PatternTab. You can assign a PatternExpandFunctionto implement the option of minimizing and closing the PatternTabStrip. You can also assign a menu.
The following UML class graphic illustrates the relationships between the base classes in connection with PatternTabStrip.
● accessibilityDescription
When accessibility is activated, the assigned text is added to the tooltip. This description provides semantic details of the UI element and is only read by the screen reader if the user focuses the complete Ul element.
● design
The design property can take the following values and is represented by enumeration type WDPatternContainerDesign.
Fill |
Filled background color |
Plain |
Light background color (default) |
transparent |
No background color |
● handleHotkeys
Specifies whether this PatternTabStrip acts as a separate container for hotkeys. If this property is set to true then all hot keys defined by UI elements within this PatternTabStrip will be handled by this PatternTabStrip. This defines a new scope for hot keys. More information: Implementing Hot Keys
● hasContentConnector
Determines whether the PatternTabStrip has a content connector. This is a visualization between two PatternContainers to show that their content is connected.
● maxVisibleTabs
Specifies the maximum number of Tabs that can be displayed.
● selectedTab
Contains the ID of the currently selected PatternTab.
Name |
Interface |
Type |
Initial Value |
Bindable |
accessibilityDescription |
IWDAbstractPatternContainer |
String |
|
bindable |
Design |
IWDAbstractPatternContainer |
WDPatternContainerDesign |
plain |
bindable |
enabled |
IWDUIElement |
boolean |
true |
bindable |
handleHotkeys |
IWDPatternTabStrip |
boolean |
false |
not bindable |
hasContentConnector |
IWDAbstractPatternContainer |
boolean |
false |
bindable |
maxVisibleTabs |
IWDPatternTabStrip |
int |
7 |
bindable |
selectedTab |
IWDPatternTabStrip |
String |
|
bindable |
tooltip |
IWDUIElement |
String |
|
bindable |
visible |
IWDUIElement |
WDVisibility |
visible |
bindable |
The event onSelect is triggered if the user selects a PatternTab
Name |
Interface |
Parameter |
onSelect |
PatternTabStrip |
(String tab) |