summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/CustomLayout.java
diff options
context:
space:
mode:
authorMarc Englund <marc.englund@itmill.com>2010-01-13 10:40:14 +0000
committerMarc Englund <marc.englund@itmill.com>2010-01-13 10:40:14 +0000
commit2342d517d8d53a51ef47db82b3558d2b850b027e (patch)
tree4a26303dacaf0a7a592f0c6f72f6127f3985fb85 /src/com/vaadin/ui/CustomLayout.java
parent0ec3379ac00df225766aedb53072839eefd260f8 (diff)
downloadvaadin-framework-2342d517d8d53a51ef47db82b3558d2b850b027e.tar.gz
vaadin-framework-2342d517d8d53a51ef47db82b3558d2b850b027e.zip
Somewhat better debug message when customlayout is missing + javadoc. Fixes #3984
svn changeset:10705/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/ui/CustomLayout.java')
-rw-r--r--src/com/vaadin/ui/CustomLayout.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/com/vaadin/ui/CustomLayout.java b/src/com/vaadin/ui/CustomLayout.java
index 0baa0dd468..cae427763c 100644
--- a/src/com/vaadin/ui/CustomLayout.java
+++ b/src/com/vaadin/ui/CustomLayout.java
@@ -4,16 +4,16 @@
package com.vaadin.ui;
+import com.vaadin.terminal.PaintException;
+import com.vaadin.terminal.PaintTarget;
+import com.vaadin.terminal.gwt.client.ui.VCustomLayout;
+
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Iterator;
-import com.vaadin.terminal.PaintException;
-import com.vaadin.terminal.PaintTarget;
-import com.vaadin.terminal.gwt.client.ui.VCustomLayout;
-
/**
* <p>
* A container component with freely designed layout and style. The layout
@@ -90,7 +90,10 @@ public class CustomLayout extends AbstractLayout {
/**
* Constructor for custom layout with given template name. Template file is
- * fetched from "<theme>/layout/<templateName>".
+ * fetched from VAADIN/themes/themename/layouts/templatename.html - see
+ * {@link #setTemplateName(String)} for details.
+ *
+ * @see #setTemplateName(String)
*/
public CustomLayout(String template) {
templateName = template;