public class GenericCellEditor extends DefaultCellEditor
Constructor and Description |
---|
GenericCellEditor(Class fallbackType) |
GenericCellEditor(Class fallbackType,
boolean allowEmptyString) |
Modifier and Type | Method and Description |
---|---|
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
boolean |
stopCellEditing() |
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell
addCellEditorListener, getCellEditorListeners, removeCellEditorListener
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, removeCellEditorListener
public GenericCellEditor(Class fallbackType)
public GenericCellEditor(Class fallbackType, boolean allowEmptyString)
public boolean stopCellEditing()
stopCellEditing
in interface CellEditor
stopCellEditing
in class DefaultCellEditor
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