|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.tagcloud.AbstractTagCloudFactory
public abstract class AbstractTagCloudFactory
Base implementation of the TagCloudFactory
interface.
Field Summary | |
---|---|
protected int |
maxTagsToDisplay The maximum number of tags to display. |
protected double |
maxWeight The maximum weight for the font. |
protected double |
minWeight The minimum weight for the font. |
protected boolean |
useJavaReservedWordsFilter The filter removes Java reserved words from the tag cloud. |
protected boolean |
useUsualWordsFilter The filter removes usual Java words from the tag cloud. |
protected String[] |
wordsToFilter The list of words to be removed from the tag cloud. |
Constructor Summary | |
---|---|
protected |
AbstractTagCloudFactory() Default constructor. |
Method Summary | |
---|---|
void |
setMaxTagsToDisplay(int maxTagsToDisplay) The maximum number of tags to display. |
void |
setMaxWeight(double maxWeight) Sets the maximum weight for the font. |
void |
setMinWeight(double minWeight) Sets the minimum weight for the font. |
void |
setUseJavaReservedWordsFilter(boolean useJavaReservedWordsFilter) Activates the filter that removes Java reserved words from the tag cloud. |
void |
setUseUsualWordsFilter(boolean useUsualWordsFilter) Activates the filter that removes usual Java words from the tag cloud. |
void |
setWordsToFilter(String[] wordsToFilter) Sets the list of words to be removed from the tag cloud. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.smartics.tagcloud.TagCloudFactory |
---|
createJavaCloud, createTextCloud |
Field Detail |
---|
protected double minWeight
protected double maxWeight
protected int maxTagsToDisplay
protected boolean useJavaReservedWordsFilter
protected boolean useUsualWordsFilter
protected String[] wordsToFilter
Constructor Detail |
---|
protected AbstractTagCloudFactory()
Method Detail |
---|
public void setMinWeight(double minWeight)
setMinWeight
in interface
TagCloudFactory
TagCloudFactory.setMinWeight(double)
public void setMaxWeight(double maxWeight)
setMaxWeight
in interface
TagCloudFactory
maxWeight
- the maximum weight for the font.
TagCloudFactory.setMaxWeight(double)
public void setMaxTagsToDisplay(int maxTagsToDisplay)
setMaxTagsToDisplay
in interface
TagCloudFactory
maxTagsToDisplay
- the maximum number of tags to display.
TagCloudFactory.setMaxTagsToDisplay(int)
public void setUseJavaReservedWordsFilter(boolean useJavaReservedWordsFilter)
setUseJavaReservedWordsFilter
in interface
TagCloudFactory
useJavaReservedWordsFilter
-
true
to activate.
TagCloudFactory.setUseJavaReservedWordsFilter(boolean)
public void setUseUsualWordsFilter(boolean useUsualWordsFilter)
setUseUsualWordsFilter
in interface
TagCloudFactory
useUsualWordsFilter
-
true
to activate.
TagCloudFactory.setUseUsualWordsFilter(boolean)
public void setWordsToFilter(String[] wordsToFilter)
setWordsToFilter
in interface
TagCloudFactory
wordsToFilter
- the list of words to be removed from the tag cloud.
TagCloudFactory.setWordsToFilter(java.lang.String[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |