Start of Content Area

Background documentation LayoutData  Locate the document in its SAP Library structure

The layout data of a UI element is used to specify the positioning in its container. The data must match the current container Layout.

LayoutData represents the abstract base class of all LayoutData UI elements.

LayoutData UI elements include:

      FlowData

      GridData

      MatrixData

      RowData

These UI elements are used for the following purposes:

      Spacing between individual UI elements and between the UI element and the grid cell

      Horizontal and vertical alignment of the UI elements within the grid

      Width and height of the UI element in the cell

Each UI element references a LayoutData object that can be used for the alignment of a UI element. This LayoutData object is an instance of the subclass of the abstract LayoutData base class. Web Dynpro provides for  Layout UI elements, FlowLayout, GridLayout, MatrixLayout, and RowLayout the following LayoutData UI elements:

Assignment Layout - Data

Layout UI Element

LayoutData UI Element

Description

FlowLayout

FlowData

FlowData provides the layout data for a UI element whose container has a FlowLayout.

GridLayout

GridData

GridData provides the layout data for a UI element whose container has a GridLayout.

MartrixLayout

MatrixData

MatrixData provides the layout data for a UI element whose container has a matrix layout.

RowLayout

RowData

RowData provides the layout data for a UI element whose container has a row layout.

 

Runtime Class

CL_WD_LAYOUT_DATA

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

 

Note

Properties and methods that can be inherited are defined in the associated higher-level class. The associated UI element is ViewElement.

 

End of Content Area