info.joseluismartin.gui.table
Class ActionTableCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
info.joseluismartin.gui.table.ActionTableCellEditor
- All Implemented Interfaces:
- ActionListener, Serializable, EventListener, CellEditor, TableCellEditor
public class ActionTableCellEditor
- extends AbstractCellEditor
- implements TableCellEditor, ActionListener
TableCellEditor that execute Actions on clicks. If Action is a TableRowAction set
a TableModel and row on it.
- Author:
- Jose Luis Martin - (jlm@joseluismartin.info)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionTableCellEditor
public ActionTableCellEditor()
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
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
Copyright © 2013 JDAL. All Rights Reserved.