Start of Content Area

Object documentation Common UI Element Properties Locate the document in its SAP Library structure

Independent UI Elements

All independent UI elements are derived from the abstract base class IWDUIElement, which provides the following properties and the corresponding methods.

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

This graphic is explained in the accompanying text

The enabled property has no effect on the UI element children you inserted into the UI element container. If, for example, you set the enabled property to false in the group UI element, an input field inserted in it is not automatically deactivated. If the UI element children in this group UI element are also to be deactivated, you must set the relevant property for each UI element separately.

·        tooltip
This property describes a note for the UI element that is displayed when the user places the cursor on the UI element.

·        visible
This property specifies the visibility of the UI element. The default value of this property is set to visible.

blank

The UI element is not visible on the screen but takes up space.

none

The UI element is not visible on the screen and takes up no space.

visible

The UI element is displayed on the screen.

Properties Overview

Name

Interface

Type

Initial Value

Bindable

Value Required

enabled

IWDUIElement

boolean

true

bindable

No

tooltip

IWDUIElement

String (TranslatableText)

 

bindable

No

visible

IWDUIElement

WDVisibility

visible

bindable

No

Associated UI Elements: View Elements

All UI elements that are available within another UI element are derived only from IWDViewElement. This interface is used to uniquely identify an element and provide the appropriate view.

Methods in the Web Dynpro IWDViewElement API

When creating an element, an ID is assigned to the element that identifies the element in its view.

Method Name

Return Value

Parameter

Short Description

getID

String

 

Returns the unique name (ID) for each element.

getView

IWDView

 

Returns its view.

 

 

 

End of Content Area