With the PageHeader you can create a heading for a page. Any number of UI elements can be displayed below the heading in the PageHeaderArea. In the example below TextViews are shown.
Example of the Display
|
Runtime Class |
CL_WD_PAGE_HEADER |
Properties in the View Designer
Name |
Type |
Initial Value |
Bindable |
ID |
STRING |
(automatic) |
No |
WDY_BOOLEAN |
true |
Yes |
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |
|
Text |
|
Yes |
|
Text |
|
Yes |
|
WDUI_VISIBILITY |
visible |
Yes |
Aggregations in the View Designer
Name |
Cardinality |
Type |
0..n |
||
0..1 |
Further properties that can be inherited are defined in the associated higher-level class. The associated interface elements are:
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 |
ENABLED |
WDY_BOOLEAN |
|
TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
textDirection: inherit |
CL_WD_PAGE_HEADER=>E_TEXT_DIRECTION-INHERIT |
|
textDirection: ltr |
CL_WD_PAGE_HEADER=>E_TEXT_DIRECTION-LTR |
|
textDirection: rtl |
CL_WD_PAGE_HEADER=>E_TEXT_DIRECTION-RTL |
|
TITLE |
WDY_MD_TRANSLATABLE_TEXT |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_PAGE_HEADER=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_PAGE_HEADER=>E_VISIBLE-VISIBLE |
Dynamic Programming of Aggregations
View Designer Name |
Runtime Name |
Cardinality |
AREAS |
0..n |
|
TITLE_CONTENT |
0..1 |
You can find an example of this UI element in the system in the Web Dynpro application, WDR_TEST_UI_ELEMENTS.