pt.uminho.generic.genericpanel.buttons
Class JCheckBoxEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by pt.uminho.generic.genericpanel.buttons.JCheckBoxEditor
All Implemented Interfaces:
java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor

public class JCheckBoxEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor

See Also:
Serialized Form

Constructor Summary
JCheckBoxEditor(java.awt.event.ActionListener lister)
           
 
Method Summary
 java.lang.Object getCellEditorValue()
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int col)
           
 boolean isCellEditable(java.util.EventObject arg0)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, getCellEditorListeners, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Constructor Detail

JCheckBoxEditor

public JCheckBoxEditor(java.awt.event.ActionListener lister)
Method Detail

getCellEditorValue

public java.lang.Object getCellEditorValue()
Specified by:
getCellEditorValue in interface javax.swing.CellEditor

isCellEditable

public boolean isCellEditable(java.util.EventObject arg0)
Specified by:
isCellEditable in interface javax.swing.CellEditor
Overrides:
isCellEditable in class javax.swing.AbstractCellEditor

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int row,
                                                      int col)
Specified by:
getTableCellEditorComponent in interface javax.swing.table.TableCellEditor