From: Joonas Lehtinen Date: Tue, 30 Oct 2007 14:33:26 +0000 (+0000) Subject: javadoc update X-Git-Tag: 6.7.0.beta1~5750 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2bc448ab393d5f38af8fb1a2563c50a3c97e24c7;p=vaadin-framework.git javadoc update svn changeset:2625/svn branch:trunk --- 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();