Tray
The Tray UI element (IWDTray) is a UI element container like the Group UI element container and can be used to group a set of UI elements under one common title. Unlike the Group UI element it provides additional functions. For example, the Tray UI element can be displayed or hidden.
|
Tray with Plain Design
Tray with Fill and Menu Design
Collapsed Tray with Transparent Design
|
|
Runtime Class |
CL_WD_TRAY |
|---|---|
|
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
|
id |
STRING |
(automatic) |
No |
|
Translatable text |
Yes |
||
|
WDY_BOOLEAN |
false |
No |
|
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
|
WDY_MD_UI_ELEMENT_REFERENCE |
yes |
||
|
WDUI_TRAY_DESIGN |
transparent |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
WDY_BOOLEAN |
false |
No |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
STRING |
Yes |
||
|
WDUI_SCROLLING_MODE |
none |
Yes |
|
|
Translatable text |
Yes |
||
|
WDUI_VISIBILITY |
visible |
Yes |
|
|
STRING |
Yes |
|
Name |
Cardinality |
Type |
|---|---|---|
|
0..n |
||
|
1..1 |
||
|
0..1 |
||
|
0..1 |
|
Name |
|---|
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.
|
View Designer Name |
Runtime Name |
Type |
|---|---|---|
|
ACCESSIBILITY_DESCR |
WDY_MD_TRANSLATABLE_TEXT |
|
|
ACTIVATE_ACCESS_KEY |
WDY_BOOLEAN |
|
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
|
contextMenuBehaviour: inherit |
CL_WD_TRAY=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
|
contextMenuBehaviour: provide |
CL_WD_TRAY=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
|
contextMenuBehaviour: suppress |
CL_WD_TRAY=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
DEFAULT_BUTTON_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
DESIGN |
WDUI_TRAY_DESIGN |
|
|
design: fill |
CL_WD_TRAY=>E_DESIGN-FILL |
|
|
design: plain |
CL_WD_TRAY=>E_DESIGN-PLAIN |
|
|
design: transparent |
CL_WD_TRAY=>E_DESIGN-TRANSPARENT |
|
|
ENABLED |
WDY_BOOLEAN |
|
|
EXPANDABLE |
WDY_BOOLEAN |
|
|
EXPANDED |
WDY_BOOLEAN |
|
|
HANDLE_HOTKEYS |
WDY_BOOLEAN |
|
|
HAS_CONTENT_PADDING |
WDY_BOOLEAN |
|
|
HEIGHT |
STRING |
|
|
SCROLLING_MODE |
WDUI_SCROLLING_MODE |
|
|
scrollingMode: auto |
CL_WD_TRAY=>E_SCROLLING_MODE-AUTO |
|
|
scrollingMode: both |
CL_WD_TRAY=>E_SCROLLING_MODE-BOTH |
|
|
scrollingMode: none |
CL_WD_TRAY=>E_SCROLLING_MODE-NONE |
|
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
|
VISIBLE |
WDUI_VISIBILITY |
|
|
visible: none |
CL_WD_TRAY=>E_VISIBLE-NONE |
|
|
visible: visible |
CL_WD_TRAY=>E_VISIBLE-VISIBLE |
|
|
WIDTH |
STRING |
|
|
View Designer Name |
Runtime Name |
|---|---|
|
ON_TOGGLE |
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 Tray.


