From 2bc448ab393d5f38af8fb1a2563c50a3c97e24c7 Mon Sep 17 00:00:00 2001 From: Joonas Lehtinen Date: Tue, 30 Oct 2007 14:33:26 +0000 Subject: [PATCH] javadoc update svn changeset:2625/svn branch:trunk --- src/com/itmill/toolkit/ui/CustomLayout.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/com/itmill/toolkit/ui/CustomLayout.java b/src/com/itmill/toolkit/ui/CustomLayout.java index 6915201266..d4c39fc08d 100644 --- a/src/com/itmill/toolkit/ui/CustomLayout.java +++ b/src/com/itmill/toolkit/ui/CustomLayout.java @@ -227,10 +227,21 @@ public class CustomLayout extends AbstractComponentContainer implements Layout { setTemplateName(name); } + + /** Get the name of the template */ public String getTemplateName() { return templateName; } + /** Set the name of the template used to draw custom layout. + * + * With GWT-adapter, the template with name 'templatename' is + * loaded from ITMILL/themes/themename/layouts/templatename.html. + * If the theme has not been set (with Application.setTheme()), + * themename is 'default'. + * + * @param templateName + */ public void setTemplateName(String templateName) { this.templateName = templateName; requestRepaint(); -- 2.39.5