1 /*2 * EJTools, the Enterprise Java Tools3 *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 ;10 11 /**12 * @author Laurent Etiemble13 * @version $Revision: 1.3 $14 */15 public interface ObjectRenderer16 {17 /**18 * Gets the icon attribute of the ObjectRenderer object19 *20 * @param o Description of the Parameter21 * @return The icon value22 */23 public Icon getIcon(Object o);24 25 26 /**27 * Gets the label attribute of the ObjectRenderer object28 *29 * @param o Description of the Parameter30 * @return The label value31 */32 public String getLabel(Object o);33 }34