Start of Content Area

Object documentation ToolBarLinkToAction API  Locate the document in its SAP Library structure

Description of UI Element Properties

·        collapsible
Specifies whether the ToolBar element can be collapsed. A little icon is displayed in a ToolBar which contains those elements. When the user selects this icon, all toolbar elements with the collapsible property set to true are hidden.

·        imageFirst
Defines the position of the icon in relation to the corresponding text.
If the value of this property is true, the icon is displayed to the left of the text.

·        imageHeight
Specifies the height of the graphic next to the link. You can specify the height in CSS units like em, ex, pixels, or percentage.

·        imageSource
Specifies the Web address (URL) of the icon to be displayed.
You can assign an absolute Web address – http:// … to this property.
If you store the icons in the directory mimes/Components/<component class> of the Web Dynpro project in the Navigator using the menu item Import, you must only enter the icon name - for example, icon.gif. The URL Generation Service automatically determines the URL of the icon (see also URL Generation Service ).
You can also store the icons in the directory mimes/Applications/<application class>. In this case, you must manually create the URL using the URL Generation Service.
If you use the SAP icons and want to refer to them, you use the alias ~sapicons. If you assign the alias ~sapicons/<name>.gif to the imageSourceproperty, you refer to an icon called <name>.gif of the SAP icons. For a description and a listing of all possible SAP icons, see the SAP Design Guild under http://www.sapdesignguild.org/. Select the following path:
Sitemap
Resources  Visual Design & Icons SAP R/3 Icons R/3 Icon Lists. 
The filename of the icon consists of the bitmap name entered in the table and the prefix “s_”. If the bitmap name in the table is F_CUTO, you must enter the value ~sapicons/s_f_cuto.gif to reference to the SAP icon This graphic is explained in the accompanying text.

·        imageWidth
Specifies the width of the graphic next to the link. You can specify the width in CSS units like em, ex, pixel, or percentage.

·        size
Specifies the size of the Link UI element. The size property can be filled with the following values and is represented by the enumeration type WDLinkSize.

small

The UI element is displayed in a small font.

standard

A default size is displayed.

·        text
Describes the label text.

·        textDirection
Specifies the text direction and allows you to use subordinated UI elements for texts in languages which require a specific text direction.
The textDirection property can be filled with the following values and is represented by the enumeration type WDTextDirection.

inherit

The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element.

ltr

The text runs from left to right.

rtl

The text runs from right to left.

The default value for this property is inherit.

·        wrapping
Indicates whether or not the link text is wrapped.
If the initial value is false, the link text is not wrapped.

This graphic is explained in the accompanying text

If the value of this property is false, the link text is not wrapped.

 

Overview of Inherited and Additional Properties

Name

Interface

Type

Initial Value

Bindable

Value Required

collapsible

IWDToolBarLinkToAction

boolean

false

bindable

No

enabled

IWDUIElement

boolean

true

bindable

No

imageAlt

IWDAbstractCaption

String

 

bindable

No

imageFirst

IWDAbstractCaption

boolean

true

bindable

No

imageHeight

IWDLink

String

 

bindable

No

imageSource

IWDAbstractCaption

String

 

bindable

No

imageWidth

IWDLink

String

 

bindable

No

size

IWDLink

WDLinkSize

standard

bindable

No

text

IWDLink

String

 

bindable

No

textDirection

IWDAbstractCaption

WDTextDirection

inherit

bindable

No

tooltip

IWDUIElement

String

 

bindable

No

visible

IWDUIElement

WDVisibility

visible

bindable

No

wrapping

IWDLink

boolean

false

bindable

No

Events

·        onAction
The onAction action of the class IWDToolBarLinkToAction is executed when the link is activated.

 

End of Content Area