org.chorem.lima.ui.celleditor
Class AccountTableCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
org.chorem.lima.ui.celleditor.AccountTableCellEditor
- All Implemented Interfaces:
- KeyListener, Serializable, EventListener, CellEditor, TableCellEditor
public class AccountTableCellEditor
- extends AbstractCellEditor
- implements TableCellEditor, KeyListener
- See Also:
- Serialized Form
|
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
AccountTableCellEditor
public AccountTableCellEditor()
- constructor
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent in interface TableCellEditor
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue in interface CellEditor
isCellEditable
public 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.
- Specified by:
isCellEditable in interface CellEditor- Overrides:
isCellEditable in class AbstractCellEditor
- Parameters:
evt -
- Returns:
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed in interface KeyListener
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased in interface KeyListener
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped in interface KeyListener
getInstance
public static AccountTableCellEditor getInstance()
Copyright © 2008-2010 CodeLutin. All Rights Reserved.