public class MemberRoleCellEditor extends javax.swing.AbstractCellEditor implements javax.swing.table.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 |
Constructor and Description |
---|
MemberRoleCellEditor(DataSet ds,
Relation relation)
Constructs a new
MemberRoleCellEditor . |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getCellEditorValue() |
AutoCompletingTextField |
getEditor()
Returns the edit field for this cell editor.
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
private AutoCompletingTextField editor
private AutoCompletionList autoCompletionList
public MemberRoleCellEditor(DataSet ds, Relation relation)
MemberRoleCellEditor
.ds
- the data set. Must not be nullrelation
- the relation. Can be nullpublic java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
public java.lang.Object getCellEditorValue()
getCellEditorValue
in interface javax.swing.CellEditor
public AutoCompletingTextField getEditor()