
A Panel is a container-type UI element that is similar to a Tray. You can use a Panel also as a ROOTUIELEMENTCONTAINER.
|
Unlike a Tray a Panel has a toggle button, which is displayed in the form of a small triangle in the top left corner. (A Tray has a square button that is displayed in the top right corner).
Different to a Tray the height property specifies the full height of Panels, including header and ToolBar. In a Tray the height specifies only the height of the content area, so without the header and ToolBar.
To avoid confusion with Trays, you should not use Trays and Panels together on the same screen.
Implementation Details
Runtime Class |
CL_WD_PANEL |
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
STRING |
(automatic) |
No |
|
Translatable text |
Yes |
||
WDUI_ARIA_LANDMARK |
None |
Yes |
|
WDUI_PANEL_CONTENT_DESIGN |
transparentNoBorder |
Yes |
|
WDUI_CONTENT_PADDING |
standard |
Yes |
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
WDY_MD_UI_ELEMENT_REFERENCE |
Yes |
||
WDY_BOOLEAN |
true |
Yes |
|
WDY_BOOLEAN |
true |
Yes |
|
WDY_BOOLEAN |
true |
Yes |
|
WDY_BOOLEAN |
false |
No |
|
WDUI_PANEL_HEADER_DESIGN |
standard |
Yes |
|
STRING |
Yes |
||
STRING |
Yes |
||
WDY_BOOLEAN |
false |
No |
|
WDUI_SCROLLING_MODE |
none |
Yes |
|
I |
0 |
No |
|
I |
0 |
No |
|
| styleClassName | STRING | Yes | |
Translatable text |
Yes |
||
WDY_BOOLEAN |
false |
Yes |
|
Translatable text |
Yes |
||
WDUI_VISIBILITY |
visible |
Yes |
|
STRING |
Yes |
Name |
Cardinality |
Type |
|---|---|---|
0..n |
||
0..1 |
||
0..1 |
||
0..n |
||
0..1 |
||
0..1 |
Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:
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 |
|
ARIA_LANDMARK |
WDUI_ARIA_LANDMARK |
|
ariaLandmark: Application |
CL_WD_PANEL=>E_ARIA_LANDMARK-APPLICATION |
|
ariaLandmark: Article |
CL_WD_PANEL=>E_ARIA_LANDMARK-ARTICLE |
|
ariaLandmark: Banner |
CL_WD_PANEL=>E_ARIA_LANDMARK-BANNER |
|
ariaLandmark: Complementary |
CL_WD_PANEL=>E_ARIA_LANDMARK-COMPLEMENTARY |
|
ariaLandmark: Contentinfo |
CL_WD_PANEL=>E_ARIA_LANDMARK-CONTENTINFO |
|
ariaLandmark: Form |
CL_WD_PANEL=>E_ARIA_LANDMARK-FORM |
|
ariaLandmark: Main |
CL_WD_PANEL=>E_ARIA_LANDMARK-MAIN |
|
ariaLandmark: Navigation |
CL_WD_PANEL=>E_ARIA_LANDMARK-NAVIGATION |
|
ariaLandmark: None |
CL_WD_PANEL=>E_ARIA_LANDMARK-NONE |
|
ariaLandmark: Search |
CL_WD_PANEL=>E_ARIA_LANDMARK-SEARCH |
|
CONTENT_DESIGN |
WDUI_PANEL_CONTENT_DESIGN |
|
contentDesign: fillBorder |
CL_WD_PANEL=>E_CONTENT_DESIGN-FILL |
|
contentDesign: fillNoBorder |
CL_WD_PANEL=>E_CONTENT_DESIGN-FILL_NO_BORDER |
|
contentDesign: plainBorder |
CL_WD_PANEL=>E_CONTENT_DESIGN-PLAIN |
|
contentDesign: plainNoBorder |
CL_WD_PANEL=>E_CONTENT_DESIGN-PLAIN_NO_BORDER |
|
contentDesign: transparentNoBorder |
CL_WD_PANEL=>E_CONTENT_DESIGN-TRANSPARENT |
|
contentDesign: transparentBorder |
CL_WD_PANEL=>E_CONTENT_DESIGN-TRANSPARENT_BORDER |
|
CONTENT_PADDING |
WDUI_CONTENT_PADDING |
|
contentPadding: none |
CL_WD_PANEL=>E_CONTENT_PADDING-NONE |
|
contentPadding: standard |
CL_WD_PANEL=>E_CONTENT_PADDING-STANDARD |
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
contextMenuBehaviour: inherit |
CL_WD_PANEL=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
contextMenuBehaviour: provide |
CL_WD_PANEL=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
contextMenuBehaviour: suppress |
CL_WD_PANEL=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
DEFAULT_BUTTON_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
ENABLED |
WDY_BOOLEAN |
|
EXPANDABLE |
WDY_BOOLEAN |
|
EXPANDED |
WDY_BOOLEAN |
|
HANDLE_HOTKEYS |
WDY_BOOLEAN |
|
HEADER_DESIGN |
WDUI_PANEL_HEADER_DESIGN |
|
headerDesign: standard |
CL_WD_PANEL=>E_HEADER_DESIGN-STANDARD |
|
headerDesign: underline |
CL_WD_PANEL=>E_HEADER_DESIGN-UNDERLINE |
|
HEIGHT |
STRING |
|
IMAGE_SOURCE |
STRING |
|
IS_DRAG_HANDLE |
WDY_BOOLEAN |
|
SCROLLING_MODE |
WDUI_SCROLLING_MODE |
|
scrollingMode: auto |
CL_WD_PANEL=>E_SCROLLING_MODE-AUTO |
|
scrollingMode: both |
CL_WD_PANEL=>E_SCROLLING_MODE-BOTH |
|
scrollingMode: none |
CL_WD_PANEL=>E_SCROLLING_MODE-NONE |
|
SCROLL_LEFT |
I |
|
SCROLL_TOP |
I |
|
| styleClassName | STYLE_CLASS_NAME | STRING |
TITLE |
WDY_MD_TRANSLATABLE_TEXT |
|
TITLE_EDITABLE |
WDY_BOOLEAN |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_PANEL=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_PANEL=>E_VISIBLE-VISIBLE |
|
WIDTH |
STRING |
View Designer Name |
Runtime Name |
Cardinality |
|---|---|---|
CHILDREN |
0..n |
|
DRAG_SOURCE_INFO |
0..1 |
|
DROP_TARGET_INFO |
0..1 |
|
HEADER_FUNCTIONS |
0..n |
|
HEADER_TOOLBAR |
0..1 |
|
TOOLBAR |
0..1 |
You can find a test example in the system in the WDR_TEST_PANEL component.