public class CellEditorForAttributeTable extends Object implements TableCellEditor
| Modifier and Type | Field and Description |
|---|---|
protected TableCellEditor |
defaultEditor |
protected TableCellEditor |
editor |
protected Hashtable |
editors |
| Constructor and Description |
|---|
CellEditorForAttributeTable(JTable table,
JComboBox combo) |
| 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) |
protected void |
selectEditor(MouseEvent e) |
void |
setEditorAt(int row,
TableCellEditor editor) |
boolean |
shouldSelectCell(EventObject anEvent) |
boolean |
stopCellEditing() |
protected Hashtable editors
protected TableCellEditor editor
protected TableCellEditor defaultEditor
public void setEditorAt(int row,
TableCellEditor editor)
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic boolean stopCellEditing()
stopCellEditing in interface CellEditorpublic void cancelCellEditing()
cancelCellEditing in interface CellEditorpublic boolean isCellEditable(EventObject anEvent)
isCellEditable in interface CellEditorpublic void addCellEditorListener(CellEditorListener l)
addCellEditorListener in interface CellEditorpublic void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener in interface CellEditorpublic boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell in interface CellEditorprotected void selectEditor(MouseEvent e)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.