01: /*
02: * MyGWT Widget Library
03: * Copyright(c) 2007, MyGWT.
04: * licensing@mygwt.net
05: *
06: * http://mygwt.net/license
07: */
08: package net.mygwt.ui.client.widget.table;
09:
10: /**
11: * Allows cell values to be modified before being displayed.
12: */
13: public interface CellRenderer {
14:
15: /**
16: * Returns the formatted cell value.
17: *
18: * @param property the property being modified
19: * @param value the property value
20: * @return the new value as HTML
21: */
22: public String render(String property, Object value);
23:
24: }
|