private class TagCloudOnTagsGenerator.TagTagCloudItem extends Object implements AbstractTagCloudGenerator.TagCloudItem
Modifier and Type | Field and Description |
---|---|
private int |
_occurence |
private int |
_position |
private Tag |
_tag |
Constructor and Description |
---|
TagTagCloudItem(int occurence,
Tag tag,
int position)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getOccurrenceCount()
Returns the number of occurrence
|
int |
getPosition()
Get the original position.
|
Tag |
getTag()
Returns the tag
|
I18nizableText |
getWord()
Get the tag cloud word to display
|
private int _occurence
private int _position
public TagTagCloudItem(int occurence, Tag tag, int position)
occurence
- the number of occurencetag
- the tagposition
- the item original position.public 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