public class ColorEditor extends AbstractCellEditor implements TableCellEditor, ActionListener
Modifier and Type | Field and Description |
---|---|
protected static String |
EDIT |
changeEvent, listenerList
Constructor and Description |
---|
ColorEditor() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Handles events from the editor button and from the dialog's OK button.
|
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 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