KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > wings > table > STableCellRenderer


1 /*
2  * $Id: STableCellRenderer.java,v 1.3 2004/12/01 07:54:28 hengels Exp $
3  * Copyright 2000,2005 wingS development team.
4  *
5  * This file is part of wingS (http://www.j-wings.org).
6  *
7  * wingS is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License
9  * as published by the Free Software Foundation; either version 2.1
10  * of the License, or (at your option) any later version.
11  *
12  * Please see COPYING for the complete licence.
13  */

14 package org.wings.table;
15
16 import org.wings.SComponent;
17 import org.wings.STable;
18
19 /**
20  * Cell Renderer for {@link org.wings.STable}. This is similar (almost the same)
21  * to the renderer approach in swing.
22  *
23  * @author <a HREF="mailto:armin.haaf@mercatis.de">Armin Haaf</a>
24  * @version $Revision: 1.3 $
25  */

26 public interface STableCellRenderer {
27     SComponent getTableCellRendererComponent(STable table,
28                                              Object JavaDoc value,
29                                              boolean isSelected,
30                                              int row,
31                                              int column);
32 }
33
34
35
Popular Tags