Entering content frame

Object documentation Web Dynpro AbstractMasterTableColumn API – IWDAbstractMasterTable Locate the document in its SAP Library structure

Definition

The AbstractMasterTableColumn class is the abstract base class of specific table columns.

Description of the UI Element Properties

·        design
Specifies the design of the cell background. The default value of this property is transparent. You can use the background colors fill1, fill2, and fill3 as separators between the individual semantically different cell contents. The cellBackgroundDesignproperty can be filled with the following values and is represented by the enumeration type WDCellBackgroundDesign.

Value

Short Description

Border

The color of the cell borders. This value is used for nested grid layouts to create grid net lines.

fill1

The color corresponds to the value primarycolor of the design property of the Group UI element. *)

fill2

The color corresponds to the value secondarycolor of the design property of the Group UI element. *)

fill3

The color corresponds to the color value of the third level of a Tree UI element. *)

header

The color is identical with the color of the header area of a Tree UI element or a table.

Plain

White background.

Transparent

The background is transparent. The individual cells are displayed without grid net lines.

*) The colors to be displayed depend on the design topic and the documentation refers to the SAP Standard Design 2002.

·        resizable
Specifies whether the width of the table column can be modified by the user.

·        visible
Specifies whether or not the column is displayed.
The
visible property can be filled with the following values and is represented by the data type WDVisibility.

blank

The table column is not visible on the screen. This value has the same visibility effect for the table column on the screen as the value none.

none

The table column is not visible on the screen.

visible

The table column is displayed on the screen.

·        width
Specifies the width of the table column in a table.

Overview of Inherited and Additional Properties

Name

Interface

Type

Initial Value

Bindable

Value Required

design

IWDAbstractMasterTableColumn

WDCellBackgroundDesign

transparent

bindable

No

resizable

IWDAbstractMasterTableColumn

boolean

true

bindable

No

visible

IWDAbstractMasterTableColumn

WDVisibility

visible

bindable

No

width

IWDAbstractMasterTableColumn

String

 

bindable

No

 

Methods in the Web Dynpro IWDAbstractMasterTableColumns API

Method Name

Parameter

Return Value

Description

bindDesign

(String path)

 

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

bindingOfDesign

 

String

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

bindingOfResizable

 

String

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

bindingOfWidth

 

String

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

bindResizable

(String path)

 

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

bindVisible

(String path)

 

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

bindWidth

(String path)

 

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

destroyHeader

 

 

Destroys and deletes the header of this AbstractMasterTableColumn element.

destroyTableCellEditor

 

 

Destroys and deletes the TableCellEditor of this AbstractMasterTableColumn element.

getDesign

 

WDCellBackgroundDesign

Returns the value of the design property.

getHeader

 

IWDCaption

Returns the header for this AbstractMasterTableColumn element.

getResizable

 

boolean

Returns the value of the resizable property.

getTable

 

IWDTable

Returns the Table element in which this AbstractMasterTableColumn element is contained.

getTableCellEditor

 

IWDTableCellEditor

Returns the TableCellEditor for this AbstractMasterTableColumn element.

getVisible

 

WDVisibility

Returns the value of the visible property.

getWidth

 

String

Returns the value of the width property.

setDesign

(WDCellBackgroundDesign design)

 

Sets the value of the design property.

setHeader

(IWDCaption header)

 

Sets the header for this AbstractMasterTableColumn element.

setResizable

(boolean resizable)

 

Sets the value of the resizable property.

setTableCellEditor

(IWDTableCellEditor tableCellEditor)

 

Sets the TableCellEditor for this AbstractMasterTableColumn element.

setVisible

(WDVisibility visible)

 

Sets the value of the visible property.

setWidth

(String width)

 

Sets the value of the width property.

.

Additional methods are available using inheritance: IWDViewElement.

  

  

 

Leaving content frame