TreeItemType
A TreeItemType describes a Tree node type that, unlike the TreeNodeType , cannot take any further nodes, they 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_ITEM_TYPE |
|---|---|
|
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
|
ID |
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 |
|
Name |
Cardinality |
Type |
|---|---|---|
|
0..1 |
||
|
0..1 |
||
|
0..1 |
Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.
|
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 |
|
|
textDirectioninherit |
CL_WD_TREE_ITEM_TYPE=>E_TEXT_DIRECTION-INHERIT |
|
|
textDirectionltr |
CL_WD_TREE_ITEM_TYPE=>E_TEXT_DIRECTION-LTR |
|
|
textDirectionrtl |
CL_WD_TREE_ITEM_TYPE=>E_TEXT_DIRECTION-RTL |
|
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
|
View Designer Name |
Runtime Name |
Cardinality |
|---|---|---|
|
DRAG_SOURCE_INFO |
0..1 |
|
|
DROP_TARGET_INFO |
0..1 |
|
|
MENU |
0..1 |