org.olat.core.gui.components.form.flexible.impl.elements.table
Class CSSIconFlexiCellRenderer

java.lang.Object
  extended by org.olat.core.gui.components.form.flexible.impl.elements.table.CSSIconFlexiCellRenderer
All Implemented Interfaces:
ComponentRenderer, FlexiCellRenderer

public abstract class CSSIconFlexiCellRenderer
extends java.lang.Object
implements FlexiCellRenderer

Description:

Render a cell with an custom css class applied. The hover text is optional

Initial Date: 21.03.2008

Author:
Florian Gnaegi, frentix GmbH, http://www.frentix.com

Constructor Summary
CSSIconFlexiCellRenderer()
           
 
Method Summary
 void render(Renderer renderer, StringOutput target, Component source, URLBuilder ubu, Translator translator, RenderResult renderResult, java.lang.String[] args)
          calls must be threadsafe
 void render(StringOutput target, java.lang.Object cellValue, Translator translator)
          Render Date type with Formatter depending on locale.
 void renderBodyOnLoadJSFunctionCall(Renderer renderer, StringOutput sb, Component source, RenderingState rstate)
          contributes a line to the following code: ...

Specified by:
renderBodyOnLoadJSFunctionCall in interface ComponentRenderer
See Also:
ComponentRenderer.renderBodyOnLoadJSFunctionCall(org.olat.core.gui.render.Renderer, org.olat.core.gui.render.StringOutput, org.olat.core.gui.components.Component, org.olat.core.gui.render.RenderingState)

renderHeaderIncludes

public void renderHeaderIncludes(Renderer renderer,
                                 StringOutput sb,
                                 Component source,
                                 URLBuilder ubu,
                                 Translator translator,
                                 RenderingState rstate)
Specified by:
renderHeaderIncludes in interface ComponentRenderer
See Also:
ComponentRenderer.renderHeaderIncludes(org.olat.core.gui.render.Renderer, org.olat.core.gui.render.StringOutput, org.olat.core.gui.components.Component, org.olat.core.gui.render.URLBuilder, org.olat.core.gui.translator.Translator, org.olat.core.gui.render.RenderingState)

render

public void render(StringOutput target,
                   java.lang.Object cellValue,
                   Translator translator)
Render Date type with Formatter depending on locale. Render all other types with toString.

Specified by:
render in interface FlexiCellRenderer
Parameters:
target -
cellValue -
translator -