org.apache.struts2.components.table.renderer
Class DateCellRenderer
java.lang.Object
org.apache.struts2.components.table.renderer.AbstractCellRenderer
org.apache.struts2.components.table.renderer.DateCellRenderer
- All Implemented Interfaces:
- CellRenderer
public class DateCellRenderer
- extends AbstractCellRenderer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_formater
SimpleDateFormat _formater
_formatString
String _formatString
- this is the string that SimpleDateFormat needs to display the date
- See Also:
SimpleDateFormat
DateCellRenderer
public DateCellRenderer()
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)
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.