A TreeNodeType describes a Tree node type that, unlike the TreeItemType , can take further nodes; these are the leaves of the tree.
To enable the development of accessible applications, the tooltip property is checked during the syntax check if the property text is not set.
Runtime Class |
CL_WD_TREE_NODE_TYPE |
Properties in the 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 |
|
WDY_BOOLEAN |
false |
Yes |
|
WDY_BOOLEAN |
true |
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
Name |
---|
Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
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_NODE_TYPE=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
contextMenuBehaviour: provide |
CL_WD_TREE_NODE_TYPE=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
contextMenuBehaviour: suppress |
CL_WD_TREE_NODE_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_NODE_TYPE=>E_DESIGN-EMPHASIZED |
|
design: standard |
CL_WD_TREE_NODE_TYPE=>E_DESIGN-STANDARD |
|
EXPANDED |
WDY_BOOLEAN |
|
HAS_CHILDREN |
WDY_BOOLEAN |
|
ICON_SOURCE |
STRING |
|
IGNORE_ACTION |
WDY_BOOLEAN |
|
TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
textDirection inherit |
CL_WD_TREE_NODE_TYPE=>E_TEXT_DIRECTION-INHERIT |
|
textDirection ltr |
CL_WD_TREE_NODE_TYPE=>E_TEXT_DIRECTION-LTR |
|
textDirection rtl |
CL_WD_TREE_NODE_TYPE=>E_TEXT_DIRECTION-RTL |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
Dynamic Programming of Events
View Designer Name | Runtime Name |
---|---|
ON_ACTION |
|
ON_DROP |
|
ON_LOAD_CHILDREN |
Dynamic Programming of Aggregations
View Designer Name | Runtime Name | Cardinality |
---|---|---|
DRAG_SOURCE_INFO |
0..1 |
|
DROP_TARGET_INFO |
0..1 |
|
MENU |
0..1 |