|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.tagcloud.cavallo.CavalloCloudAdapter
public class CavalloCloudAdapter
An adaptor for the tag cloud implementation opencloud by Marco Cavallo.
Constructor Summary | |
---|---|
CavalloCloudAdapter(Locale locale, int maxTagsToDisplay, double minWeight, double maxWeight) Default constructor. |
Method Summary | |
---|---|
void |
addOutputFilter(org.mcavallo.opencloud.filters.TagFilter filter) Adds the given output filter. |
void |
addTag(String tag) |
void |
clear() |
List<Tag> |
getTags() |
String |
toHtml() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CavalloCloudAdapter(Locale locale, int maxTagsToDisplay, double minWeight, double maxWeight)
locale
- the locale to pass to the implementation.
maxTagsToDisplay
- the maximum number of tags to display.
minWeight
- the minimum font weight of a tag displayed.
maxWeight
- the maximum font weight of a tag displayed.
Method Detail |
---|
public void addTag(String tag)
addTag
in interface
TagCloud
TagCloud.addTag(java.lang.String)
public String toHtml()
toHtml
in interface
TagCloud
TagCloud.toHtml()
public void addOutputFilter(org.mcavallo.opencloud.filters.TagFilter filter)
filter
- the filter to add.
public void clear()
clear
in interface
TagCloud
TagCloud.clear()
public List<Tag> getTags()
getTags
in interface
TagCloud
TagCloud.getTags()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |