public class AccountTableCellEditor extends AbstractCellEditor implements TableCellEditor, KeyListener
| Modifier and Type | Field and Description |
|---|---|
protected JWideComboBox |
comboBox |
protected boolean |
keyPressed |
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.
|
void |
keyPressed(KeyEvent e) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
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 JWideComboBox comboBox
protected static final long serialVersionUID
protected volatile boolean keyPressed
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 eventpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerCopyright © 2008–2015 CodeLutin. All rights reserved.