Changeset 5569
- Timestamp:
- 09/30/08 14:33:12 (3 months ago)
- Files:
-
- 1 modified
-
trunk/src/com/itmill/toolkit/ui/CustomLayout.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/itmill/toolkit/ui/CustomLayout.java
r5568 r5569 16 16 /** 17 17 * <p> 18 * A container component with freely designed layout and style. The container18 * A container component with freely designed layout and style. The layout 19 19 * consists of items with textually represented locations. Each item contains 20 * one sub-component. The adapter and theme are responsible for rendering the 21 * layout with given style by placing the items on the screen in defined 20 * one sub-component, which can be any Toolkit component, such as a layout. 21 * The adapter and theme are responsible for rendering the 22 * layout with a given style by placing the items in the defined 22 23 * locations. 23 24 * </p> 24 25 * 25 26 * <p> 26 * The definition of locations is not fixed - the each style can define its27 * locations in a way that is suitable for it. One typical example would be to27 * The placement of the locations is not fixed - different themes can define the 28 * locations in a way that is suitable for them. One typical example would be to 28 29 * create visual design for a web site as a custom layout: the visual design 29 * could define locations for "menu", "body" and "title"for example. The layout30 * would then be implemented as XLS-template with for given style.30 * would define locations for "menu", "body", and "title", for example. The layout 31 * would then be implemented as an XHTML template for each theme. 31 32 * </p> 32 33 * 33 34 * <p> 34 * The default theme handles the styles that are not defined by justdrawing the35 * subcomponents as in OrderedLayout.35 * The default theme handles the styles that are not defined by drawing the 36 * subcomponents just as in OrderedLayout. 36 37 * </p> 37 38 *
