unbbayes.gui.table
Class RadioButtonCellRenderer

java.lang.Object
  extended by unbbayes.gui.table.RadioButtonCellRenderer
All Implemented Interfaces:
UIResource, TableCellRenderer

public class RadioButtonCellRenderer
extends Object
implements TableCellRenderer, UIResource

Adapted from BooleanRenderer class found in source code of javax.swing.JTable


Constructor Summary
RadioButtonCellRenderer()
           
 
Method Summary
 Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int col)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioButtonCellRenderer

public RadioButtonCellRenderer()
Method Detail

getTableCellRendererComponent

public Component getTableCellRendererComponent(JTable table,
                                               Object value,
                                               boolean isSelected,
                                               boolean hasFocus,
                                               int row,
                                               int col)
Specified by:
getTableCellRendererComponent in interface TableCellRenderer


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.