Start of Content Area

Object documentation MenuRadioButton API Locate the document in its SAP Library structure

Definition

The Web Dynpro class MenuRadioButton, which implements the IWDMenuItem interface, is the abstract base class of radio buttons within a menu.

Description of UI Element Properties

·        enabled
This property specifies whether or not an event can be triggered by a user interaction.

·        keyToSelect
This property specifies the value of the key used for the selection of this radio button.

·        needsMoreInfo
This property adds … to the text of the menu item to indicate to the user that additional user input is required after selecting this menu item.

·        selectedKey
This property specifies the path of the context attribute that stores the currently selected key.

·        text
This property describes the text next to the radio button.

·        textDirection
With this property you can specify the text direction.
This enables texts for a MenuRadioButton to be read in other languages that require a particular text direction. The textDirection property can be filled with the following values and is represented by the listing type WDTextDirection.

inherit

The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element.

ltr

The text runs from left to right.

rtl

The text runs from right to left.

The default value for this property is inherit.

 

Overview of Inherited and Additional Properties

Name

Interface

Type

Initial Value

Bindable

Value Required

enabled

IWDMenuRadioButton

boolean

true

bindable

No

keyToSelect

IWDMenuRadioButton

String

 

bindable

Yes

needsMoreInfo

IWDMenuRadioButton

boolean

false

bindable

No

selectedKey

IWDMenuRadioButton

String

 

bindable_mandatory

Yes

text

IWDMenuRadioButton

String

 

bindable

No

textDirection

IWDMenuRadioButton

WDTextDirection

inherit

bindable

No

Events

The event onSelect determines the action that is to be executed whenever the MenuRadioButton is selected.

Name

Class

Parameter

onSelect

IWDMenuRadioButton

(String key)

 

 

End of Content Area