org.olat.core.gui.components.table
Class CustomCssCellRenderer
java.lang.Object
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
|
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 |
CustomCssCellRenderer
public CustomCssCellRenderer()
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 intorenderer - the renderer to useval - the value from the tablemodel to be rendered.locale - the locale to usealignment - the alignment (see ColumnDescriptor.ALIGNMENT...)action - the action. if not null, then the output should be clickable
and produce a command uri with action