org.olat.core.gui.components.table
Class CustomCssCellRenderer

java.lang.Object
  extended by org.olat.core.gui.components.table.CustomCssCellRenderer
All Implemented Interfaces:
CustomCellRenderer
Direct Known Subclasses:
RepositoryEntryIconRenderer

public abstract class CustomCssCellRenderer
extends java.lang.Object
implements CustomCellRenderer

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

Initial Date: Nov 13, 2006

Author:
guido

Constructor Summary
CustomCssCellRenderer()
           
 
Method Summary
 void render(StringOutput sb, Renderer renderer, java.lang.Object val, java.util.Locale locale, int alignment, java.lang.String action)
          this method is called by CustomRenderColumnDescriptor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomCssCellRenderer

public CustomCssCellRenderer()
Method Detail

render

public void render(StringOutput sb,
                   Renderer renderer,
                   java.lang.Object val,
                   java.util.Locale locale,
                   int alignment,
                   java.lang.String action)
Description copied from interface: CustomCellRenderer
this method is called by CustomRenderColumnDescriptor.

Specified by:
render in interface CustomCellRenderer
Parameters:
sb - the StringOuput to put the rendering into
renderer - the renderer to use
val - the value from the tablemodel to be rendered.
locale - the locale to use
alignment - the alignment (see ColumnDescriptor.ALIGNMENT...)
action - the action. if not null, then the output should be clickable and produce a command uri with action