public class MemberRoleCellEditor extends AbstractCellEditor implements TableCellEditor
Modifier and Type | Field and Description |
---|---|
private AutoCompletionList |
autoCompletionList
user input is matched against this list of auto completion items
|
private DataSet |
ds |
private AutoCompletingTextField |
editor |
private Relation |
relation |
changeEvent, listenerList
Constructor and Description |
---|
MemberRoleCellEditor(DataSet ds,
Relation relation)
Constructs a new
MemberRoleCellEditor . |
Modifier and Type | Method and Description |
---|---|
Object |
getCellEditorValue() |
AutoCompletingTextField |
getEditor()
Returns the edit field for this cell editor.
|
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
private final AutoCompletingTextField editor
private final AutoCompletionList autoCompletionList
public MemberRoleCellEditor(DataSet ds, Relation relation)
MemberRoleCellEditor
.ds
- the data set. Must not be nullrelation
- the relation. Can be nullpublic Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public AutoCompletingTextField getEditor()