Open GoogleCodeExporter opened 9 years ago
Some example code that makes a tag cloud with 1 word in it.
private TagCloud generateTagCloud(String tags){
String word = "hi";
int frequency = 5;
TagCloud temp = new TagCloud();
WordTag example = new WordTag(word);
example.setNumberOfOccurences(frequency);
temp.addWord(example);
return temp;
}
That functions returns a tagCloud, which is a gwt widget (so you can use it
anywhere you'd put a widget).
Original comment by rebecca....@gmail.com
on 4 Apr 2011 at 2:22
Original issue reported on code.google.com by
schreibe...@gmail.com
on 9 Jul 2010 at 1:44