public class TableColorButtonColumnEditor extends AbstractCellEditor implements TableCellEditor, ActionListener
Modifier and Type | Field and Description |
---|---|
protected static String |
EDIT |
changeEvent, listenerList
Constructor and Description |
---|
TableColorButtonColumnEditor(DefaultTableModel tableModel,
JTable table) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
protected static final String EDIT
public TableColorButtonColumnEditor(DefaultTableModel tableModel, JTable table)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor