
Overview of Web Components 45
View Components, Containers, and Renderers
Containers
These layouts are available:
Column
Layout
Displays a set of views organized in columns. Within each column,
the views are positioned vertically in the same way as the views in a
Grid layout, except that each column is laid out independently. The
natural height of the layout is based on the tallest column, and the
natural width is the sum of the column widths. (Each column's
natural width is based on the widest view in that column.)
Fixed
Layout
Uses absolute (x, y) locations and fixed sizes to precisely locate all
of its contained views. All views are exactly placed and sized.
Useful for monitoring views with fixed real estate when you want
to make sure that all the important information is always on the
screen.
Form Provides the frame for views that act as forms. It allows you to
define one or more submit actions, which are rendered as buttons
using the standard look and feel.
Grid Presents the views it contains in a zero-based grid of cells.
Iterator Presents a single view repeatedly for each object in a list. The
Iterator supplies the context required by the individual view page or
pages.
Report Contains a series of views that are rendered, in the order in which
they appear in the layout (except for header and footer Page
Decorations, which must precede the body views), to a
ServerReport document for printing or saving as a PDF.
Row Layout Is similar to a Column Layout, except that it organizes a set of
views in rows. The width of a cell in one row is independent of
those in the row above or the row below.
Splitter Takes two views and displays them within the space of the layout,
separated by a movable bar.
Stack
Layout
Layers a set of views on top of one another. All views are adjusted
to the same size, and are drawn from back to front.
Comentarios a estos manuales