001/**
002 * RadioButtonTableRenderer.java
003 * jCOLIBRI2 framework. 
004 * @author Juan A. Recio-Garc�a.
005 * GAIA - Group for Artificial Intelligence Applications
006 * http://gaia.fdi.ucm.es
007 * 02/11/2007
008 */
009package es.ucm.fdi.gaia.jcolibri.extensions.recommendation.casesDisplay.utils;
010
011import java.awt.Component;
012
013import javax.swing.JTable;
014import javax.swing.table.TableCellRenderer;
015
016/**
017 * Utility class for showing radio buttons in a table
018 * @author Juan A. Recio-Garcia
019 * @author Developed at University College Cork (Ireland) in collaboration with Derek Bridge.
020 * @version 1.0
021 *
022 */
023public class RadioButtonTableRenderer implements TableCellRenderer 
024{
025
026        public Component getTableCellRendererComponent(JTable arg0, Object value, boolean arg2, boolean arg3, int arg4, int arg5)
027        {
028            if (value == null)
029                      return null;
030            return (Component) value;
031        }
032
033}