Entering content frame

Object documentation Web Dynpro ScrollContainer API - IWDScrollContainer Locate the document in its SAP Library structure

Definition

The ScrollContainer UI element enables you to use a vertical and horizontal scroll bar for the visible UI elements Group and Tray.

Description of the UI Element Properties

·        scrollingMode
Specifies how the scroll bar appears within the UI element container.
The
scrollingMode property can take the following values represented by the enumeration type WDScrollingMode.

auto

The scroll bar within the container is activated automatically.

both

A vertical and horizontal scroll bar are activated.

none

Scrolling within the text context is not possible.

Note

The properties enabled and tooltip are ignored and do not affect the browser.

Caution

The properties height and width must be specified for the ScrollContainer UI element – that is, you must assign values to these properties for the scrolling modes both and auto. If you do not want to have scroll bars for the UI element and assign the value none to the scrollingMode property, you should use another container UI element – for example, the TransparentContainer UI element.

Overview of Inherited and Additional Properties

Name

Interface

Type

Initial Value

Bindable

Value Required

enabled

IWDUIElement

boolean

true

bindable

No

height

IWDUIElementContainer

String (CSS size)

 

bindable

No

scrollingMode

IWDScrollContainer

WDScrollingMode

none

bindable

No

tooltip

IWDUIElement

String (TranslatableText)

 

bindable

No

visible

IWDUIElement

WDVisibility

visible

bindable

No

width

IWDUIElementContainer

String (CSS size)

 

bindable

No

Subordinate Interfaces

IWDGroup, IWDTray.

Methods in the Web Dynpro IWDScrollContainer API

Method Name

Parameter

Return Value

Short Description

bindingOfScrollingMode

 

String

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

bindScrollingMode

(String path)

 

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

getScrollingMode

 

WDScrollingMode

Returns the value of the scrollingMode property.

setScrollingMode

(WDScrollingMode value)

 

Sets the value of the scrollingMode property.

Additional methods described in the following APIs are available using inheritance:

IWDUIElementContainer, IWDUIElement, IWDViewElement.

  

  

 

Leaving content frame