Show TOC

TreeNodeTypeLocate this document in the navigation structure

Use

A TreeNodeType describes a Tree node type that unlike TreeItemType can have further nodes - these are the nodes of the tree.

Note

To enable the development of accessible applications, the tooltip property is checked during the syntax check if the text property has not been set.

Runtime Class

CL_WD_TREE_NODE_TYPE

Properties in View Designer

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

design

WDUI_TREE_NODE_DESIGN

standard

Yes

expanded

WDY_BOOLEAN

false

Yes

hasChildren

WDY_BOOLEAN

true

Yes

iconSource

STRING

Yes

ignoreAction

WDY_BOOLEAN

false

Yes

text

Translatable text

Yes

textDirection

WDUI_TEXT_DIRECTION

inherit

Yes

tooltip

Translatable text

Yes

Aggregations in View Designer

Events in View Designer

Note

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. Note the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

contextMenuBehaviour

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

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

dataSource

DATA_SOURCE

OBJECT

design

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

EXPANDED

WDY_BOOLEAN

hasChildren

HAS_CHILDREN

WDY_BOOLEAN

iconSource

ICON_SOURCE

STRING

ignoreAction

IGNORE_ACTION

WDY_BOOLEAN

text

TEXT

WDY_MD_TRANSLATABLE_TEXT

textDirection

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

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

Dynamic Programming of Events

View Designer Name

Runtime Name

onAction

ON_ACTION

onDrop

ON_DROP

onLoadChildren

ON_LOAD_CHILDREN

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

DRAG_SOURCE_INFO

DRAG_SOURCE_INFO

0..1

DROP_TARGET_INFO

DROP_TARGET_INFO

0..1

MENU

MENU

0..1