KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > adwt > util > ObjectRenderer


1 /*
2  * EJTools, the Enterprise Java Tools
3  *
4  * Distributable under LGPL license.
5  * See terms of license at www.gnu.org.
6  */

7 package org.ejtools.adwt.util;
8
9 import javax.swing.Icon JavaDoc;
10
11 /**
12  * @author Laurent Etiemble
13  * @version $Revision: 1.3 $
14  */

15 public interface ObjectRenderer
16 {
17    /**
18     * Gets the icon attribute of the ObjectRenderer object
19     *
20     * @param o Description of the Parameter
21     * @return The icon value
22     */

23    public Icon JavaDoc getIcon(Object JavaDoc o);
24
25
26    /**
27     * Gets the label attribute of the ObjectRenderer object
28     *
29     * @param o Description of the Parameter
30     * @return The label value
31     */

32    public String JavaDoc getLabel(Object JavaDoc o);
33 }
34
Popular Tags