Entering content frame

Object documentation Web Dynpro AbstractDropDown API - IWDAbstractDropDown Locate the document in its SAP Library structure

Definition

The AbstractDropDown UI element is the abstract base class of dropdown list boxes.

Description of UI Element Properties

·        state
Describes the status of the dropdown list box. The data type of this property corresponds to the enumeration type WDState. You can use the following values in the application:

normal

Describes the default state of the UI element.

required

Specifies whether or not the entered value is required.

·        width
Specifies the width of the dropdown list box and can be specified in CSS units like em, ex, pixels, or percentage.

Overview of Inherited and Additional Properties

Name

Class

Type

Initial Value

Bindable

Value Required

enabled

UIElement

Boolean

true

bindable

No

state

AbstractDropDown

State

normal

bindable

No

tooltip

UIElement

TranslatableText

 

bindable

No

visible

UIElement

Visibility

visible

bindable

No

width

AbstractDropDown

String (CSS-Größe)

 

bindable

No

Subclasses

IWDAbstractDropDownByIndex, IWDAbstractDropDownByKey, IWDDropDownByIndex; IWDDropDownByKey.

Methods in the Web Dynpro AbstractDropDown API

Method Name

Parameter

Return Value

Short Description

bindingOfState

 

String

Returns the path of the context element to which the state property is bound. Returns NULL if no binding exists.

bindingOfWidth

 

String

Returns the path of the context element to which the width property is bound. Returns NULL if no binding exists.

bindState

(String path)

 

Binds the state property to the context node specified by a path.

bindWidth

(String path)

 

Binds the width property to the context node specified by a path.

getState

 

WDState

Returns the value of the state property.

getWidth

 

String

Returns the value of the width property.

setState

(WDState value)

 

Sets the value of the state property.

setWidth

(String value)

 

Sets the value of the width property.

Additional methods described in the following APIs are available using inheritance: IWDUIElement, IWDViewElement.

  

  

 

Leaving content frame