fr.orsay.lri.varna.components
Class ActionEditor
java.lang.Object
javax.swing.AbstractCellEditor
fr.orsay.lri.varna.components.ActionEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor
public class ActionEditor
- extends AbstractCellEditor
- implements TableCellEditor
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_btn
JButton _btn
ActionEditor
public ActionEditor(ActionListener a)
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int rowIndex,
int vColIndex)
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Specified by:
shouldSelectCell
in interface CellEditor
- Overrides:
shouldSelectCell
in class AbstractCellEditor
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditable
in interface CellEditor
- Overrides:
isCellEditable
in class AbstractCellEditor
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interface CellEditor
- Overrides:
stopCellEditing
in class AbstractCellEditor