de.ls10.jsf.components.models
Class TagCloudLink
java.lang.Object
de.ls10.jsf.components.models.TagCloudLink
- All Implemented Interfaces:
- java.lang.Comparable<TagCloudLink>
- Direct Known Subclasses:
- TagCloudLinkExternal, TagCloudLinkInternal
public abstract class TagCloudLink
- extends java.lang.Object
- implements java.lang.Comparable<TagCloudLink>
- Author:
- Philip Gerlach ,
Oliver Horst
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
protected java.lang.String value
weight
protected TagCloudLinkImportance weight
enabled
protected boolean enabled
TagCloudLink
public TagCloudLink()
setValue
public void setValue(java.lang.String value)
- The text that should be displayed for this link in the tagcloud.
Usually this is the name of the tag corresponding to this Link.
- Parameters:
value
- Text that should be rendered in the tagcloud.
getValue
public java.lang.String getValue()
setWeight
public void setWeight(TagCloudLinkImportance weight)
- Parameters:
weight
-
getWeight
public TagCloudLinkImportance getWeight()
setEnabled
public void setEnabled(boolean enabled)
- Should the link be clickable?
- Parameters:
enabled
-
true |
The link is rendered as normal link and could be clicked by
the user.
|
false |
The link is rendered as normal text. |
isEnabled
public boolean isEnabled()
compareTo
public int compareTo(TagCloudLink other)
- Implementation of the @link Comparable interface.
- Specified by:
compareTo
in interface java.lang.Comparable<TagCloudLink>
- See Also:
Comparable.compareTo(Object)
Copyright © 2007 University of Dortmund (FB4 / LS10). All Rights Reserved.