unbbayes.gui.table
Class RadioButtonCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
unbbayes.gui.table.RadioButtonCellEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor
public class RadioButtonCellEditor
- extends AbstractCellEditor
- implements TableCellEditor
Adapted from source code of javax.swing.DefaultCellEditor
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clickCountToStart
protected int clickCountToStart
RadioButtonCellEditor
public RadioButtonCellEditor()
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int col)
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
getComponent
public Component getComponent()
getClickCountToStart
public int getClickCountToStart()
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditable
in interface CellEditor
- Overrides:
isCellEditable
in class AbstractCellEditor
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Specified by:
shouldSelectCell
in interface CellEditor
- Overrides:
shouldSelectCell
in class AbstractCellEditor
stopCellEditing
public boolean stopCellEditing(EventObject anEvent)
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing
in interface CellEditor
- Overrides:
cancelCellEditing
in class AbstractCellEditor
Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.