Start of Content Area

Background documentation Image Locate the document in its SAP Library structure

The UI element Image enables you to integrate graphics into the Web application in a format that is processed by the Web Server – for example, GIF, JPG, and PNG format. Height and width of the graphic can be specified using the properties height and width. The graphic is displayed without borders.

Note

To enable the development of Structure linkaccessible applications, the tooltip property is checked during the syntax check if the properties label and isDecorative are not set..

 

Runtime Class

CL_WD_IMAGE

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

Structure linkadjustImageSize

WDY_BOOLEAN

false

Yes

Structure linkborder

I

0

Yes

Structure linkenabled

WDY_BOOLEAN

true

Yes

Structure linkheight

STRING

 

Yes

Structure linkisDecorative

WDY_BOOLEAN

false

Yes

Structure linksource

STRING

 

Yes

Structure linktooltip

Text

 

Yes

Structure linkvisible

WDUI_VISIBILITY

visible

Yes

Structure linkwidth

STRING

 

Yes

 

Aggregations in the View Designer

Name

Cardinality

Type

Structure linkMENU

0..1

Structure linkMenu

Note

Other properties that can be inherited are defined in the associated higher-level class.  The associated interface elements are:

      Structure linkUIElement

      Structure linkViewElement

Dynamic Programming

For dynamic programming the same properties, events, and aggregations are provided in the View Designer. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

Structure linkadjustImageSize

ADJUST_IMAGE_SIZE

WDY_BOOLEAN

Structure linkborder

BORDER

I

Structure linkenabled

ENABLED

WDY_BOOLEAN

Structure linkheight

HEIGHT

STRING

Structure linkisDecorative

IS_DECORATIVE

WDY_BOOLEAN

Structure linksource

SOURCE

STRING

Structure linktooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

Structure linkvisible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_IMAGE=>E_VISIBLE-NONE

 visible: visible

CL_WD_IMAGE=>E_VISIBLE-VISIBLE

Structure linkwidth

WIDTH

STRING

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Structure linkMENU

MENU

0..1

Example

You can find examples in the system in the Web Dynpro application, WDR_TEST_UI_ELEMENTS.

 

 

End of Content Area