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, editorComponent
changeEvent, 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, stopCellEditing
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, removeCellEditorListener
private static final long serialVersionUID
final JPanel panel
public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor
getTableCellEditorComponent
in class DefaultCellEditor
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.