de.lmu.ifi.dbs.elki.gui.util
Class ParameterTable.DropdownEditor
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
de.lmu.ifi.dbs.elki.gui.util.ParameterTable.DropdownEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor, TreeCellEditor
- Enclosing class:
- ParameterTable
private class ParameterTable.DropdownEditor
- extends DefaultCellEditor
Editor using a Dropdown box to offer known values to choose from.
- Author:
- Erich Schubert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Serial Version
- See Also:
- Constant Field Values
comboBox
private final JComboBox comboBox
- Combo box to use
ParameterTable.DropdownEditor
public ParameterTable.DropdownEditor(JComboBox comboBox)
- Constructor.
- Parameters:
comboBox
- Combo box we're going to use
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
- Overrides:
getTableCellEditorComponent
in class DefaultCellEditor