Entering content frame

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

Definition

The AbstractDropDown class which implements the IWDAbstractDropDown interface, is the abstract base class of dropdown list boxes.

Description of UI Element Properties

·        readOnly
Specifies whether the user can modify the selection in the dropdown list box.

·        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 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

Interface

Type

Initial Value

Bindable

Value Required

enabled

IWDUIElement

boolean

true

bindable

No

readOnly

IWDAbstractDropDown

boolean

false

bindable

No

state

IWDAbstractDropDown

WDState

normal

bindable

No

tooltip

IWDUIElement

String (TranslatableText)

 

bindable

No

visible

IWDUIElement

Visibility

visible

bindable

No

width

IWDAbstractDropDown

String (CSS-Größe)

 

bindable

No

Subordinated Interfaces

IWDAbstractDropDownByIndex, IWDAbstractDropDownByKey, IWDDropDownByIndex; IWDDropDownByKey.

Methods in the Web Dynpro IWDAbstractDropDown API

Method Name

Parameter

Return Value

Description

bindingOfReadOnly

 

String

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

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.

bindReadOnly

(String path)

 

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

bindState

(String path)

 

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

bindWidth

(String path)

 

Binds the value of the width property to the context element specified by the path.

getReadOnly

 

boolean

Returns the value of the readOnly property.

getState

 

WDState

Returns the value of the state property.

getWidth

 

String

Returns the value of the width property.

setReadOnly

(boolean readOnly)

 

Sets the value of the readOnly property.

setState

(WDState state)

 

Sets the value of the state property.

setWidth

(String width)

 

Sets the value of the width property.

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

  

  

 

Leaving content frame