|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractCellEditor de.lmu.ifi.dbs.elki.gui.util.ParameterTable.AdjustingEditor
private class ParameterTable.AdjustingEditor
This Editor will adjust to the type of the Option: Sometimes just a plain text editor, sometimes a ComboBox to offer known choices, and sometime a file selector dialog. TODO: class list parameters etc.
Field Summary | |
---|---|
private TableCellEditor |
activeEditor
We need to remember which editor we delegated to, so we know whom to ask for the value entered. |
private ParameterTable.ClassListEditor |
classListEditor
The class list editor |
private ParameterTable.DropdownEditor |
dropdownEditor
The dropdown editor |
private ParameterTable.FileNameEditor |
fileNameEditor
The file selector editor |
private DefaultCellEditor |
plaintextEditor
The plain text cell editor |
private static long |
serialVersionUID
Serial version |
Fields inherited from class javax.swing.AbstractCellEditor |
---|
changeEvent, listenerList |
Constructor Summary | |
---|---|
ParameterTable.AdjustingEditor()
Constructor. |
Method Summary | |
---|---|
Object |
getCellEditorValue()
|
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
|
Methods inherited from class javax.swing.AbstractCellEditor |
---|
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.CellEditor |
---|
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
Field Detail |
---|
private static final long serialVersionUID
private final ParameterTable.DropdownEditor dropdownEditor
private final DefaultCellEditor plaintextEditor
private final ParameterTable.ClassListEditor classListEditor
private final ParameterTable.FileNameEditor fileNameEditor
private TableCellEditor activeEditor
Constructor Detail |
---|
public ParameterTable.AdjustingEditor()
Method Detail |
---|
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |