summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2007-05-28 08:36:36 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2007-05-28 08:36:36 +0000
commit9cd99e5b84e226dd1376a8312141a97651a31d48 (patch)
tree71712a6fe1b9ce9fb71ef41933da399e1e7b2f2a /src
parent0d25841033c108a05a7c3fbf126eba5bf0f8da20 (diff)
downloadvaadin-framework-9cd99e5b84e226dd1376a8312141a97651a31d48.tar.gz
vaadin-framework-9cd99e5b84e226dd1376a8312141a97651a31d48.zip
refactored feature browsers layouts
svn changeset:1502/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/demo/features/FeatureBrowser.java52
-rw-r--r--src/com/itmill/toolkit/demo/features/FeaturesApplication.java3
2 files changed, 53 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/demo/features/FeatureBrowser.java b/src/com/itmill/toolkit/demo/features/FeatureBrowser.java
index 10cfca9004..de29dc9522 100644
--- a/src/com/itmill/toolkit/demo/features/FeatureBrowser.java
+++ b/src/com/itmill/toolkit/demo/features/FeatureBrowser.java
@@ -37,7 +37,7 @@ import com.itmill.toolkit.ui.Button.ClickEvent;
import com.itmill.toolkit.ui.Button.ClickListener;
public class FeatureBrowser extends CustomComponent implements
- Property.ValueChangeListener, ClickListener {
+ Property.ValueChangeListener, ClickListener, Layout {
private Tree features;
@@ -252,4 +252,54 @@ public class FeatureBrowser extends CustomComponent implements
properties.setVisible(((Boolean) propertiesSelect.getValue())
.booleanValue());
}
+
+ public void addComponent(Component c) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void addListener(ComponentAttachListener listener) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void addListener(ComponentDetachListener listener) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public Iterator getComponentIterator() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public void moveComponentsFrom(ComponentContainer source) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void removeAllComponents() {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void removeComponent(Component c) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void removeListener(ComponentAttachListener listener) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void removeListener(ComponentDetachListener listener) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void replaceComponent(Component oldComponent, Component newComponent) {
+ // TODO Auto-generated method stub
+
+ }
}
diff --git a/src/com/itmill/toolkit/demo/features/FeaturesApplication.java b/src/com/itmill/toolkit/demo/features/FeaturesApplication.java
index 070cf9ef4f..1c833e687f 100644
--- a/src/com/itmill/toolkit/demo/features/FeaturesApplication.java
+++ b/src/com/itmill/toolkit/demo/features/FeaturesApplication.java
@@ -38,7 +38,8 @@ public class FeaturesApplication extends com.itmill.toolkit.Application {
setUser(new Long(System.currentTimeMillis()).toString());
Window main = new Window("IT Mill Toolkit Features Tour");
setMainWindow(main);
- main.addComponent(new FeatureBrowser());
+
+ main.setLayout(new FeatureBrowser());
}
/**