at.tuwien.ifs.commons.gui.controls.swing.table
Class ButtonCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
at.tuwien.ifs.commons.gui.controls.swing.table.ButtonCellEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor
public class ButtonCellEditor
- extends AbstractCellEditor
- implements TableCellEditor
- Version:
- $Id: ButtonCellEditor.java 3876 2010-11-02 15:10:17Z frank $
- Author:
- Jakob Frank
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
button
JButton button
ButtonCellEditor
public ButtonCellEditor()
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Specified by:
shouldSelectCell
in interface CellEditor
- Overrides:
shouldSelectCell
in class AbstractCellEditor