aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2007-06-08 08:22:13 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2007-06-08 08:22:13 +0000
commit21f1d95d19e869933363a4878ecc3c2007cf812d (patch)
treeba16ecaee1fcce08632edde66fa45968771ffee1 /src
parent3d9e3b67a312f5e111d2a0e6ed72a261cc227765 (diff)
downloadvaadin-framework-21f1d95d19e869933363a4878ecc3c2007cf812d.tar.gz
vaadin-framework-21f1d95d19e869933363a4878ecc3c2007cf812d.zip
added text field
svn changeset:1650/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/DefaultWidgetFactory.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/DefaultWidgetFactory.java b/src/com/itmill/toolkit/terminal/gwt/client/DefaultWidgetFactory.java
index bcd46f315a..eb5ed6e852 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/DefaultWidgetFactory.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/DefaultWidgetFactory.java
@@ -9,6 +9,7 @@ import com.itmill.toolkit.terminal.gwt.client.ui.TkOrderedLayout;
import com.itmill.toolkit.terminal.gwt.client.ui.TkPanel;
import com.itmill.toolkit.terminal.gwt.client.ui.TkSelect;
import com.itmill.toolkit.terminal.gwt.client.ui.TkTabsheet;
+import com.itmill.toolkit.terminal.gwt.client.ui.TkTextField;
import com.itmill.toolkit.terminal.gwt.client.ui.TkTree;
import com.itmill.toolkit.terminal.gwt.client.ui.TkUnknownComponent;
import com.itmill.toolkit.terminal.gwt.client.ui.TkWindow;
@@ -31,12 +32,14 @@ public class DefaultWidgetFactory implements WidgetFactory {
return new TkTree();
if ("select".equals(tag))
return new TkSelect();
- if ("panel".equals(tag))
+ if ("panel".equals(tag) || "component".equals(tag))
return new TkPanel();
if ("tabsheet".equals(tag))
return new TkTabsheet();
if ("embedded".equals(tag))
return new TkEmbedded();
+ if ("textfield".equals(tag))
+ return new TkTextField();
return new TkUnknownComponent();
}