public class BooleanCellRenderer extends AbstractCellRenderer
| Modifier and Type | Field and Description |
|---|---|
protected String |
_falseValue
value used if the boolean object is false
|
protected String |
_trueValue
value used if the boolean object is true
|
_alignment| Constructor and Description |
|---|
BooleanCellRenderer() |
| 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.
|
void |
setFalseValue(String falseValue) |
void |
setTrueValue(String trueValue) |
getAlignment, isAligned, renderCell, setAlignmentprotected String _trueValue
protected String _falseValue
public String getCellValue(WebTable table, Object data, int row, int col)
AbstractCellRenderergetCellValue in class AbstractCellRendererpublic void setTrueValue(String trueValue)
public void setFalseValue(String falseValue)
Copyright © 2013 Atlassian. All Rights Reserved.