X Modelling UI
X Modelling UI
Contents:
z Basic terminology
z Modelling User Interfaces
Component
Interface View
Window
View Set
View Area
ViewContainer
Element
Basic Terms
Window
Represents a Browser Window inside a Web Dynpro Component. Contains a View-Composition.
Component Interface View
Visual representation of a Web Dynpro Component for external embedders on View level. There is a 1:1 relation
between internal Windows and Component Interface Views for external usage.
View Set
Predefined Layout for a set of multiple Views (e.g. T-Layouts, Grid-Layout). Contains View Areas also called cells.
Can be nested.
View Area
Rectangular area inside a View Set. Also called cell. Width and Heigth can be set at designtime.
ViewContainerUI Element
Special UI-element used for embedding Views and inner View Sets. Utilizes additional layouting mechanisms inside
a View layout (Matrix-, Grid-, Row-Layout).
Basic Terminology: Topic Summary
ViewCotainer-
UIElement
Inner View Set
EmptyView
© SAP AG 2004, Modeling UI / 8
Empty View
T-Layout
A View Web Dynpro View
View Set
A view set provides a visual frame with predefined subsections into which you can embed your views at
design time.
Using view sets is particularly advantageous when you design, implement, or display the user interface of
a Web Dynpro application:
y Structured option to display more than one view in a screen
y Efficient support when designing user interfaces
y Possibility of using the predefined areas to make changes to the layout at a later stage
y Reuse of views within a Web Dynpro window
At runtime, only one view can be displayed within a view area. The default view, which is initially displayed,
is the Welcome view in the view area top and the default view for the remaining two view areas is the
empty view
View Assemblies
View Assemblies
The assignment of views and empty views to the three view areas top, left, and right specifies all possible
view assemblies – that is, the possible combinations of views that can be displayed in the window at the
same time. In this example, the following view assembly is the default view assembly:
View area top: Welcome, View area left: Empty view, View area right: Empty view
By specifying the possible views in a view area, you determine in this example that there is a maximum of
six different view assemblies at runtime
Example: View Assemblies and Navigation
Question View
QuestionMark
Empty View View
Empty View
View Area Left View Area Right View Area Left View Area Right
View Area
Welcome View
Top
QuestionMark
Empty View View
Empty View
View Composition
The view composition comprises all view assemblies that can be accessed by navigation. The change from
one view assembly to another is established by specifying one or more navigation links.
The Welcome view is associated with the Question view and QuestionMark view. The Question view is
associated with the Answer view and QuestionMark view, whereas the Answer view is associated with the
Welcome view and the two empty views.
This view composition enables you to access three of the six possible view assemblies using navigation
links:
View Area Top: Welcome Welcome Welcome
View Area Left: Empty View Question Question
View ControlPanel
Component
Interface View Form
View View
InnerCompUsage.
InnerInterfaceView
Component usage
Component
Interface
Controller
Component
Web Dynpro Interface
Controller
Component A
Web Dynpro
Component B
Child component
Embedding Components
Components can be embedded by declaring a Component Usage. A component can be used in several
instances by its embedder.
Component Interface Controller:
Controller interaction (eventing, navigation, context mapping, method calls) is done via a Component
Interface Controller.
Modelling User Interfaces: Topic Summary