
private class ParameterTable.ClassListEditor extends AbstractCellEditor implements TableCellEditor, ActionListener, KeyListener
| Modifier and Type | Field and Description |
|---|---|
(package private) JButton |
button
The button to open the file selector
|
private TreeModel |
model
Tree model
|
private Parameter<?> |
option
Parameter we are currently editing.
|
(package private) JPanel |
panel
We need a panel to put our components on.
|
(package private) TreePopup |
popup
The popup menu.
|
private static long |
serialVersionUID
Serial version number
|
(package private) JTextField |
textfield
Text field to store the name
|
changeEvent, listenerList| Constructor and Description |
|---|
ParameterTable.ClassListEditor()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
Callback to show the popup menu
|
Object |
getCellEditorValue()
Delegate getCellEditorValue to the text field.
|
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
Apply the Editor for a selected option.
|
void |
keyPressed(KeyEvent e) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingprivate static final long serialVersionUID
final JPanel panel
final JTextField textfield
final JButton button
final TreePopup popup
private TreeModel model
private Parameter<?> option
public ParameterTable.ClassListEditor()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic 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 TableCellEditorCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.