public class CheckBoxTableCellEditor extends javax.swing.DefaultCellEditor
Constructor and Description |
---|
CheckBoxTableCellEditor(javax.swing.JTable topTable,
javax.swing.JCheckBox checkBox,
java.util.Vector selectedServiceList,
int topRowNum)
Constructor with serviceList and topRowNum
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
Overwrite the parent class
|
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
public CheckBoxTableCellEditor(javax.swing.JTable topTable, javax.swing.JCheckBox checkBox, java.util.Vector selectedServiceList, int topRowNum)
checkBox
- JCheckBoxselectedServiceList
- VectortopRowNum
- intpublic java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
getTableCellEditorComponent
in class javax.swing.DefaultCellEditor
table
- JTablevalue
- ObjectisSelected
- booleanrow
- intcolumn
- int