public static class VersionTable.RadioButtonEditor extends DefaultCellEditor implements ItemListener
DefaultCellEditor.EditorDelegate
Modifier and Type | Field and Description |
---|---|
private JRadioButton |
btn |
clickCountToStart, delegate, editorComponent
changeEvent, listenerList
Constructor and Description |
---|
VersionTable.RadioButtonEditor()
Constructs a new
RadioButtonEditor . |
Modifier and Type | Method and Description |
---|---|
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
void |
itemStateChanged(ItemEvent e) |
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, removeCellEditorListener
private JRadioButton btn
public VersionTable.RadioButtonEditor()
RadioButtonEditor
.public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor
getTableCellEditorComponent
in class DefaultCellEditor
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
getCellEditorValue
in class DefaultCellEditor
public void itemStateChanged(ItemEvent e)
itemStateChanged
in interface ItemListener