Entering content frame

Object documentation Web Dynpro HorizontalGutter API – IWDHorizontalGutter Locate the document in its SAP Library structure

Definition

The HorizontalGutter UI element helps you structure the layout and the text parts of Web Dynpro screen, similar to the HTML tag <hr>. You use it to insert additional, vertical spaces between UI elements and to group together elements and texts that belong together. When choosing the height of the HorizontalGutter UI element, you have three options, provided by the class WDHorizontalDividerRuleHeight. These are:

·        small ð 7 Pixel

·        medium ð 17 Pixel

·        large ð 31 Pixel

You can display the HorizontalGutter UI element either with or without a visible line.

Description of the UI Element Properties

·        hasRule
Specifies whether the UI element is displayed with or without a line. By default, it is displayed with a line.

·        height
Specifies the height of the HorizontalGutter UI element.
The
height property can be filled with the following values and is represented by the enumeration type WDHorizontalDividerRuleHeight .

medium

17 Pixel high

large

31 Pixel high

small

7 Pixel high

·        width
Specifies the width which 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

hasRule

IWDHorizontalGutter

boolean

true

bindable

No

height

IWDHorizontalGutter

WDHorizontalDividerRuleHeight

medium

bindable

No

tooltip

IWDUIElement

String (TranslatableText)

 

bindable

No

visible

IWDUIElement

WDVisibility

visible

bindable

No

width

IWDHorizontalGutter

String (CSS size)

100%

bindable

No

Methods in the Web Dynpro IWDHorizontalGutter API

Method Name

Parameter

Return Value

Short Description

bindHasRule

(String path)

 

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

bindHeight

(String path)

 

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

bindingOfHasRule

 

String

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

bindingOfHeight

 

String

Returns the path of the context element to which the height 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.

bindWidth

(String path)

 

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

getHasRule

 

boolean

Returns the value of the hasRule property.

getHeight

 

WDHorizontalDividerRuleHeight

Returns the value of the height property.

getWidth

 

String

Returns the value of the width property.

setHasRule

(boolean value)

 

Sets the value of the hasRule property.

setHeight

(WDHorizontalDividerRuleHeight value)

 

Sets the value of the height property.

setWidth

(String value)

 

Sets the value of the width property.

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

IWDUIElement, IWDViewElement.

Note

For detailed documentation of all inherited methods, see the documentation for the relevant APIs.

  

  

 

Leaving content frame