01: package fr.aliacom.common.ui.table;
02:
03: /**
04: * @author tom
05: *
06: * (C) 2001, 2003 Thomas Cataldo
07: */
08: public final class DefaultCellRenderer implements ICellRenderer {
09:
10: /**
11: * @see fr.aliacom.common.ui.table.ICellRenderer#render(Object, Object, ICell)
12: */
13: public void render(Object value, Object javaBean, ICell cell) {
14: if (value == null) {
15: cell.setText("");
16: } else {
17: cell.setText(value.toString());
18: }
19: }
20:
21: }
|