Show TOC

MultipleAccordionItemLocate this document in the navigation structure

Use

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

ID

STRING

(automatic)

No

contextMenuBehaviour

WDUI_CONTEXT_MENU_BEHAVIOUR

inherit

No

contextMenuId

WDY_MD_UI_ELEMENT_REFERENCE

No

dataSource

Context Node

Mandatory

dragData

STRING

Yes

enabled

WDY_BOOLEAN

true

Yes

imageSource

STRING

Yes

readOnly

WDY_BOOLEAN

true

Yes

showToggleIcon

WDY_BOOLEAN

true

Yes

textDirection

WDUI_TEXT_DIRECTION

inherit

Yes

title

Translatable text

Yes

tooltip

Translatable text

Yes

visible

WDUI_VISIBILITY

visible

Yes

Name

Cardinality

Type

CONTENT

0..1

UIElement

DROP_TARGET_INFO

0..1

DropTargetInfo

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

contextMenuBehaviour

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

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

dataSource

DATA_SOURCE

OBJECT

dragData

DRAG_DATA

STRING

enabled

ENABLED

WDY_BOOLEAN

imageSource

IMAGE_SOURCE

STRING

readOnly

READ_ONLY

WDY_BOOLEAN

showToggleIcon

SHOW_TOGGLE_ICON

WDY_BOOLEAN

textDirection

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

TITLE

WDY_MD_TRANSLATABLE_TEXT

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

visible

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

CONTENT

0..1

DROP_TARGET_INFO

DROP_TARGET_INFO

0..1

Example

You can find an example of this UI element in the WDR_TEST_ACCORDION_MULTI component.