diff options
author | Julien Dramaix <julien.dramaix@gmail.com> | 2011-03-07 10:11:25 +0000 |
---|---|---|
committer | Julien Dramaix <julien.dramaix@gmail.com> | 2011-03-07 10:11:25 +0000 |
commit | bd05577a99a52d7d43f74a1f3f50663e4fb5cc5a (patch) | |
tree | 9a27100bb3916eb36648b7ff5e45595ad24adba8 /samples | |
parent | 306166413392b5d30ca6d85b6cf79aeadb7e67cb (diff) | |
download | gwtquery-bd05577a99a52d7d43f74a1f3f50663e4fb5cc5a.tar.gz gwtquery-bd05577a99a52d7d43f74a1f3f50663e4fb5cc5a.zip |
add suggestbox in widget plugin
Diffstat (limited to 'samples')
-rw-r--r-- | samples/src/main/java/gwtquery/samples/client/GwtQueryWidgetModule.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/src/main/java/gwtquery/samples/client/GwtQueryWidgetModule.java b/samples/src/main/java/gwtquery/samples/client/GwtQueryWidgetModule.java index 63f8cf5e..4f01d103 100644 --- a/samples/src/main/java/gwtquery/samples/client/GwtQueryWidgetModule.java +++ b/samples/src/main/java/gwtquery/samples/client/GwtQueryWidgetModule.java @@ -24,6 +24,7 @@ import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.query.client.plugins.widgets.WidgetInitializer;
import com.google.gwt.query.client.plugins.widgets.ListBoxWidgetFactory.ListBoxOptions;
+import com.google.gwt.query.client.plugins.widgets.SuggestBoxWidgetFactory.SuggestBoxOptions;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.PopupPanel;
@@ -63,6 +64,8 @@ public class GwtQueryWidgetModule implements EntryPoint { $("#disclosure").as(Widgets).disclosurePanel();
$(".list").as(Widgets).listBox();
$("#multiSelect").as(Widgets).listBox(new ListBoxOptions(".item", true));
+ $("#suggestBox1").as(Widgets).suggestBox(new SuggestBoxOptions("div"));
+ $("#suggestBox2").as(Widgets).suggestBox(new SuggestBoxOptions("li"));
}
}
|