private class TagCloudOnWordsGenerator.WordTagCloudItem extends Object implements AbstractTagCloudGenerator.TagCloudItem
Modifier and Type | Field and Description |
---|---|
private String |
_keyword |
private int |
_occurrence |
private int |
_position |
Constructor and Description |
---|
WordTagCloudItem(int occurrence,
String keyword,
int position)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getOccurrenceCount()
Returns the number of occurrence
|
int |
getPosition()
Get the original position.
|
I18nizableText |
getWord()
Get the tag cloud word to display
|
private int _occurrence
private int _position
public WordTagCloudItem(int occurrence, String keyword, int position)
occurrence
- the number of occurrencekeyword
- the keywordposition
- the original positionpublic I18nizableText getWord()
AbstractTagCloudGenerator.TagCloudItem
getWord
in interface AbstractTagCloudGenerator.TagCloudItem
public int getOccurrenceCount()
AbstractTagCloudGenerator.TagCloudItem
getOccurrenceCount
in interface AbstractTagCloudGenerator.TagCloudItem
public int getPosition()
AbstractTagCloudGenerator.TagCloudItem
getPosition
in interface AbstractTagCloudGenerator.TagCloudItem