]> source.dussan.org Git - vaadin-framework.git/commitdiff
javadoc update
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Tue, 30 Oct 2007 14:33:26 +0000 (14:33 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Tue, 30 Oct 2007 14:33:26 +0000 (14:33 +0000)
svn changeset:2625/svn branch:trunk

src/com/itmill/toolkit/ui/CustomLayout.java

index 691520126676ac01ff54e0afd6a676c6aca1b198..d4c39fc08d469ac5f43b1c13d027e3bb3375d20b 100644 (file)
@@ -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();