Entering content frame

Background documentation TabStrip Locate the document in its SAP Library structure

The TabStrip UI element allows the display of a tab. The user can toggle between several tab pages by selecting a specific Tab. The same window is shared by all tab pages and used for displaying the content. The user can display the content of a tab by selecting a tab title.

Example of the Display

This graphic is explained in the accompanying text

Note

If the tooltip property has not been set, the property accessibilityDescription is checked during the design time to ensure Accessibility.

 

Runtime Class

CL_WD_TABSTRIP

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

accessibilityDescription

Text

 

Yes

enabled

WDY_BOOLEAN

true

Yes

height

STRING

 

Yes

selectedTab

STRING

 

Yes

selectionChangeBehaviour

WDUI_TABSTRIP_SEL_CHNG_BEHVR

auto

No

tabAlignment

WDUI_TAB_ALIGNMENT

fast

No

tooltip

Text

 

Yes

visible

WDUI_VISIBILITY

visible

Yes

width

STRING

 

Yes

 

Aggregations in the View Designer

Name

Cardinality

Type

Tab

0..n

Tab

 

Events in the View Designer

Name

onSelect

Note

Further properties that can be inherited are defined in the associated higher-level class.  The associated interface elements are:

      UIElement

      ViewElement

Dynamic Programming

For dynamic programming the same properties, events, and aggregations are provided in the View Designer. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

accessibilityDescription

ACCESSIBILITY_DESCR

WDY_MD_TRANSLATABLE_TEXT

enabled

ENABLED

WDY_BOOLEAN

height

HEIGHT

STRING

selectedTab

SELECTED_TAB

STRING

selectionChangeBehaviour

SELECTION_CHANGE_BEHAVIOUR

WDUI_TABSTRIP_SEL_CHNG_BEHVR

 selectionChangeBehaviour: auto

CL_WD_TABSTRIP=>E_SELECTION_CHANGE_BEHAVIOUR-AUTO

 selectionChangeBehaviour: manual

CL_WD_TABSTRIP=>E_SELECTION_CHANGE_BEHAVIOUR-MANUAL

tabAlignment

TAB_ALIGNMENT

WDUI_TAB_ALIGNMENT

 tabAlignment: exact

CL_WD_TABSTRIP=>E_TAB_ALIGNMENT-EXACT

 tabAlignment: fast

CL_WD_TABSTRIP=>E_TAB_ALIGNMENT-FAST

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

visible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_TABSTRIP=>E_VISIBLE-NONE

 visible: visible

CL_WD_TABSTRIP=>E_VISIBLE-VISIBLE

width

WIDTH

STRING

 

Dynamic Programming of Events

View Designer Name

Runtime Name

onSelect

ON_SELECT

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Tab

TABS

0..n

Example

You can find examples of this interface element in the system in the Web Dynpro application WDR_TEST_UI_ELEMENTS, and in the component WDR_TEST_EVENTS in the view TabStrip.

 

Leaving content frame