public class MyDefaultEditor extends Object implements TableCellEditor
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
| Constructor and Description |
|---|
MyDefaultEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCellEditorListener(CellEditorListener l) |
void |
cancelCellEditing() |
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
boolean |
isCellEditable(EventObject anEvent) |
void |
removeCellEditorListener(CellEditorListener l) |
boolean |
shouldSelectCell(EventObject anEvent) |
boolean |
stopCellEditing() |
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorTableCellEditor.getTableCellEditorComponent(JTable,
Object, boolean, int, int)public void cancelCellEditing()
cancelCellEditing in interface CellEditorCellEditor.cancelCellEditing()public Object getCellEditorValue()
getCellEditorValue in interface CellEditorCellEditor.getCellEditorValue()public boolean isCellEditable(EventObject anEvent)
isCellEditable in interface CellEditorCellEditor.isCellEditable(EventObject)public boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell in interface CellEditorCellEditor.shouldSelectCell(EventObject)public boolean stopCellEditing()
stopCellEditing in interface CellEditorCellEditor.stopCellEditing()public void addCellEditorListener(CellEditorListener l)
addCellEditorListener in interface CellEditorCellEditor.addCellEditorListener(CellEditorListener)public void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener in interface CellEditorCellEditor.removeCellEditorListener(CellEditorListener)Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.