de.ls10.jsf.components
Class UITagCloud

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by de.ls10.jsf.components.UITagCloud
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
HtmlTagCloud

public class UITagCloud
extends javax.faces.component.UIComponentBase

This component represents an tagcloud for JSF.

Author:
Philip Gerlach , Oliver Horst

Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
UITagCloud()
          Standard constructor.
 
Method Summary
 java.lang.String getFamily()
          Retrieves the component family of this component.
 TagCloudModel getModel()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
          
 java.lang.Object saveState(javax.faces.context.FacesContext context)
          
 void setModel(TagCloudModel model)
          Sets the model for the tagcloud.
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

public static java.lang.String COMPONENT_FAMILY

RENDERER_TYPE

public static java.lang.String RENDERER_TYPE
Constructor Detail

UITagCloud

public UITagCloud()
Standard constructor. This constructor sets the RenderType of this component and initializes the model with null.

See Also:
UIComponent.setRendererType(String), RENDERER_TYPE
Method Detail

setModel

public void setModel(TagCloudModel model)
Sets the model for the tagcloud.

Parameters:
model - This model contains the actual information about the tags/links that should be rendered as tagcloud. This model is dynamically evaluated to create/render the child components of this component.

getModel

public TagCloudModel getModel()

getFamily

public java.lang.String getFamily()
Retrieves the component family of this component.

Specified by:
getFamily in class javax.faces.component.UIComponent
Returns:
The component family of this component.
See Also:
UIComponent.getFamily(), COMPONENT_FAMILY

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)

Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)

Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase


Copyright © 2007 University of Dortmund (FB4 / LS10). All Rights Reserved.