com.opensymphony.webwork.components.table.renderer
Class DateCellRenderer

java.lang.Object
  extended by com.opensymphony.webwork.components.table.renderer.AbstractCellRenderer
      extended by com.opensymphony.webwork.components.table.renderer.DateCellRenderer
All Implemented Interfaces:
CellRenderer

public class DateCellRenderer
extends AbstractCellRenderer

Version:
$Revision: 1282 $
Author:
$author$

Field Summary
 
Fields inherited from class com.opensymphony.webwork.components.table.renderer.AbstractCellRenderer
_alignment
 
Constructor Summary
DateCellRenderer()
           
 
Method Summary
 String getCellValue(WebTable table, Object data, int row, int col)
          this is the method that subclasses need to implement to set their value.
 void setFormatString(String format)
           
 
Methods inherited from class com.opensymphony.webwork.components.table.renderer.AbstractCellRenderer
getAlignment, isAligned, renderCell, setAlignment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateCellRenderer

public DateCellRenderer()
Method Detail

getCellValue

public String getCellValue(WebTable table,
                           Object data,
                           int row,
                           int col)
Description copied from class: AbstractCellRenderer
this is the method that subclasses need to implement to set their value. they should not override renderCell unless they want to change the alignmnent renderering

Specified by:
getCellValue in class AbstractCellRenderer

setFormatString

public void setFormatString(String format)

WebWork Project Page