public abstract class AbstractCellRenderer extends Object implements CellRenderer
| Modifier and Type | Field and Description |
|---|---|
protected String |
_alignment
used for horizontal cell alignmnet
|
| Constructor and Description |
|---|
AbstractCellRenderer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlignment() |
protected abstract String |
getCellValue(WebTable table,
Object data,
int row,
int col)
this is the method that subclasses need to implement to set their value.
|
protected boolean |
isAligned() |
String |
renderCell(WebTable table,
Object data,
int row,
int col)
implememnts CellRenderer renderCell.
|
void |
setAlignment(String alignment) |
protected String _alignment
protected boolean isAligned()
public String getAlignment()
public void setAlignment(String alignment)
public String renderCell(WebTable table, Object data, int row, int col)
renderCell in interface CellRendererCopyright © 2013 Atlassian. All Rights Reserved.