KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > table > CellRenderer


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.wcf.table;
14
15 import org.w3c.dom.Element JavaDoc;
16
17 import com.tonbeller.wcf.controller.RequestContext;
18 import com.tonbeller.wcf.format.FormatException;
19
20 /**
21  * renders the content of a cell. If you create your own renderer, you put it into
22  * the TableColumn object for the column.
23  */

24 public interface CellRenderer {
25   public void render(RequestContext context, Element JavaDoc td, Object JavaDoc cell) throws FormatException;
26 }
27
Popular Tags