TreeItemType
A TreeItemType describes aTree node type that, unlike theTreeNodeType, cannot take any further nodes; they are the leaves of the tree.
| Runtime Class |
CL_WD_TREE_ITEM_TYPE |
Properties in View Designer
| Name | Type | Initial Value | Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
|
Context node |
Mandatory |
||
|
WDUI_TREE_NODE_DESIGN |
standard |
Yes |
|
|
STRING |
Yes |
||
|
WDY_BOOLEAN |
false |
Yes |
|
|
Translatable text |
Yes |
||
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |
|
|
Translatable text |
Yes |
Aggregations in the View Designer
| Name | Cardinality | Type |
|---|---|---|
|
0..1 |
||
|
0..1 |
||
|
0..1 |
Events in the View Designer
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.
Dynamic Programming of Properties
| View Designer Name | Runtime Name | Type |
|---|---|---|
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
|
contextMenuBehaviour: inherit |
CL_WD_TREE_ITEM_TYPE=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
|
contextMenuBehaviour: provide |
CL_WD_TREE_ITEM_TYPE=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
|
contextMenuBehaviour: suppress |
CL_WD_TREE_ITEM_TYPE=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
DATA_SOURCE |
OBJECT |
|
|
DESIGN |
WDUI_TREE_NODE_DESIGN |
|
|
design: emphasized |
CL_WD_TREE_ITEM_TYPE=>E_DESIGN-EMPHASIZED |
|
|
design: standard |
CL_WD_TREE_ITEM_TYPE=>E_DESIGN-STANDARD |
|
|
ICON_SOURCE |
STRING |
|
|
IGNORE_ACTION |
WDY_BOOLEAN |
|
|
TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
|
TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
|
textDirection inherit |
CL_WD_TREE_ITEM_TYPE=>E_TEXT_DIRECTION-INHERIT |
|
|
textDirection ltr |
CL_WD_TREE_ITEM_TYPE=>E_TEXT_DIRECTION-LTR |
|
|
textDirection rtl |
CL_WD_TREE_ITEM_TYPE=>E_TEXT_DIRECTION-RTL |
|
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
Dynamic Programming of Events
Dynamic Programming of Aggregations
| View Designer Name | Runtime Name | Cardinality |
|---|---|---|
|
DRAG_SOURCE_INFO |
0..1 |
|
|
DROP_TARGET_INFO |
0..1 |
|
|
MENU |
0..1 |