From c21db5227f817310bdb5c7d10bad4a30f60b3b67 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marko=20Gr=C3=B6nroos?= Date: Tue, 30 Sep 2008 14:33:12 +0000 Subject: [PATCH] JavaDoc fix for #1968 (again). XHTML templates, not XSL. Also a bit more cleanup. Would need more work. svn changeset:5569/svn branch:trunk --- src/com/itmill/toolkit/ui/CustomLayout.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/com/itmill/toolkit/ui/CustomLayout.java b/src/com/itmill/toolkit/ui/CustomLayout.java index 06ef2923ea..82ca404a13 100644 --- a/src/com/itmill/toolkit/ui/CustomLayout.java +++ b/src/com/itmill/toolkit/ui/CustomLayout.java @@ -15,24 +15,25 @@ import com.itmill.toolkit.terminal.PaintTarget; /** *

- * A container component with freely designed layout and style. The container + * A container component with freely designed layout and style. The layout * consists of items with textually represented locations. Each item contains - * one sub-component. The adapter and theme are responsible for rendering the - * layout with given style by placing the items on the screen in defined + * one sub-component, which can be any Toolkit component, such as a layout. + * The adapter and theme are responsible for rendering the + * layout with a given style by placing the items in the defined * locations. *

* *

- * The definition of locations is not fixed - the each style can define its - * locations in a way that is suitable for it. One typical example would be to + * The placement of the locations is not fixed - different themes can define the + * locations in a way that is suitable for them. One typical example would be to * create visual design for a web site as a custom layout: the visual design - * could define locations for "menu", "body" and "title" for example. The layout - * would then be implemented as XLS-template with for given style. + * would define locations for "menu", "body", and "title", for example. The layout + * would then be implemented as an XHTML template for each theme. *

* *

- * The default theme handles the styles that are not defined by just drawing the - * subcomponents as in OrderedLayout. + * The default theme handles the styles that are not defined by drawing the + * subcomponents just as in OrderedLayout. *

* * @author IT Mill Ltd. -- 2.39.5