
private class ParameterTable.DropdownEditor extends DefaultCellEditor implements KeyListener
DefaultCellEditor.EditorDelegate| Modifier and Type | Field and Description |
|---|---|
private JComboBox<String> |
comboBox
Combo box to use
|
(package private) JPanel |
panel
We need a panel to ensure focusing.
|
private static long |
serialVersionUID
Serial Version
|
clickCountToStart, delegate, editorComponentchangeEvent, listenerList| Constructor and Description |
|---|
ParameterTable.DropdownEditor(JComboBox<String> comboBox)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
void |
keyPressed(KeyEvent e) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditingaddCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, removeCellEditorListenerprivate static final long serialVersionUID
final JPanel panel
public void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorgetTableCellEditorComponent in class DefaultCellEditorCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.