de.ls10.jsf.components.models
Class DefaultTagCloudModel
java.lang.Object
de.ls10.jsf.components.models.DefaultTagCloudModel
- All Implemented Interfaces:
- TagCloudModel
public abstract class DefaultTagCloudModel
- extends java.lang.Object
- implements TagCloudModel
A default abstract implementation of TagCloudModel
.
Inheriting models have to implement the update method.
- Author:
- Philip Gerlach ,
Oliver Horst
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tags
protected java.util.List<TagCloudLink> tags
DefaultTagCloudModel
public DefaultTagCloudModel()
addTag
public void addTag(TagCloudLink tag)
- Description copied from interface:
TagCloudModel
- Add the given tag/link to the model.
- Specified by:
addTag
in interface TagCloudModel
removeTag
public void removeTag(TagCloudLink tag)
- Description copied from interface:
TagCloudModel
- Remove the given tag/link from the model.
- Specified by:
removeTag
in interface TagCloudModel
getTags
public java.util.List<TagCloudLink> getTags()
- Description copied from interface:
TagCloudModel
- Get the list of all tags/links of the model.
- Specified by:
getTags
in interface TagCloudModel
- Returns:
- alphabetically sorted list of all tags added to this model.
removeAllTags
public void removeAllTags()
- Description copied from interface:
TagCloudModel
- Remove all tags/links from the model.
- Specified by:
removeAllTags
in interface TagCloudModel
Copyright © 2007 University of Dortmund (FB4 / LS10). All Rights Reserved.