Entering content frame

Object documentation Web Dynpro Tab API - IWDTab Locate the document in its SAP Library structure

Definition

The Tab UI element is an individual tab page within a tab strip. The tab consists of a header area, a content area, and an optional toolbar.

Description of the View Element Properties

·        enabled
Specifies whether or not the tab can be activated to display its content.

·        hasContentPadding
Controls whether there is a padding around the content of the tab page..

·        visible
Specifies whether or not the tab is displayed.

Properties Overview

Name

Class

Type

Initial Value

Bindable

Value Required

enabled

IWDTab

boolean

true

bindable

No

hasContentPadding

IWDTab

boolean

true

bindable

No

visible

IWDTab

boolean

true

bindable

No

Methods in the Web Dynpro IWDTab API

Method Name

Parameter

Return Value

Short Description

bindEnabled

(String path)

 

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

bindHasContentPadding

(String path)

 

Binds the value of the hasContentPadding property to the content element specified by the path.

bindingOfEnabled

 

String

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

bindingOfHasContentPadding

 

String

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

bindingOfVisible

 

String

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

bindVisible

(String path)

 

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

destroyContent

 

 

Removes and deletes the content for this Tab element.

destroyHeader

 

 

Removes and deletes the header for this Tab element.

destroyToolBar

 

 

Removes and deletes the toolbar for this Tab element.

getContent

 

IWDUIElement

Returns the content for this Tab element.

getEnabled

 

boolean

Returns the value of the enabled property.

getHasContentPadding

 

boolean

Returns the value of the hasContentPadding property.

getHeader

 

IWDCaption

Returns the header for this Tab element.

getTabStrip

 

IWDTabStrip

Returns the TabStrip element in which this Tab element is contained.

getToolBar

 

IWDToolBar

Returns the toolbar for this Tab element.

getVisible

 

boolean

Returns the value of the visible property.

setContent

(IWDUIElement content)

 

Sets the content for this Tab element.

setEnabled

(Boolean enabled)

 

Sets the value of the enabled property.

setHasContentPadding

(boolean hasContentPadding)

 

Sets the value of the hasContentPadding property.

setHeader

(IWDCaption header)

 

Sets the header for this Tab element.

setToolBar

(IWDToolBar toolBar)

 

Sets the toolbar for this Tab element.

setVisible

(boolean visible)

 

Sets the value of the visible property.

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

  

  

 

Leaving content frame