
A MultipleAccordionItem is bound to a context node and enables the application developer to dynamically adapt the AccordionItem. Depending on how many elements are assigned to the context node, the number of displayed AccordionItems can vary.
Implementation Details
|
Runtime Class |
CL_WD_MLT_ACCORDION_ITEM |
|
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
|
Context Node |
Mandatory |
||
|
STRING |
Yes |
||
|
WDY_BOOLEAN |
true |
Yes |
|
|
STRING |
Yes |
||
|
WDY_BOOLEAN |
true |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |
|
|
Translatable text |
Yes |
||
|
Translatable text |
Yes |
||
|
WDUI_VISIBILITY |
visible |
Yes |
|
Name |
Cardinality |
Type |
|---|---|---|
|
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 are available as in the View Designer. But note that the spelling format and use of upper/lower case is different.
|
View Designer Name |
Runtime Name |
Type |
|---|---|---|
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
|
contextMenuBehaviour: inherit |
CL_WD_MLT_ACCORDION_ITEM=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
|
contextMenuBehaviour: provide |
CL_WD_MLT_ACCORDION_ITEM=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
|
contextMenuBehaviour: suppress |
CL_WD_MLT_ACCORDION_ITEM=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
DATA_SOURCE |
OBJECT |
|
|
DRAG_DATA |
STRING |
|
|
ENABLED |
WDY_BOOLEAN |
|
|
IMAGE_SOURCE |
STRING |
|
|
READ_ONLY |
WDY_BOOLEAN |
|
|
SHOW_TOGGLE_ICON |
WDY_BOOLEAN |
|
|
TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
|
textDirection: inherit |
CL_WD_MLT_ACCORDION_ITEM=>E_TEXT_DIRECTION-INHERIT |
|
|
textDirection: ltr |
CL_WD_MLT_ACCORDION_ITEM=>E_TEXT_DIRECTION-LTR |
|
|
textDirection: rtl |
CL_WD_MLT_ACCORDION_ITEM=>E_TEXT_DIRECTION-RTL |
|
|
TITLE |
WDY_MD_TRANSLATABLE_TEXT |
|
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
|
VISIBLE |
WDUI_VISIBILITY |
|
|
visible: none |
CL_WD_MLT_ACCORDION_ITEM=>E_VISIBLE-NONE |
|
|
visible: visible |
CL_WD_MLT_ACCORDION_ITEM=>E_VISIBLE-VISIBLE |
|
View Designer Name |
Runtime Name |
Cardinality |
|---|---|---|
|
CONTENT |
0..1 |
|
|
DROP_TARGET_INFO |
0..1 |
You can find an example of this UI element in the WDR_TEST_ACCORDION_MULTI component.