Home » struts- » org.apache » struts2 » components » table » renderer » [javadoc | source]
public class: NumericCellRenderer [javadoc | source]

All Implemented Interfaces:

Field Summary
 DecimalFormat _formater     
 String _formatString    this is the format string that DecimalFormat would use. 
 String _negativeColor    if set the is the color to use if Number is negative. 
 String _positiveColor    if set this is the color to render if number is positive 
Fields inherited from org.apache.struts2.components.table.renderer.AbstractCellRenderer:
 public NumericCellRenderer() 
Method from org.apache.struts2.components.table.renderer.NumericCellRenderer Summary:
getCellValue,   processNumber,   setFormatString,   setNegativeColor,   setPositiveColor
Methods from org.apache.struts2.components.table.renderer.AbstractCellRenderer:
getAlignment,   getCellValue,   isAligned,   renderCell,   setAlignment
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts2.components.table.renderer.NumericCellRenderer Detail:
 public String getCellValue(WebTable table,
    Object data,
    int row,
    int col) 
 protected  void processNumber(StringBuffer buf,
    String color,
    double cellValue) 
 public  void setFormatString(String format) 
 public  void setNegativeColor(String color) 
 public  void setPositiveColor(String color)