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 TableCellEditor
TableCellEditor.getTableCellEditorComponent(JTable,
Object, boolean, int, int)
public void cancelCellEditing()
cancelCellEditing
in interface CellEditor
CellEditor.cancelCellEditing()
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
CellEditor.getCellEditorValue()
public boolean isCellEditable(EventObject anEvent)
isCellEditable
in interface CellEditor
CellEditor.isCellEditable(EventObject)
public boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell
in interface CellEditor
CellEditor.shouldSelectCell(EventObject)
public boolean stopCellEditing()
stopCellEditing
in interface CellEditor
CellEditor.stopCellEditing()
public void addCellEditorListener(CellEditorListener l)
addCellEditorListener
in interface CellEditor
CellEditor.addCellEditorListener(CellEditorListener)
public void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener
in interface CellEditor
CellEditor.removeCellEditorListener(CellEditorListener)
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.