开发者

Is there a standard or open-source tag cloud implementation for SWT?

开发者 https://www.devze.com 2023-01-02 11:24 出处:网络
I need functionality for displaying and allowing selections of tags in SWT. Something that uses space efficiently, and ideally allows scaling of tags.

I need functionality for displaying and allowing selections of tags in SWT. Something that uses space efficiently, and ideally allows scaling of tags.

Is there a tag cloud widget or is there one that is easily available?

The closest that I've been able to come to a tag cloud manually and without too much work is to use a row layout with a button per each tag, but then to merely place a number next to each tag. If I tried to adjust size based on frequency, I would end up with too much open space because each row would have the vertical space of its latest tag. I'm assuming that a tag cloud implementation would use a more speci开发者_JAVA技巧alized layout.


Maybe OpenCloud can move you in the right direction:

http://opencloud.sourceforge.net/

While not swt specific, it is Java and Tag-Cloud specific.

Good Luck.

0

精彩评论

暂无评论...
验证码 换一张
取 消