public class ButtonCellEditor extends AbstractCellEditor implements TableCellEditor
Modifier and Type | Field and Description |
---|---|
(package private) JButton |
button |
private static long |
serialVersionUID |
changeEvent, listenerList
Constructor and Description |
---|
ButtonCellEditor() |
Modifier and Type | Method and Description |
---|---|
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
boolean |
shouldSelectCell(EventObject anEvent) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, stopCellEditing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, stopCellEditing
private static final long serialVersionUID
JButton button
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor
public boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell
in interface CellEditor
shouldSelectCell
in class AbstractCellEditor