Entering content frame

Background documentation Menu Locate the document in its SAP Library structure

With this UI element you can create a menu for your UI element. This is done with aggregation and is available for the following UI elements:

·        LinkToURL

·        LinkToAction

·        TextView

·        Image

·        ProgressIndicator

·        AbstractTreeNodeType

Example of the Display

LinkToURL with Menu

This graphic is explained in the accompanying text

Note

When the template is designed there is no check for the tool tip property to guarantee Accessibilty.

 

Runtime Class

CL_WD_MENU

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

textDirection

WDUI_TEXT_DIRECTION

inherit

Yes

title

Text

 

Yes

 

Aggregations in the View Designer

Name

Cardinality

Type

Menu Entry

0..n

Menu Item

Note

Further properties that can be inherited are defined in the associated higher-level class.  The associated interface elements are:

·         MenuItem

·         ViewElement

Dynamic Programming

For dynamic programming the same properties, events, and aggregations are provided in the View Designer. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

textDirection

TEXT_DIRECTION

WDUI_TEXT_DIRECTION

 textDirection: inherit

CL_WD_MENU=>E_TEXT_DIRECTION-INHERIT

 textDirection: ltr

CL_WD_MENU=>E_TEXT_DIRECTION-LTR

 textDirection: rtl

CL_WD_MENU=>E_TEXT_DIRECTION-RTL

title

TITLE

WDY_MD_TRANSLATABLE_TEXT

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Menu Entry

ITEMS

0..n

 

 

Leaving content frame