Show TOC

AbstractTreeNodeType EventsLocate this document in the navigation structure

Use
  • onAction

    Assignment of the action to be executed when the user clicks on an entry in the Tree.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    PATH

    STRING

    Path

  • onDrop

    Assignment of the action to be executed when the user moves an entry or multiple entries in the Tree by means of Drag and Drop .

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    DATA

    STRING

    Textual representation of data transported to the DropTarget. Along with mimeType, this property forms a link to resources.

    DATA is the value of the DragSourceInfo.data property of the UI element dropped on the AbstractTreeNodeType.

    MIME_TYPE

    STRING

    Type of resource.

    Note

    Note that this property is not currently used; it is intended for future developments.

    OFFSET

    I

    Position where the data is dropped:

    • -1 means above the entry

    • +1 means below the entry

    • 0 means directly on the entry. Here the application programmer must specify in the source code exactly what is to happen. You only enter 0 if you want to drop data on to a tree node or an empty Table or an empty ItemListBox.

    PATH

    STRING

    Specifies up or down from what position the insertion is to be. This is the context path belonging to the tree node.

    TAGS

    STRING

    This property corresponds to flavors in the programming environment. The flavor describes the type of drag and drop description. In a drag and drop operation, you can only drop an object onto another if both have at least one common description.