01: package com.salmonllc.swing.table;
02:
03: import java.util.EventObject;
04: import javax.swing.DefaultCellEditor;
05: import com.salmonllc.swing.STextField;
06: import com.salmonllc.swing.SComboBox;
07:
08: public class SComponentCellEditor extends DefaultCellEditor {
09:
10: public SComponentCellEditor(STextField field) {
11: super (field);
12: }
13:
14: public SComponentCellEditor(SComboBox field) {
15: super (field);
16: }
17:
18: /**
19: * @see javax.swing.CellEditor#isCellEditable(EventObject)
20: */
21: public boolean isCellEditable(EventObject anEvent) {
22: return true;
23: }
24:
25: }
|