public class AccountTableCellEditor extends AbstractCellEditor implements TableCellEditor
| Modifier and Type | Field and Description |
|---|---|
protected AccountComboBox |
accountComboBox |
protected static org.apache.commons.logging.Log |
log |
protected static long |
serialVersionUID |
changeEvent, listenerList| Constructor and Description |
|---|
AccountTableCellEditor()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
boolean |
isCellEditable(EventObject evt)
Vérifie si la cellule peut être éditable :
seulement si il y a une frappe au clavier ou un double clic.
|
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell, stopCellEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCell, stopCellEditingprotected static final org.apache.commons.logging.Log log
protected final AccountComboBox accountComboBox
protected static final long serialVersionUID
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic boolean isCellEditable(EventObject evt)
isCellEditable in interface CellEditorisCellEditable in class AbstractCellEditorevt - the eventCopyright © 2008–2015 CodeLutin. All rights reserved.