org.chorem.lima.ui.celleditor
Class EntryBookTableCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by org.chorem.lima.ui.celleditor.EntryBookTableCellEditor
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor

public class EntryBookTableCellEditor
extends AbstractCellEditor
implements TableCellEditor

See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
EntryBookTableCellEditor()
          constructor
 
Method Summary
 Object getCellEditorValue()
           
static EntryBookTableCellEditor getInstance()
           
 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.
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Constructor Detail

EntryBookTableCellEditor

public EntryBookTableCellEditor()
constructor

Method Detail

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:

getInstance

public static EntryBookTableCellEditor getInstance()


Copyright © 2008-2010 CodeLutin. All Rights Reserved.