public class NumericCellRenderer extends AbstractCellRenderer
_alignment| Constructor and Description |
|---|
NumericCellRenderer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCellValue(WebTable table,
Object data,
int row,
int col)
this is the method that subclasses need to implement to set their value.
|
protected void |
processNumber(StringBuffer buf,
String color,
double cellValue) |
void |
setFormatString(String format) |
void |
setNegativeColor(String color) |
void |
setPositiveColor(String color) |
getAlignment, isAligned, renderCell, setAlignmentpublic String getCellValue(WebTable table, Object data, int row, int col)
AbstractCellRenderergetCellValue in class AbstractCellRendererprotected void processNumber(StringBuffer buf, String color, double cellValue)
public void setPositiveColor(String color)
public void setNegativeColor(String color)
public void setFormatString(String format)
Copyright © 2013 Atlassian. All Rights Reserved.