01: /*
02: * Copyright 2000,2005 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13: package org.wings.table;
14:
15: import org.wings.SComponent;
16: import org.wings.STable;
17:
18: /**
19: * Cell Renderer for {@link org.wings.STable}. This is similar (almost the same)
20: * to the renderer approach in swing.
21: *
22: * @author <a href="mailto:armin.haaf@mercatis.de">Armin Haaf</a>
23: */
24: public interface STableCellRenderer {
25: SComponent getTableCellRendererComponent(STable table,
26: Object value, boolean isSelected, int row, int column);
27: }
|