GWT SuggestBox + ListBox Widget [英] GWT SuggestBox + ListBox Widget

查看:114
本文介绍了GWT SuggestBox + ListBox Widget的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个列表框,它可以提供给我建议。我需要实现的确切事情是浏览器导航窗口小部件,我们输入网站地址。实现的功能如下所示

I would like to create a List Box which can provide me suggestions.The exact thing which i need to implement is the browsers navigation widget where we type in the website address.The functionality to implement is like this

当我们点击向下箭头时,我的列表框应该提供给我以前导航的URL列表。
当我们继续输入内容时,小部件应该提供给我建议。

when we click on the down arrow ,my list box should provide me the list of previously navigated URLS. Also when we go ahead and type something,the widget should provide me suggestions.

关于如何实现这个小部件的任何建议都会非常棒。

Any suggestions on how to implement this widget would be really great.

谢谢

Thanks

推荐答案

My SimpleGWT 项目的组合框小部件应该非常接近您所描述的内容。不过,我会提醒你,它是几年前写的,并没有跟上最新的GWT版本。此外,它需要对SuggestBox类进行一些更改才能打开我需要的API。考虑到这一切,它是Apache 2授权的开放源代码,所以即使你不能像现在这样使用它,它仍应该对你实现自己的解决方案有用。在项目网站上欢迎反馈。

My SimpleGWT project's ComboBox widget should be very close to what you describe. However, I would warn you that it was written a couple of years back and hasn't been kept up to date with the latest GWT version. Also, it required a few changes to the SuggestBox class to open up the API that I need. With all that in mind, it is Apache 2 licensed Open Source so it should still be useful to you in implementing your own solution even if you can't use it as it is. Feedback is welcome on the project site.

这篇关于GWT SuggestBox + ListBox Widget的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆